更新时间:2023-12-03 22:14:22
很长一段时间在互联网上搜索,你的问题给了我答案我们的问题。
请仔细阅读以下内容
以上步骤为我工作,并在此屏幕截图;
http://i.stack.imgur.com/GQwlt.png
有关更多信息,您还可以与我联系;
Vinod W. B. @ vinodwb@live.com
I'm trying to debug a CLR based StoredProcedure in Visual Studio 2012 RTM. I have a Sql Database Project. When I try to debug my script file using RightClick -> Execute with debugger it pop ups a warning about harmfulness of attaching a process and when I accept it just say that :
Unable to debug .Net Code. Could not attach to SQL Server process on 'Devserver'.
I've done many different things :
I've added my domain user to sysadmin SQL Server Role.
I've run MSVSMON.EXE on the Remote Server and set up it's permissions.
I've configured Visual Studio Project's ConnectionString in Properties pane.
I've added current domain user to Local Administrators of the Remote Server.
In Sql Server Object Explorer in Visual Studio I've selected the current connection and ticked 'Allow SQL\CLR Debugging'
...
But it still says it cannot attach the process and there is not Source Code that can be debugged.
Do You have any idea ? what do I forget ?
thanks in advance
Hi after a long time searching over internet, Your Question has Given me Answer of Our Question. Please understand following very carefully,
above step worked for me, and here a screen shot of it; "http://i.stack.imgur.com/GQwlt.png"
For more information you can also contact me on; Vinod W. B. @ vinodwb@live.com