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

  • SEARCH
  • Home
  • 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

I have the following code running in a windows service: WebClient webClient = new
The following exception happens when doing Solr Unit Test, and could not google the
The following exception is thrown: Error Message: Microsoft.SqlServer.Management.Smo.FailedOperationException: Drop failed for Database '4d982a46-58cb-4ddb-8999-28bd5bb900c7'. --->
I have the following Exception: Exception in thread main java.lang.SecurityException: no manifiest section for
I received the following exception when I was using the Regex class with the
I'm getting the following exception when I run my application in Release mode from
Which of the following exception notification solutions is the best? Exceptional Hoptoad exception_notification exception_logger
I get the following exception when trying to access any nodes of a parsed
I meet following exception when I copy the whole program directoy to another machine.
I am getting the following exception when i try to use the fetchall method

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.