Solved

Haivng problem connecting IUSR to SQL database without giving sysadmin permissions.

Posted on 2008-10-24
2
632 Views
Last Modified: 2008-11-14
IIS 6.0--SQL 2005
I am trying to allow IUSR to access an sql database.  The error message is Login failed for user and error
18456, severity level 14 and state 11 in the SQL server log.  If I assign the IUSR account sysadmin roll then everything works.  I know that is not secure.  I added IUSR to the database security and gave it datareader and writer.  I have tried all kinds of combinations for the permissions on the database and also at the table but when I take away the sysadmin role IUSR then prompt the error message and the user can no longer access the database via the web form.  Any help would be greatley appreciated.
0
Comment
Question by:kdschool
2 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 500 total points
ID: 22838945
Hi

that is not a good idea.  better to make a new domain user for IIS and then give permission in SQL server to access the relevant database/s

cheers.
0
 

Author Comment

by:kdschool
ID: 22840679
I am not a member of a domain.  Should I make a new windows user or a sql server user and then
use that userid and password to connect to the database?  Then would I just give IUSR permissons at the folder level so it can access the html forms?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now