| Fixed: Error While Trying To Run Project Unable to Start Debugging On The Web Server |
|
I am trying to update an old asp.net application which was developed in Visual Studio 2003, when I try to compile it I get an error "Error while trying to run project: Unable to start debugging on the web server". I have tried to re-installed the .net 1.1 framework but I still get an error. Then after some research I have found out that you can fix it by doing this: 1. Open you Computer Management. 2. Expand the node Internet Information Services and Expand the Web Sites folder, then expand the Default Web site node. 3. Now select the virtual folder which contains your ASP.NET project, right click and click on Properties. 4. Select the ASP.NET tab and make sure that the correct version of ASP.NET version is selected. In my case I select 1.1.4322. Now click on OK to save the changes. Try to run your project in Debug mode again and this time you should no longer get an error.
|
open command prompt (Start menu-> Run {type "cmd"}
and navigate to
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
then Type
"aspnet_regiis.exe –u "
this means uninstall framework2.0 as it may arise confilict with 1.0 or 1.1
then
navigate to
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
then type
"aspnet_regiis.exe –i "
this means install Framwork 1.1
check to see your programe runs with out any error
then Try to install visual studio 2005
After this you can work in both of the versions
Cheers
Kakani Santosh Kumar