does sql user need to be an admin?

From: Dan C. (danc@nospam.com)
Date: 12/10/02


From: "Dan C." <danc@nospam.com>
Date: Mon, 9 Dec 2002 17:35:20 -0800


I have an application that logs onto SQL server using
integrated Windows authentication.

On client machine:
Created an account called "APPUSER" that belongs to
the "Users" group. The application (actually a web app)
uses impersonation to create a database connection using
that account.

On server machine:
Created the same account and also added it to SQL server
with rights to the desired table.

The problem I have is that if that account does not belong
to the "Administrators" group, I get a message that the
user is not a member of a trusted SQL connection. If the
account belongs to the administrators group then
everything works perfectly.

I do not want clients to use an administrative account to
access the database. Does anybody know what I am
missing? "Everyone" has "full control" to the sql server
directory.

Thanks in advance.

Dan



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)