IIS and .Net 2.0

by Joseph on Jul 11th in .Net, aspnet_regiis.exe, ASPX, IIS

I was installing a web application today, and came across a strange problem. ASPX .Net 2.0 wouldn’t start. Luckily, a google search of “error 0x80131902” brought me to “Jonathan’s Blog“, which explained how to fix the issue.

Essentially, all that was needed was the following steps (quoted from Jonathan’s article):

  1. With a command window, get to the latest version of .net under
  2. C:\Windows\Microsoft.Net\Framework\
  3. Now run the following command: “net stop w3svc” to stop web services.
  4. Then use “aspnet_regiis.exe -ua” to uninstall all instances of ASP.NET from IIS.
  5. Follow with “aspnet_regiis.exe -i” to install ASP.NET into IIS.
  6. Now restart web services with “net start w3svc”.

One small caveat I’d like to add here… You actually need to run the aspnet_regiis.exe from its containing folder, which for me was C:\Windows\Microsoft.Net\Framework\v2.0.50727.

Leave a Reply


Warning: Undefined variable $user_ID in H:\root\home\idriven-001\www\infocraftnet\wp-content\themes\worldoweb\comments.php on line 55

Powered By Wordpress Designed By Ridgey