asp.net 开发服务器意外启动
代码面的糟糕一天。我通常使用 iis 的本地副本来调试 Web 应用程序。今天在测试该代码时,我遇到了一些堆栈溢出。之后,Visual Studio 无法连接到 iis 进行进一步调试。重新启动后,我再次能够针对 iis 调试我的 Web 项目。我现在遇到的恼人的问题是,当我单击开始调试时,asp.net 开发服务器(Cassini)也会启动。有人知道什么可能导致服务器意外启动吗?我已经检查了我的应用程序属性,并且未检查使用 Visual Studio 开发服务器。
Bad day at the code face. I normally debug my web applications using a local copy of iis. Today while testing that code I suffered a couple of stack overflows. Following that visual studio failed to connect to iis to debug further. After rebooting I was again able to debug my web projects against iis. The annoying problem I have now is that the asp.net development server (Cassini) also starts up when I click start debugging. Does anybody have any idea what could be causing the unwanted server start? I've checked my app properties and use visual studio development server is not checked.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
解决方案中是否有其他项目设置为使用开发服务器?如果任何项目具有该设置,Visual Studio 将启动开发服务器,以防您调试该项目。
Do you have other projects in the solution that are set to use the Development Server? If any of the projects have the setting, Visual Studio will start the Development Server just in case you debug into that project.
您是否尝试过 clean + build 或 Rebuild ?听起来好像某个地方的设置出了问题。
在 Web 项目属性中,尝试选中
使用自定义 Webserver
并手动将 URL 添加到服务器 Url
字段中。当然,您可以尝试关闭 VS、重新启动计算机、重置 IIS 以及针对 Microsoft 产品相关问题的所有其他解决方法;-)
HTH
Have you tried a clean + build or Rebuild ? Sounds like a setting has gone awry somewhere.
In the web project properties, try checking
Use Custom Webserver
and manually put the URL in theServer Url
field.And of course you could try shutting down VS, restarting your machine, resetting IIS and all those other workarounds for Microsoft product-related issues ;-)
HTH