Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4115060
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:32:01+00:00 2026-05-20T22:32:01+00:00

The following exception is returned to our code during the following: m_cnn = new

  • 0

The following exception is returned to our code during the following:

m_cnn = new SqlConnection();
m_cnn.ConnectionString = sxCnn;
m_cnn.Open();

—EXCEPTION INFORMATION—

Exception: in OpenEx. 
Msg=OpenEx failed. 
Errors: Index #0
Message: Login failed for user 'xyz'.
LineNumber: 65536
Source: .Net SqlClient Data Provider
Procedure: 
Number: 18456
State: 1

The problem I am having is that I cannot find this entry in the SQL error logs in order to look-up the state. For instance, we saw this exception at 11:43am today and when I go to the logs, there is no entry for that time.

Is there something that we need to do in order to enable this logging? We have the ‘Failed logins only’ option selected in the database properties under Security | Login auditing. Yet, we see nothing in there for this issue.

Any help is much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:32:02+00:00Added an answer on May 20, 2026 at 10:32 pm

    This issue was occurring because of two main issues:

    1. A few switches on our network were bad
    2. We are making an obscene amount of concurrent connections to the database

    We have fixed 1 and the number of issues has drastically reduced. We are in the process of rewriting the connections made from apps (I actually asked another question while trying to implement a fix here)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following bit of code catches the EOS Exception using (var reader = new
Why does the following code sometimes causes an Exception with the contents CLIPBRD_E_CANT_OPEN: Clipboard.SetText(str);
The following code public class GenericsTest2 { public static void main(String[] args) throws Exception
The following exception is thrown: Error Message: Microsoft.SqlServer.Management.Smo.FailedOperationException: Drop failed for Database '4d982a46-58cb-4ddb-8999-28bd5bb900c7'. --->
I received the following exception when I was using the Regex class with the
I'm gettting the following exception when performing an insert to an Oracle Databse using
I seemed to get the following exception when trying to deploy my application: Caused
What could be the possible causes for the following exception? System.PlatformNotSupportedException: 'ResourcePool' is not
I have a custom sharepoint web part that is throwing the following exception: System.Security.SecurityException:
hey guys, i'm getting an exception on the following inner exception: {Value cannot be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.