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.

Solution

Open a command window and run 'aspnet_regiis' with the -i option

	aspnet_regiis -i

What is the -i option for?

(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:

	http://localhost/AnyMadeUpName_MXKAXMAK.aspx

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:

	aspnet_regiis -c  

What is the -c option for?

Related resource: The VS7 Debugger doesn't work. What can I do?

 

I'm currently writing a book about how to build your first product. If you want to build your first product, please sign up to be notified when the book is available.

(By the way, I read every comment and often respond.)

Your comment, please?

Your Name
Your Url (optional)
Note: I may edit, reuse or delete your comment. Don't be mean.