Login failed for user ''.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Login failed for user ''.

  1. #1
    Join Date
    Feb 2011
    Posts
    15

    Login failed for user ''.

    Hi Everyone,
    I have this problem. I am done with the coding, and I want to access it using a url. The program is working perfectly in my local computer, but when I try to go to IIS, add a new website, assign port, like what I did in my past programs. The problem is when I try to go to the url, it is giving me the error: Login failed for user 'test1\Test2$'.

    Here are some useful info:
    Test1 is the network,
    Test2 is the server and the IIS that I have located the development file

    I developed the system using my computer but IIS is in the server

    Is this an sql server security issue?

    I searched the internet already and havent found the solution to my problem, I hope someone can help me out on this.

    Thank you very much in advance.

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Login failed for user ''.

    Sound's Like a SQL Security thing...

    Dbl check all your SQL Connection strings, and test them on the IIS server..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  3. #3
    Join Date
    Feb 2011
    Posts
    15

    Re: Login failed for user ''.

    Hi GremlinSA,
    Can you tell me how to do that?

  4. #4
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Login failed for user ''.

    RDP to the IIS server (Remote Desktop if you cant access it physically) Fire up SSMS (Sql Server Management Studio) and test the SQL login ... and check this login to the one you have in your Web.config file...
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center