Red Gate forums :: View topic - How do I disable SQLPrompt to test error 102?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 5
SQL Prompt 5 forum

How do I disable SQLPrompt to test error 102?

Search in SQL Prompt 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
cwchilders



Joined: 12 Jul 2007
Posts: 2

PostPosted: Wed Jun 05, 2013 6:28 pm    Post subject: How do I disable SQLPrompt to test error 102? Reply with quote

I can connect with sqlcmd successfully. In SSMS with SQLPrompt5,
connecting over VPN to remote SQL2008R2--Microsoft SQL Server, Error: 102.
The ??? marks are reported as 'extended characters' in the SSMS error message. I suspect this is a SQLProfiler select query--Is that your code in the PROFILE CAPTURE below?


An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

Incorrect syntax near 'W??'.
Incorrect syntax near 'SmoEnabled'.
Unclosed quotation mark after the character string '
END
END'. (Microsoft SQL Server, Error: 102)
PROFILER CAPTURE:

IF (@@microsoftversion / 0x01000000) >= 9 AND ISNULL(IS_SRVROLEMEMBER(N'sysadmin'), 0) = 1
BEGIN
SELECT se.is_admin_endpoint AS N'AdminConnection',

(SELECT CAST(cfg.value AS bit) AS [ConfigValue]

FROM

sys.configurations AS cfg WHERE configuration_id=16387)
AS N'SmoEnabled'
FROM sys.endpoints se
INNER JOIN sys.dm_exec_connections dmc ON dmc.endpoint_id = se.endpoint_id
W????????????????????? dmc.session_id = @@spid[/img]
Back to top
View user's profile Send private message
cwchilders



Joined: 12 Jul 2007
Posts: 2

PostPosted: Wed Jun 05, 2013 6:30 pm    Post subject: Error Image capture Reply with quote

[img]http://social.msdn.microsoft.com/Forums/getfile/292718[/img]

http://social.msdn.microsoft.com/Forums/getfile/292718
Back to top
View user's profile Send private message
Manfred.Castro



Joined: 23 Apr 2012
Posts: 205

PostPosted: Thu Jun 06, 2013 9:05 pm    Post subject: Reply with quote

If you don't want to uninstall the tool, you can try renaming the addin file located in:
C:\ProgramData\Microsoft\SQL Server Management Studio\11.0\Addins

You can just append the extension with something like .old.
That should remove the addin from SSMS
_________________
Manfred Castro
Product Support
Red Gate Software
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group