Your New PC Won't Let You Work On ASP.Net?
secretGeek .:dotnuts about dotnet:.
home .: about .: sign up .: sitemap .: secretGeek RSS

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?


Add or view comments about this page

Articles

Is the remote control a thing of the past? Is the remote control a thing of the past?
The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7. The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7.
Astounding Hyperlinked Noticeboard Astounding Hyperlinked Noticeboard
Three Questions About Each Bug You Find Three Questions About Each Bug You Find
Recursing over the Pareto Principle... Recursing over the Pareto Principle...
Sometimes, The Better You Program, The Worse You Communicate. Sometimes, The Better You Program, The Worse You Communicate.

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator
25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2003 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2003 .: privacy