Sql Exception under VB.Net 2005

  • I am new to Sql Server 2005, I am using vb.net 2005 to manually connect to the database but I am getting the following error

    Login failed for user 'BM-PC/B-Mustafa'

    Can you please advise?

    Thanks

  • The message is pretty clear in itself - it's trying to use the above listed user to log into the database server, and cannot due to a login failure. does that user have permission to connect? If not - should you be using another user/SQL credentials?

    ----------------------------------------------------------------------------------
    Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?

  • My username and password is present in the database but still I am getting login failure while connecting to SQL Serevr 2005 database

  • Is your logon enabled in the SQL Server? Is there a default database defined? Dose that default database exist? And does you logon have access to that database?

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply