Assertion failed

  • I've got a C# application that works with SQL Server 2000 sp3 on Win2k sp3.

    The connection is made using ADO.NET, and occasionally I get this fault:

    Assertion failed!

    Program ..\..\myprog.exe

    File: ..\..\..\nt\ssock\src\ntssockc.c

    Line: 1053

    Expression: 1 ==pConnectionObject->fCallCheck

    I haven't been able to pinpoint this error to some specific SQL-code. I may be wrong, but the Line have different values from time to time...

    Any suggestions?

    /Mattias

  • It would be helpfull for us to see the code from the begining. However I suggest stepping thru the code in debug back several positions to see what is happening. Also may do a write to the debug screen or to a text file the values of all the variables that are used. I would esepcially check for anything that may be reseting the pConnectionObject variable.

  • Hi!

    The problem is that I don't get this exception in my code. From time to time it pops up as a dialogbox and the file that is referred to is not a part of my program.

    I've seen a couple of postings on the net that relates this to SQL server. I'm as good as 100% sure that I don't have any code that fails to catch exceptions of this kind.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply