Results 1 to 2 of 2

Thread: Trusted Connection Error

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    Pennsylvania
    Posts
    133

    Trusted Connection Error

    I am getting the following error.

    Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

    Ok, here is the kicker:

    1. I have an asp.net application which already runs on the web server and accesses a set of web services. It does not get this error.

    2. I am running SQL Server 2000 using both windows and standard authentication.

    3. I built a WINDOWS Form user interface to access the same web services mentioned above, that is when I get the error listed.

    Why does the windows app not get throught to SQL Server?

  2. #2
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Houston, TX
    Posts
    342
    Check your connection string to make sure you are telling SQL that it's a trusted connection.
    Code:
    "Data Source=mySqlServer;Integrated Security=SSPI;Initial Catalog=myDB"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width