SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Error: 18056, Severity: 20, State: 46.


Error: 18056, Severity: 20, State: 46.

Author
Message
aprathour.89
aprathour.89
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1204 Visits: 562
Hi Everyone,

i am getting the following error message in sql server error log.

Error: 18056, Severity: 20, State: 46.

The client was unable to reuse a session with SPID xxx, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message.

What may be the possible causes for this error and how we can troubleshoot to find the root cause.

-----------------
Aditya Rathour
SQL DBA

Not Everything that is faced can be changed,
but nothing can be changed until it is faced.
Lowell
Lowell
SSC Guru
SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)SSC Guru (276K reputation)

Group: General Forum Members
Points: 276688 Visits: 41773
this link seems to imply the default database for a user might be null?

http://www.sqlservercentral.com/Forums/Topic1259661-146-1.aspx
do either of these return any data?

SELECT *
FROM sys.server_principals
WHERE default_database_name IS NULL
AND type_desc IN( 'SQL_LOGIN', 'WINDOWS_LOGIN','WINDOWS_GROUP' )

SELECT *
FROM sys.server_principals
WHERE default_database_name NOT IN(SELECT name
FROM sys.databases)



Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
aprathour.89
aprathour.89
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1204 Visits: 562
Thanks for reply

Sir,

I have run both the scripts , but could not get any result.
But i diagnose the dm_os_ring_buffer exception records , i found there are many errors with code 2627 (which means can not insert duplicate records ,violation of unique key or primary key) , and sudden server's cpu utilization spikes up to 100%. After 2-3 minutes it automatically goes down.

-----------------
Aditya Rathour
SQL DBA

Not Everything that is faced can be changed,
but nothing can be changed until it is faced.
SQL ADMIN 79
SQL ADMIN 79
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1660 Visits: 665
Do you have a resolution for this issue?

[font=Arial]Prakash Bhojegowda MCSE, MCSA (SQL2012)[/font]
SQL ADMIN 79
SQL ADMIN 79
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1660 Visits: 665
Do you have a resolution for this issue?

[font=Arial]Prakash Bhojegowda MCSE, MCSA (SQL2012)[/font]
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search