Your New PC Won't Let You Work On ASP.Net?
Here's a problem you're likely to get when setting up a new dev' box.
"Visual studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."
Open a command window and run 'aspnet_regiis' with the -i option
What is the -i option for?
"Install this version of ASP.NET and update scriptmaps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower version are upgraded to this version."
(Continues, if you're real damn interested...)
A quick way to tell if ASP.net is running, (and what version) is to deliberately get a 404 error on a ".aspx" extension. For example, navigate to:
If asp.net is running:
- you'll get a .Net error page (with the version written at the bottom of the page).
If IIS is running:
- you'll get an IIS error page (The Page cannot be found)
If IIS is not running (at this site)
- you'll get an explorer error page (The Web Site cannot be found) [unless some thing else hi-jacks your browser, such as google toolbar.]
A related problem you may find if client-side scripts are misbehaving the whole time... you need to rebuild the client scripts. Here's how:
What is the -c option for?
"Install the client side scripts for this version to the aspnet_client subdirectory of each IIS site directory."
Related resource: The VS7 Debugger doesn't work. What can I do?Next → ← Previous
My book "Choose Your First Product" is available now.
It gives you 4 easy steps to find and validate a humble product idea.