0

My project is a simple ASP.net web application. It is created from Visual build-in template. When I try to open ASP.NET configuration or default.aspx, IE always goes to IIS Windows page. I have tried this operation using VS2010 and VS2012. The same issue occurred under both IDEs. I have checked "Use Visual Studio Development server" is checked and debug switch is open in web.config file.

5
  • There's your problem right there: IIS isn't the VS Development Server.
    – Dai
    Mar 4, 2014 at 4:42
  • I do not mean IIS is VS Development Server. The issue lies in that IIS Windows web page is opened even if I have set the web server to VS Development Server(Cassini). Mar 4, 2014 at 5:53
  • What is the URL in your browser address bar? If it is localhost of course IIS start page is showed. You need to go to project settings and configure the Start Action and Servers so the correct URL is used by VS.
    – Lex Li
    Mar 4, 2014 at 6:35
  • I have tried input "localhost:33273/asp.netwebadminfiles" manually in IE. IE still goes to IIS Windows web page. Mar 4, 2014 at 6:51
  • After several tries, I have found the issue is browser-related. On my own development machine(Windows 8.1 Enterprise 64bit, Internet Explorer 11), the issue occurs in IE only, but not in Chrome. With some comparison, it seems IE will redirect <a class="level1 static" href="Default.aspx" tabindex="-1">Home</a> inside a '<ul role="menuitem"><li></li> ... </ul>' to start page of default web site of IIS namely IIS Windows web page, Chrome will goto expected home page of current web site. Mar 4, 2014 at 8:27

2 Answers 2

0

try to install iis Express Version or uncheck Your mentioned option to use Cassini

1
  • I want to know the root cause of this issue. As for using IIS Express or IIS web server, it is another topic. Mar 4, 2014 at 6:53
0

After several tries, I have found the issue is browser-related. On my own development machine(Windows 8.1 Enterprise 64bit, Internet Explorer 11), the issue occurs in IE only, but not in Chrome. With some comparison, it seems IE will redirect <a class="level1 static" href="Default.aspx" tabindex="-1">Home</a> inside a <ul role="menuitem"><li></li> ... </ul> to start page of default web site of IIS namely IIS Windows web page, Chrome will goto expected home page of current web site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.