ASP.NET: One Solution: Simple HTML and Form Components Do Not Display in Browser

  • Thread starter Thread starter Kelly
  • Start date Start date
K

Kelly

Took me FOREVER to find a solution to this, so in case anyone else has
the same problem, here is what worked for me...

PROBLEM:
Creating simple ASP.NET application - web form (newbie, first ASP.NET
app). Added some Response.Write code or similar output to the
Page_Load method. Nothing displays in the browser!

SOLUTION:
Run aspnet_regiis.exe with the -i option. IIS misses the mappings for
ASP.NET files. The aspnet_regiis.exe file should be located in your
Microsoft.NET Framework directories.
 
In addition to Kelly's post...

http://www.microsoft.com/technet/tr...aspnetiisregistrationtoolaspnet_regiisexe.asp

Was quite useful incase the script mappings are buggered..I found that I had
a while back installed Visual Studio, and .Net 1.0 - after a training course
I removed both, and installed VS2003 and .Net 1.1 - I found that the form
validation did not work because the asp_client directories were referencing
the older version of .Net - the info on this page helped me resolve this.

I hope this helps.

Regards

Rob
 
Back
Top