Re: Authentication with Win2003 Enterprise

From: Kristofer Gafvert (kgafvertONLINE_at_ilopia.com)
Date: 05/09/03


Date: Fri, 9 May 2003 12:27:36 +0200


Hi,
what do you mean by "ask"? When does it ask for this user? Are you using a
Web application that uses SQL Server and it's this that is causing this?
This maybe helps, if you are using a web application:

http://www.ilopia.com/windows2003/search.aspx?qid=62
Q62: I installed IBS (IBuySpy) portal and/or Store. When I try to run it I
get this error message:
"Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
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."
What is wrong?

NT AUTHORITY\NETWORK SERVICE is an account used by IIS. When you run web
applications, it will use this account to authenticate to all resources it
is trying to use (in this case SQL Server or MSDE). So we have three
different ways to solve this, grant NT AUTHORITY\NETWORK SERVICE logon
rights to the database, create a SQL Server/MSDE user and use that, or
change the account which IIS is using. The first option is the most simple
one. To grant this user logon rights, you can use Enterprise Manager if you
have SQL Server or a utility called osql if you are using MSDE. To do this
with osql, follow these steps [... for more info, see web page]

-- 
Regards,
Kristofer Gafvert
http://www.ilopia.com - FAQ and Tutorials for Windows Server 2003
Reply only to newsgroup(s), if you by some reason must contact me, remember
to remove the "online" part of my address.
"Bürgen Straüß" <b_strauss@hotmail.com> wrote in message
news:#8YM89FFDHA.2264@TK2MSFTNGP12.phx.gbl...
> I originally has the SQL-SP3 server set to use Windows Only, I now have it
> set to Mixed mode, but yet it continually asks for a non-existent
> account/group:
> "NT AUTHORITY\NETWORK SERVICE"
>
> That occurs regardless of what user_id I set, whether it be sa,
> Administrator or a_user.
>
> This occurs regardless of whether I attempt it locally, or from a
different
> machine.
>
> Any ideas?
>
>


Relevant Pages

  • Re: Error 15401 using sp_grantlogin (not addressed by current KB articles)
    ... Restarting Windows 2000 resolved the problem for this particular account, ... confused when it sees a duplicate SID. ... > One way to get SQL Server to agree with the renamed NT ... > Preview (to ensure the script was created), ...
    (microsoft.public.sqlserver.security)
  • Re: SharePoint V3 Install Error
    ... But it our case it had to do with Group Policies that forbid the account of ... WSS FAQ:www.wssv3faq.com/wss.collutions.com ... Event Source: WindowsSharePointServices3Search ... whatever you are installing WSS as sufficient rights to the SQL Server ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: Problems with WebParts
    ... to a database called aspnetdb. ... > The connection string specifies a local SQL Server Express instance using a ... > server account must have read and write access to the applications directory. ... > This is necessary because the web server account will automatically create ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot connect to Query Analyzer
    ... For Query Analyzer, I tried replacing the file as you suggested but had the ... same results (Enterprise Manager starts up fine, ... I created an account on my laptop and changed SQL ... Try replacing the MMC app for SQL Server from the original ...
    (microsoft.public.sqlserver.connect)
  • Re: Does anyone know how to fix this??
    ... > Inside the Active Directory Users and Computers in the folder of SYSTEM I ... Give the site's SMS Service account full control rights to the ... MP encountered an error when connecting to SQL Server. ...
    (microsoft.public.sms.setup)