Results 1 to 3 of 3

Thread: severe error occurred on the current command

  1. #1
    Join Date
    Feb 2009
    Posts
    53

    severe error occurred on the current command

    I m using Visual Studio-2005 and SQL server 2005 express edition. when i expand the database node in server explorer i get the following error message:-
    A severe error occurred on the current command. The results, if any, should be discarded.
    I couldn't find any solution for it. i get the same problem if i try run my application using F5.

    Please help me to find out the solution.

    Thanks

  2. #2
    Join Date
    Nov 2008
    Posts
    48

    Re: severe error occurred on the current command

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Exception: A severe error occurred on the current command. The results, if any, should be discarded.
    A severe error occurred on the current command. The results, if any, should be discarded.

    Error Message in DB:
    The connection has been dropped because the principal that opened it subsequently assumed a new security context, and then tried to reset the connection under its impersonated security context. This scenario is not supported. See "Impersonation Overview" in Books Online

    Solution:
    Implement coding workaround, non-dba issue.
    Issue: Web.config setting for connection strings "Connection Reset" does not work for newer versions of .NET2.0. This issue starts once .NET 2.0 SP1 or greater is installed on the application server machine. You'll have to change your code where you are impersonating someone.

    Immediate solution:
    In your web.config database connection string turn off pooling, Pooling=false;

  3. #3
    Join Date
    Apr 2008
    Posts
    193

    Re: severe error occurred on the current command

    Hi,

    This is a generic error message.

    Two issues where this error message would occur are mentioned in the KB Articles below:

    http://support.microsoft.com/kb/928372/
    http://support.microsoft.com/kb/938102

    The following information would be useful in drilling down deeper into the problem:

    1. When does this error occur (Is is sporadic or is there a fixed time)

    2. What queries/stored procedures are running on the server at that time

    3. What error messages are logged in the SQL Server ErrorLogs at that time

Similar Threads

  1. Replies: 2
    Last Post: 11-08-2012, 06:51 PM
  2. System error 59 has occurred. An unexpected network error occurred
    By Custidio in forum Networking & Security
    Replies: 4
    Last Post: 05-01-2010, 09:10 PM
  3. Replies: 3
    Last Post: 03-09-2009, 05:41 PM
  4. Replies: 1
    Last Post: 01-03-2007, 09:27 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,965,242.33434 seconds with 16 queries