|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 11, 2011 8:59 AM
Points: 13,
Visits: 37
|
|
Hi,
I've installed SQL Server Management Studio 2008 on my Windows XP PC.
After I connected a SQL Server on a remote machine and tried to execute ANY query from the Query window, it failed with the message:
"Unable to start T-SQL Debugging. Could not attach to SQL Server process 'on <my SQL Server'. The RPC server is unavailable".
As per the article "Configuring the Transact-SQL Debugger" http://msdn.microsoft.com/en-us/library/cc646024.aspx I checked the firewall on my PC. It was disabled. But the error still occured.
My co-worker managed to execute queries from Management Studio 2008 installed on his PC by connecting the same server that I did.
How can I fix the problem? I did not want to debug queries, just to execute them.
Thanks, Lev
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Tuesday, May 15, 2012 4:11 AM
Points: 408,
Visits: 2,661
|
|
Were you clicking on the green "play" button? That will try to start debugging. Instead use the Execute button with the red exclamation point, or hit F5 on your keyboard
------------------------------------------------------------------------ Bite-sized fiction (with added teeth)
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, May 11, 2011 8:59 AM
Points: 13,
Visits: 37
|
|
| Thank you very much! It works when I click the Execute or F5 butons but fails for Debug.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, June 18, 2012 8:03 AM
Points: 9,
Visits: 130
|
|
Then it's still not working correctly. It should be able to debug.
Solution please ?
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 12:36 PM
Points: 858,
Visits: 1,332
|
|
Paul Beetge (9/20/2011) Then it's still not working correctly. It should be able to debug.
Solution please ?
His question was answered- he said he "did not want to debug, just execute...
that said, could be a few different reasons for the error debugging, the most likely cause is the lack of necessary permissions Connecting with system administrator to SQL Server is not sufficient; the Windows login of the Visual Studio user must also be a member of the system administrator role in SQL Server.
If you are having a problem debugging, I'd have a look here: http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/7937b123-5ffd-48f6-a1de-03e613466a2b/
|
|
|
|