Re: Batch execution is terminated because of debugger request.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi James,

Try to disable SQL debugging, unless it's required.

Project Properties --> Debug --> Enable SQL Server debugging (uncheck)

HTH

"James Vitale" <dharmaprotector@xxxxxxxxxxxxxxx> wrote in message
news:uqXu9fKkGHA.3572@xxxxxxxxxxxxxxxxxxxxxxx
Visual Studio 2005 - ASP.NET 2.0 - SQL Server 2005

When debugging my web application I get the SqlException "Batch execution
is terminated because of debugger request." and it refuses to step into
the debugger. The first time I debug, it works fine, the second time it
generates the error. I have to kill inetinfo.exe or I can't debug.
Happens the first time the code executes a command against the SQL Server
database. After killing inetinfo.exe it works fine.



.



Relevant Pages

  • Re: gridview paging oddity
    ... Typically, when you encounter something not working on the first click, but ... In debugging, it runs thru the code just like it should ... without error the first time thru and loads the page as planned. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: gridview paging oddity
    ... "JohnE" wrote: ... In debugging, it runs thru the code just like it should ... without error the first time thru and loads the page as planned. ... shows false when hovering over it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reverse comma operator?
    ... If you write it properly the first time (so ... it makes logic errors that much easier to spot. ... Debugging is twice as hard as writing the code in the first place. ... Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. ...
    (comp.lang.c)
  • Re: How to create a matrix out of a vector
    ... > % using kronecker tensor product ... What debugging? ... right the first time, you know. ... Ambition - a poor excuse for not having ...
    (comp.soft-sys.matlab)
  • Re: Eratosthenes sliding sieve
    ... Then it ran first time, no debugging.) ... Mwaaah. ... Try 10 primes. ...
    (comp.lang.forth)