Login failed

asp.net United States
  • 18 years ago

    I have the next error when I'm triying to run an asp program with vs.net:


    Login failed for user 'LUIS\ASPNET'.
    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.Data.SqlClient.SqlException: Login failed for user 'LUIS\ASPNET'.


    Database: SQL


    email me

  • 18 years ago

    Can you tell me what code you use to instantiate and connect to the aspnet sql server? It's possible that the sql server instance is not setup to accept your windows login and in that case you would need to change the uid and password to uid=sa;password=; <- blank password.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“My definition of an expert in any field is a person who knows enough about what's really going on to be scared.” - P. J. Plauger