Ask a Question related to ASP Database, Design and Development.
-
Pierre Semaan #1
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
with a sql server 2000 db. Well, up until now, everything has been
good. That is, until I tried to port the "add invoice" piece over to
the web. That is when I get the "Login failed for user 'NT
AUTHORITY\ANONYMOUS LOGON'" error. The database has Mixed Mode
authentication set up, and the connection string logs-in as follows:
ConnectString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist
Security Info=False;User
ID=existingdatabaseuser;Password=userpassword;Init ial
Catalog=databasename;Data Source=servername". When I try to update a
table that has a default value of the id number that corresponds to
the existingdatabaseuser (looks up an id number in a table that
essentially mirrors the database log-in name and adds more user
related info by using "SET @EmployeeNumber = ISNULL((SELECT
TblSecurity.Employee_number FROM dbo.TblSecurity WHERE
TblSecurity.Userid = SYSTEM_USER),0)"), I get the error.
I know that the auth_user is the user that is currently logged into my
machine. I have "anonymous access" and "integrated Windows
Authentication" set up on the web server, which is the obvious reason
for this. Is that part of the problem? The Auth_User is not someone
who is in either the database security table, and by extension the
database user list, but is in fact a domain user.
How can I fix it so that the username that is logged in is also the
"network" user so that it can work? I can't make a lot of changes to
the database, since it is in use by the other desktop system, so it is
even harder to fix. Any help would be greatly appreciated! Thanks a
bunch!
Any responses sent directly to either the group or myself, or both
would be greatly appreciated. Sorry for the cross-posting, but I am
at my whits end! :)
Pierre
Pierre Semaan Guest
-
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... -
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... -
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... -
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... -
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...



Reply With Quote

