473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to enable get/post in IIS7 asp.net 2.0

econVictim
I have a standard html form in my master page. The form uses the GET method. When I submit the form, nothing is appended to the URL. I am assuming that this feature is disabled somewhere somehow. I have read a few articles that describe how to enable the features in the web.xml and so I've gone ahead and done it and my web.xml looks like

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3.     <system.net>
  4.     </system.net>
  5.     <system.web>
  6.     <webServices>
  7.       <protocols>
  8.         <add name="HttpGet" />
  9.         <add name="HttpPost" />
  10.         <add name="HttpPostLocalhost" />
  11.       </protocols>
  12.     </webServices>
  13.         <compilation debug="true" />
  14.         <customErrors mode="Off" />
  15.         <sessionState cookieless="UseUri" timeout="60" />
  16.         <pages enableViewState="true" />
  17.         <roleManager enabled="false" />
  18.     </system.web>
  19.     <system.webServer>
  20.         <defaultDocument>
  21.             <files>
  22.                 <add value="index.aspx" />
  23.             </files>
  24.         </defaultDocument>
  25.     </system.webServer>
  26. </configuration>
  27.  
What should I be doing to try and enable the GET functionality in asp.net?
Dec 17 '08 #1
2 9644
kenobewan
4,871 Expert 4TB
Personally, I would forget about the html get method. You are using asp.net so why not use its methods. In dot net extensive use is made of querystring, but it is usually the id of a DB table passed not all the input values of a form,

Suggest checking out MSDN or suitable tutorial.
Dec 18 '08 #2
thanks for your reply but this is not really an answer to the question. for various reasons relating to custom application i cannot take advantage of the usual .net methodology. instead this is really a work around. i could take advantage of this simpler approach or consider redesigning hundreds of content pages.
Dec 18 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Saverio Tedeschi | last post by:
Hi all gurus, forgive me if I submit a 2nd post, but I'm no more able to see my question. So: I wrote an Win app with embedded FTP client (well, made some cut and paste from others' projects :-))...
0
by: Anonieko | last post by:
Just add <webServices><protocolssection <?xml version="1.0"?> <configuration> <system.web> <!--- etc etc --> <webServices> <protocols>
3
by: Vlad Hrybok | last post by:
Hi all, I recently installed 64 bit version of Vista hoping to make it my primary development setup. I was able to do work with IIS7 and ASP.NET 2.0/Visua Studio 2005 combo, but hit a roadblock...
3
by: Brad | last post by:
In a Vista/IIS7 asp.net app, a coded crystal report export is crashing IIS7....but it works just fine in visual studio's cassini web server. And if I create a web form and use the crystal...
5
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi, I wonder if someone could shed some light on this one for me. I have developed a web app in VS2005 with the built in server. It uses an sql database, everytihng works. I need to test it...
0
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work...
6
by: ma | last post by:
Hello, I am new to IIS and ASP.NET. I wrote my first ASP.NET and I want to deploy in to a system which has Vista Business and IIS7. I copied my files to the target computer and created a virtual...
1
by: Michael Tissington | last post by:
How can I enable execute permissions for a folder on my website using the web.config file ?
2
by: David Thielen | last post by:
So we have moved our app from .NET version 2.X in IIS6 to a Windows 2008 Server running IIS7. We have copied all files to the Windwardreports\apps directory and that apps directory has been...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.