Friday, December 02, 2005

Problems with Visual Studio .NET 2003

For the last couple of days, I have been trying to get a form to work in an application that uses an apsx extension. The problem was, that the moment that RequiredFieldValidation was added to the form, the IsPostBack or Page.IsPostBack always just returned False instead of True when the form was submitted.

After trying this on several computers, it turned out that some default client side scripts were not installed with Visual Studio .NET 2003 to be used with IIS. To fix this, I had to run a command-line utility which was used to allow ASP.NET files to be run is called: aspnet_regiis.exe

The solution to the whole problem was:

1. Go to: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
2. Run: aspnet_regiis.exe -c

What was the annoying part is that only one PC was giving a hint about this, otherwise there was aboslutely no information why nothing is happening when the form is submitted.

No comments:

Post a Comment