VC++6 skips breakpoints with MSSQL 7.0 sp3 
Author Message
 VC++6 skips breakpoints with MSSQL 7.0 sp3

Hello Alan,

Please refer to the following KB Article  ,

INF: Tips for Debugging Stored Procedures from VC++           [sqlserver]
ID: Q156096
http://www.*-*-*.com/ ;en-us;Q156096

From the article,

"SQL Server must run under a user account, preferably the local
   Administrator's user account. When run under the local account, the
   breakpoints are ignored and the query is simply executed."

So, Please make sure that SQL Server Running under the LOCAL ADMIN account
( NT Acct ) instead of local-system account.

Also, for general Stroed PRocedure debugging issues please refer to
following articles,

 INF: Advanced Debugging of SQL Server Procedures (Q163451)  
 This article describes the method of debugging a stored procedure that
invokes an extended stored procedure, while also debugging that extended
stored procedure.

 PRB: SQL Server Debugging with Visual Studio Service Pack 5 Requires a
Non-System Account (Q281649)
 With Visual Studio 6.0 Service Pack 5 or later, SQL Server debugging
cannot be performed when the SQL Server service is set to run under the
Local System account. This is true regardless of whether SQL Server is
local to the computer where  

 PRB: Debugging Stored Procedure Fails with "Cannot load the DLL
mssdi98.dll, or one of the DLLs it references" Error Message (Q291961)
 When you debug a Microsoft SQL Server 7.0 stored procedure from the
Microsoft SQL Server 2000 Query Analyzer, you may receive the following
error message:

Thanks,

Vikrant Dalwale

Microsoft SQL Server Support Professional

This posting is provided "AS IS" with no warranties, and confers no rights.
Get secure ! For info, please visit http://www.*-*-*.com/
Please reply to Newsgroups only.

--------------------

Quote:
>Content-Class: urn:content-classes:message


>Subject: VC++6 skips breakpoints with MSSQL 7.0 sp3
>Date: Tue, 6 Aug 2002 06:47:49 -0700
>Lines: 4

>MIME-Version: 1.0
>Content-Type: text/plain;
>    charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Thread-Index: AcI9T9qSPAhdIQETQESlOg4I/F7cUg==
>Newsgroups: microsoft.public.vc.de{*filter*}
>NNTP-Posting-Host: TKMSFTNGXA06 10.201.232.165
>Path: cpmsftngxa08!tkmsftngxs01!cpmsftngxa07
>Xref: cpmsftngxa08 microsoft.public.vc.de{*filter*}:13867
>X-Tomcat-NG: microsoft.public.vc.de{*filter*}

>Are there any known issues that would cause the exact same
>code to halt at breakpoints when run under MSSQL 7.0 sp2
>to skip all breakpoints when this same stored procedure is
>run under MSSQL 7.0 sp3?  



Sat, 29 Jan 2005 04:43:02 GMT  
 VC++6 skips breakpoints with MSSQL 7.0 sp3
I read the forementioned article and links. I then
verified the SQL server was running with a user account. I
reset it to the local Administrator to test the article.
The de{*filter*} still failed. I'm able to execute the
de{*filter*} successfully on SQL server 7.0 with Service Pack
2 but I can not get it to work MSSQL 7.0 SP3 or SP4. Do
you have any other suggestions and/or comments? Thanks in
advance.

Quote:
>-----Original Message-----

>Hello Alan,

>Please refer to the following KB Article  ,

>INF: Tips for Debugging Stored Procedures from

VC++           [sqlserver]
Quote:
>ID: Q156096
> http://www.*-*-*.com/ ;en-
us;Q156096

>From the article,

>"SQL Server must run under a user account, preferably the
local
>   Administrator's user account. When run under the local
account, the
>   breakpoints are ignored and the query is simply
executed."

>So, Please make sure that SQL Server Running under the

LOCAL ADMIN account
Quote:
>( NT Acct ) instead of local-system account.

>Also, for general Stroed PRocedure debugging issues
please refer to
>following articles,

> INF: Advanced Debugging of SQL Server Procedures
(Q163451)  
> This article describes the method of debugging a stored
procedure that
>invokes an extended stored procedure, while also

debugging that extended
Quote:
>stored procedure.

> PRB: SQL Server Debugging with Visual Studio Service
Pack 5 Requires a
>Non-System Account (Q281649)
> With Visual Studio 6.0 Service Pack 5 or later, SQL
Server debugging
>cannot be performed when the SQL Server service is set to
run under the
>Local System account. This is true regardless of whether
SQL Server is
>local to the computer where  

> PRB: Debugging Stored Procedure Fails with "Cannot load
the DLL
>mssdi98.dll, or one of the DLLs it references" Error
Message (Q291961)
> When you debug a Microsoft SQL Server 7.0 stored
procedure from the
>Microsoft SQL Server 2000 Query Analyzer, you may receive
the following
>error message:

>Thanks,

>Vikrant Dalwale

>Microsoft SQL Server Support Professional

>This posting is provided "AS IS" with no warranties, and
confers no rights.
>Get secure ! For info, please visit

http://www.*-*-*.com/

- Show quoted text -

Quote:
>Please reply to Newsgroups only.

>--------------------
>>Content-Class: urn:content-classes:message


>>Subject: VC++6 skips breakpoints with MSSQL 7.0 sp3
>>Date: Tue, 6 Aug 2002 06:47:49 -0700
>>Lines: 4

>>MIME-Version: 1.0
>>Content-Type: text/plain;
>>        charset="iso-8859-1"
>>Content-Transfer-Encoding: 7bit
>>X-Newsreader: Microsoft CDO for Windows 2000
>>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>>Thread-Index: AcI9T9qSPAhdIQETQESlOg4I/F7cUg==
>>Newsgroups: microsoft.public.vc.de{*filter*}
>>NNTP-Posting-Host: TKMSFTNGXA06 10.201.232.165
>>Path: cpmsftngxa08!tkmsftngxs01!cpmsftngxa07
>>Xref: cpmsftngxa08 microsoft.public.vc.de{*filter*}:13867
>>X-Tomcat-NG: microsoft.public.vc.de{*filter*}

>>Are there any known issues that would cause the exact
same
>>code to halt at breakpoints when run under MSSQL 7.0 sp2
>>to skip all breakpoints when this same stored procedure
is
>>run under MSSQL 7.0 sp3?  

>.



Tue, 01 Feb 2005 22:49:31 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. VC++ SP3 compiled EXE has UI bugs on clients WITHOUT VC SP3

2. Breakpoint skip

3. VC++ 5.0 Debugger skipping breakpoints

4. How to use VC 7.0 C++ compiler from VC 6.0 IDE

5. a bug in VC 7.0 (but not in VC 6.0)

6. Slower compilation with VC Net 2003 (7.1) when compared to VC Net 7.0

7. DLL built with VC 6.0 not working with VC 7.0 application

8. VC++6.0/SP3 Compiler Error: INTERNAL COMPILER ERROR

9. Install of vc c++ 6.0 fails under Windows 2000 sp3

10. Problem with Lclint and VC 6 SP3

11. VC 60 SP3, Win2000, and NT4 compiler bug?

12. VC SP3 on Win2K

 

 
Powered by phpBB® Forum Software