C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




"Visual Studio .NET has detected that the specified Web server is not running ASP.NET version...


Posted Date: 12 Sep 2006    Resource Type: Articles    Category: .NET Framework
Author: Harish RanganathanMember Level: Gold    
Rating: Points: 10



Introduction


A very common but weird error we get when trying to create / open asp.net applications using visual studio.net is "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."

Why this Error occurs?


This error occurs primarily due to following reasons

1. IIS installed after Visual Studio .NET is installed.
2. ASPNET Account removed / doesnt have sufficient permissions.
3. Script Mappings not updated in the IIS
4. Proxy Settings

Resolution 1


The resolution for the first 3 reasons is simple. Reinstall the aspnet user account. To do that, type the following from your command prompt:-

%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

the above is based on .net 1.1 version (Visual Studio .NET 2003). For other versions, just change the version number.
Version Numbers for other versions

.NET Framework 2.0 - v2.0.50727 for Visual Studio 2005 (Released Version)

.NET Framework 1.0 - v1.0.3705 for Visual Studio .NET 2002

Resolution 2


The other resolution for proxy settings is as follows:-

1. Open Internet Explorer

2. Go to Tools - Internet Options - Connections - LAN Settings - Advanced

3. Under “Do not use Proxy server for addresses beginning with“, enter localhost or your local IP starting number in the Text Area.

4. Clik Ok 3 times to exit.

5. Restart Visual Studio .NET and you should be able to create ASP.NET Applications.

Summary


This has been one of the most annoying errors many developers face and I have close to 500 people
benefited from the above fixes. Hence thought of sharing this with all.





Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Visual Studio 2005 Web Application Projects and Web Deployment Projects
Previous Resource: Data Concurrency in ADO.NET - Part I
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use