开发者

Howto remote debug a vs2010 project on iis6?

开发者 https://www.devze.com 2023-01-17 17:31 出处:网络
I made a asp.net project in VS2010 with .net 4.0 everything works fine. but when I copied it to the server (IIS6 MS server 2003) it throws some exceptions and I don\'t know why, so I want to remote de

I made a asp.net project in VS2010 with .net 4.0 everything works fine. but when I copied it to the server (IIS6 MS server 2003) it throws some exceptions and I don't know why, so I want to remote debu开发者_如何转开发g it, but I don't know how!

So how can I remote debug?


Usually you can copy C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Remote Debugger to your iis machine and then run msvsmon.exe for the platform you are running on then in VS just specify that you want to attach to that servers hostname and select the iis process, from memory its something like xxx_wp although I could be wrong.

You may also need to disable just my code in Visual studio debugging settings.

Of course if VS is installed on the machine you have IIS on there is no need to copy the files simply run the debugger from the start menu shortcut for VS.

This codeproject article will give you a better idea

0

精彩评论

暂无评论...
验证码 换一张
取 消