Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Debugging 2012


Debugging 2012

Author
Message
Dennis Post
Dennis Post
SSC-Enthusiastic
SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)

Group: General Forum Members
Points: 175 Visits: 547
Hi,

I'm having trouble getting remote debugging working through SSMS 2012 and could use a bit of help.

Debugging on the remote machine (Svr1) works fine, but not from my workstation (ws1).

I am an administator on both machines and a sysadmin, as is the service account.

The breakpoint is a hollow red circle with warning triangle in the bottom right.
"The breakpoint will not currently be hit. Unable to bind at this time. Object containing the breakpoint not loaded."

Output : Auto-attach to process '[1556] [SQL] Svr1' on machine 'Svr1' succeeded.

The process ID in the output points to the correct instance.

Svr1 : Windows 2008 R2 Standard SP1. (Windows Firewall enabled)
WS1 : Windows 7 SP 1
SQL : 2012 evaluation on both machines. (http://www.microsoft.com/sqlserver/en/us/get-sql-server/try-it.aspx)

Although I get many hits on this when searching, I have not been able to find any good documentation on what the problem is or a solution.

Btw, even if I disable the firewall I get the same results.

Any idea's?



For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.

"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Dennis Post
Dennis Post
SSC-Enthusiastic
SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)

Group: General Forum Members
Points: 175 Visits: 547
This is also not working for SQL 2008 R2 dbs.

Locally they do work but from my workstation they don't.

Even though all Windows Firewalls are disabled, I configured the exceptions anyway. Didn't help Angry

Here are a bunch of links I found.
http://msdn.microsoft.com/en-us/library/cc646024.aspx
http://blogs.msdn.com/b/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-2.aspx
http://gaurangpatel.net/remote-debugging-in-sql-server-management-studio

I am sysadmin and Administrators member on the remote servers. (Also my own machine.)

Has anyone else set this up before?

Cheers.



For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.

"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Dennis Post
Dennis Post
SSC-Enthusiastic
SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)SSC-Enthusiastic (175 reputation)

Group: General Forum Members
Points: 175 Visits: 547
When adding the exception for SvcHost.exe, I get the following message.

Windows services have been restricted with rules that allow expected behavior only. Rules that specify host processes, such as svchost.exe, might not work as expected because they can conflict with Windows service-hardening rules.

Are you sure that you want to create a rule referencing this process?

Here's bit of info on Service-Hardening.
http://sourcedaddy.com/windows-7/understanding-windows-service-hardening.html



For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.

"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search