简体   繁体   中英

Always goto IIS Windows web page when debugging ASP.NET using Visual Studio?

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.

尝试安装iis Express版本或取消选中您提到的使用Cassini的选项

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM