Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

    I'm getting a Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' error. I'm running IIS 6 on 2003 Server
    The error occurs when my asp.net page trys to execute a DTS package stored on another server (same domain). I'm using a sql login - not windows authentication - to connect sql server. Why is the app trying to connect with the Anonymous Logon????

    Everything works great when I'm at the IIS machine logged on as an administrator

    Anonymous authentication is disabled. Windows authentication is enabled

    The app can read from the same db that stores the DTS package without any problem. So...I know there is nothing wrong with the sql login.
    mt Guest

  2. Similar Questions and Discussions

    1. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
      Hey Nick.... Will you please specify, exactly how you do what you describ? Creating what role where and how! I would be very pleased if you...
    2. Pls Help : WINNT user/Anonymous login error in Webservices ?
      Hi, am using Sqlserver as a database which connects thru WINNT Authentication. I wrote a simple webservice which has 2 public functions ,one...
    3. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' msg
      Hey Guys, I have inherited an evil app that I am trying to fix. It is a VB6 desktop app, that I am trying to port to the web using VB6/com+/ASP...
    4. login failed for user \aspnet
      I am new to MSDE 2000. Installed this yesterday using windows installer, deafult settings(no change in authentication). a. I want to create...
    5. Login failed for user...
      I'm trying to set up a subscription from a transactional publication. The publication works find but when I try to push or pull a subscription to...
  3. #2

    Default RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

    I am working through this very thing (a little different)

    You probably have to build a credential cache

    Dim credCache As New System.Net.CredentialCach
    Dim uid As Strin
    Dim pwd As Strin
    dim ws as new my.webservic

    uid = "realUser
    pwd = "realPassword

    credCache.Add(New Uri(ws.Url), "Basic", New System.Net.NetworkCredential(uid, pwd)
    ws.Credentials = credCach

    ws.method(

    This will likely work. Obviously you won't want to keep real Passwords and user ids in your program.
    mklapp Guest

  4. #3

    Default RE: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

    What is probably happening is that your Windows Account is coming into SQL Server and since SQL Server is using SQL Login to authenticate it doesn't recognize you Windows Account. I would look at creating a new SQL Server Login and add your Windows Domain Account to that Login. That should work.....
    Paul p Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139