用IIs7.0和visual studio 8“无法在网络服务器上启动调试”错误 [英] 'unable to start debugging on the webserver' error with IIs7.0 and visual studio 8

查看:116
本文介绍了用IIs7.0和visual studio 8“无法在网络服务器上启动调试”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用IIS7调试我的Web服务。它不会启动并抛出错误。



无法在Web服务器上启动调试。远程调试组件未在Web服务器上注册或运行。确保在远程计算机上运行正确版本的msvsmon。



我的应用程序是在visual studio 2008中构建的,而我的PC OS是Windows 7 64位。

此计算机上安装了IIS。



我用Google搜索了这个问题,但所有的解决方案都来自visual studio 2010,而我正在使用visual studio 2008.



以及远程计算机在应用程序和IIS在同一台机器上时出现错误的含义是什么意思?



请告诉我正确的解决方案。



提前谢谢。

I try to debug my web service with IIS7. It doesn't start and throws an error.

"Unable to start debugging on the web server. The remote debugging components are not registered or running on the web server. Ensure the proper version of msvsmon is running on the remote computer."

my application is built in visual studio 2008 and my PC OS is windows 7 64bit.
IIS is installed on this machine.

I googled this issue but all the solutions comes for visual studio 2010 and I am using visual studio 2008.

and what it means 'remote computer' indicating in error while the application and IIS are on the same machine?

please, tell me the proper solution.

Thanks in advance.

推荐答案

首先,请确保您的应用程序池正在运行正确的.NET版本:



  • .NET 2.0,3.0和3.5 Web应用程序应该使用使用.NET 2.0的应用程序池
  • .NET 4.0 Web应用程序,应使用使用.NET 4.0的应用程序池
First of all, make sure you’re application pool is running the correct .NET Version:

  • .NET 2.0, 3.0 and 3.5 web applications, should use an application pool that uses .NET 2.0
  • .NET 4.0 web application, should use an application pool that uses .NET 4.0


1)在VS2005或VS2008或VS2010中右键单击您的项目。

2)2)点击属性

3)3)单击Web选项卡

4)4)在服务器下,单击单选按钮使用Visual Studio开发服务器

5)选中自动分配端口单选按钮

5)6)取消选中NTLM身份验证并启用编辑并继续





以上解决我的问题

干杯!
1) Right click on your project in VS2005 or VS2008 or VS2010.
2) 2) Click on Properties
3) 3) Click on Web tab
4) 4) Under Servers, click on the radio button Use Visual Studio Development Server
5) Check Auto Assign Port radio button
5) 6) Uncheck NTLM Authentication and Enable Edit and Continue


above one in resolve my issued
Cheers!


我做了这两件事,问题解决了 -



1。启用设置为True的32位应用程序设置。

为此,右键单击

应用程序池 - >高级设置 - >启用32位应用程序 - > TRUE



2。将此应用程序池分配给我的项目虚拟目录。



我在网上找到了一些其他的解决方案,但在这种情况下不起作用。

- 启动msvsmon。

- 重新注册.Net Framework版本

- 启用Windows身份验证模式。

- 在web.config文件中,设置debug = true
I did these two things and Issue resolved -

1. Enable 32-bit application settings set as True.
for this , right click on
Application Pool -> Advance Setting -> Enable 32 bit Application -> TRUE

2. Assign this Application Pool to my project Virtual directory.

There are some other solutions which I found from Net but that did not work in this case.
- Started msvsmon.
- Re-registered the .Net Framework version
- Enabling windows authentication mode.
- In web.config file, set debug = true


这篇关于用IIs7.0和visual studio 8“无法在网络服务器上启动调试”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆