VS2012 ASP.Net error message cannot connect to a configured development web server

I bought a new PC on Windows 8 last week.

First I installed VS 2010 on it, but then it did not work properly, so I uninstalled VS 2010, and then installed the professional version of VS 2012 and SQL Server 2012.

Now I can create Windows applications, but I cannot run even a simple ASP.Net site.

When I try to view Default.aspx in a browser, it gives an error message that

Unable to connect to the configured development web server

after which I turned on or removed the components and installed IIS. but i am still getting this error message.

Even if I try to save the site in a folder, the ASP.Net development server cannot start the web page.

I am getting the same error message using the IIS development server or ASP.Net.

I'm interested in a security issue with Windows 8?

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

Does ASP.net work with regular Windows 8? or do i need windows 8 pro? The Microsoft website does not say anything about this, so I assume that Windows 8 should work because the Windows Forms application works.

Please inform. 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 in this case it did not work.

+3
source share
3 answers

ASP.NET IIS (Aspnet_regiis.exe) , , IIS , . , : Visual Studio , UAC.

+2

. , . , .

. , . "devenv.exe" . "devenv.exe" . "devenv.exe" .

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7 \ IDE\devenv.exe"

Devenv (IDE), , .

Enjoy...

+2

, , :

- .

URL- " http://10.10.7.209:53553/" "FooBarSite" "/". : . (0x800704be)

applicationhost.config, C:\Users\Jed\Documents\IISExpress\config

, bindingInformation , IP- IP- .

  • ipconfig, IP- .
  • C:\Users\Jed\Documents\IISExpress\config\applicationhost.config ( )
  • Scroll down to <sites>, then find <site>which has the name of your project (in this example, it wasFooBarSite
  • Update bindingInformationso that the IP address matches the IP address that was defined inipconfig

Example

<bindings>
 <binding protocol="http" bindingInformation="*:53553:localhost" />
 <binding protocol="http" bindingInformation="*:53553:10.10.7.209" /> 
 <!-- I had to change the IP Address from 10.10.7.209 to 10.10.7.214 -->
</bindings>
0
source

All Articles