Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2012
»
SQL Server 2012 - T-SQL
»
Debugging 2012
Debugging 2012
Rate Topic
Display Mode
Topic Options
Author
Message
Dennis Post
Dennis Post
Posted Friday, November 09, 2012 6:24 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 2:38 AM
Points: 109,
Visits: 286
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.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Post #1382988
Dennis Post
Dennis Post
Posted Tuesday, November 20, 2012 3:54 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 2:38 AM
Points: 109,
Visits: 286
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
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.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Post #1386805
Dennis Post
Dennis Post
Posted Tuesday, November 20, 2012 5:22 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 2:38 AM
Points: 109,
Visits: 286
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.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Post #1386857
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.