Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 ASP.Net error message unable to connect to the configured development web server

Tags:

asp.net

I bought a new Windows 8 PC last week.

First I installed VS 2010 on it but then that wasn't working properly so I uninstalled VS 2010 and then installed VS 2012 professional edition and SQL Server 2012.

Now I am able to create Windows applications but I am not able to run even a simple ASP.Net website.

When I try to view Default.aspx in browser it throws an error message that

Unable to connect to the configured development web server

so then I went into Add or remove components and installed IIS. but I still get that error message.

Even if I try to save the website at a folder location, the ASP.Net development server is not able to run the web page.

I get the same error message using either IIS or ASP.Net development server.

I am wondering is it Windows 8 security related issue?

How can I make sure my ASP.net Development server was installed correctly and has the appropriate permissions to run?

Does ASP.net work with regular Windows 8? or do I need Windows 8 pro? Microsoft's website doesn't say anything about it so am assuming Windows 8 should work because the Windows forms application works.

Please advise. I just want to be able to run a simple ASP.Net application to verify the installation.

I tried http://forums.asp.net/t/1768992.aspx/1 but that didn't work in this case.

like image 228
Ricky Avatar asked Jan 21 '26 14:01

Ricky


1 Answers

ASP.NET IIS Registration Tool (Aspnet_regiis.exe) would be one of my suggestions along with checking what identity is the Application Pool in IIS using as it may have limited permissions. Last but not least, run Visual Studio as an Administrator so you don't have UAC issues.

like image 150
JB King Avatar answered Jan 24 '26 13:01

JB King



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!