How to set permissions on SQL Server Epress for access to DB

Posted on 2007-09-28
Last Modified: 2012-05-05
I have an application that employs IIS and a database running on SQL Server Express.
I have installed the application and created the database. IIS is up and running.
However, when I try to open the hope page, I get a page error.
I have a feeling this is beacuse I don't have permissions set on the SQL server.
I am using NT authentication.
Can anyone tell me what other permissions I need to set in SQL server so a user can connect to this DB?
Question by:ainselyb
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    >However, when I try to open the hope page, I get a page error.
    what error?

    >Can anyone tell me what other permissions
    other the what? ie what permissions did you put already?

    Author Comment

    I am using SQL server Express.
    The application has a text file which you configure with a username and password.
    I created a domain user (user only) and added the credential to the text file.
    I think went into SQL and added the user under security, login.

    I also added the user grant permissions in the DB security itself.
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    looks fine so far...
    so: what error?

    Author Comment

    It is just not loading the login.asp page which I am assuming is a DB security issue.

    Is there a log I can look at to see if this is the case?
    LVL 142

    Accepted Solution

    then you need to add error handling to the login.asp page, to know the error message.
    otherwise, no way to solve the problem.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This article describes some very basic things about SQL Server filegroups.
    Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 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

    23 Experts available now in Live!

    Get 1:1 Help Now