Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8621003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:43:07+00:00 2026-06-12T06:43:07+00:00

I have a Sitefinity ASP.NET web site which has a database Db1 . I

  • 0

I have a Sitefinity ASP.NET web site which has a database Db1. I have the database attached to SQL Server Management Studio.

When I run the ASP.NET application, it doesn’t seem to have permission to access the database. Sitefinity fails to connect to the existing db, then tries to create a new db, which it throws this error:

CREATE DATABASE permission denied in database ‘master’

The connection string is:

<add connectionString="data source=localhost\sqlexpress;Integrated Security=SSPI;initial catalog=Db1" providerName="System.Data.SqlClient" dbType="MsSql" name="Sitefinity" />

In SQL Management Studio, I connect to the localhost\SQLEXPRESS instance using Windows Authentication.

I think the problem is, I need to give the ASP.NET process user, permission to access the database Db1. Where can I find this user and how can I give permission?

I’m also unsure if the app should be using a proper SQL Server user to connect instead of Windows Authentication.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:43:08+00:00Added an answer on June 12, 2026 at 6:43 am

    The most direct, and portable/deployable, solution, is to switch to SQL Server Authentication.

    In SSMS, expand the security tab for the server, and add a user with a suitable name and password. Be sure to uncheck the “must change password at next logon” checkbox.

    Then, expand the security tab for the database, add the user, and add it to whatever roles are necessary. For debugging you may just want to add it to the db owner role.

    This is helpful because all of the relevant settings are stored within your app config and the database itself, making deployent a cinch, and you don’t need to worry about keeping application user accounts updated when passwords expire, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing ASP.NET website which I would like to painlessly add CMS
I have a web application project that I am integrating with Sitefinity. I am
I am trying to create a .bat file that starts the ASP.NET Dev Server
I'm working with a product called SiteFinity. I have a class which looks like
I have set up a widget for the backend of my Sitefinity site that
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Merging the web.config files of a legacy ASP.NET App and a new MVC app
I'm developing a website using SiteFinity in Visual Studio 2008. This is a web
We have a new Sitefinity site that is replacing our marketing site. The switchover

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.