?
Solved

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

Posted on 2008-10-24
2
Medium Priority
?
640 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 1500 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

771 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