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 8056249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:39:04+00:00 2026-06-05T08:39:04+00:00

My connection string defined in Web.Config currently indicatea no user or password is needed:

  • 0

My connection string defined in Web.Config currently indicatea no user or password is needed:

<connectionStrings>
    <add name="CinemaxConnectionString" connectionString="Data Source=PCName\SQLEXPRESS;Initial Catalog=Cinemax;Integrated Security=True"
      providerName="System.Data.SqlClient" />
  </connectionStrings>

I would like to add user and password, like this:

<connectionStrings>
    <add name="CinemaxConnectionString" connectionString="Data Source=PCName\SQLEXPRESS;Initial Catalog=Cinemax;User=cinemax; Password=abc"
      providerName="System.Data.SqlClient" />
  </connectionStrings>

Obviously, this requires changing some settings in Sql Server to add user and password. What is the best way to do this? I specify I have Sql Server 2005 Express and the current authentcation mode is “Sql Server and Windows Authentication”.
Thank you in advance for your help.
It would be nice to see a double take on this: user-interface and code solution.

  • 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-05T08:39:05+00:00Added an answer on June 5, 2026 at 8:39 am

    The below statements would do the job for you.

    CREATE LOGIN cinemax WITH PASSWORD = 'abc';
    
    GO
    
    CREATE USER cinemaxUser FOR LOGIN cinemax
    
    GO
    
    GRANT SELECT TO cinemaxUser
    
    GO
    
    GRANT INSERT TO cinemaxUser
    
    GO
    
    GRANT UPDATE TO cinemaxUser
    
    GO
    
    GRANT DELETE TO cinemaxUser
    
    GO
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a connection string defined in my web.config like: <connectionStrings> <add name=LibraryConnectionString connectionString=Server=.\SQLEXPRESS3;Database=Library;Integrated
I defind the connection string in web.config <ConnectionStrings> <add name=student connectionString=Server=student;Max Pool Size=300;Initial Catalog=studentDB;User
Good Day, I have two connection strings defined in my web.config file. <connectionStrings> <add
I have this connection string <add name=ApplicationServices connectionString=Data Source=local;Initial Catalog=mycatalog;Integrated Security=True providerName=System.Data.SqlClient/> The problem
If I have a connection string defined in my web.config file, how do I
Is it possible to modify the connectionstrings defined in the app.config/web.config at runtime? I
I was trying to built a asp.net web app with the connection string defined
I have a connection string like this: SERVER=localhost;DATABASE=tree;UID=root;PASSWORD=branch;Min Pool Size = 0;Max Pool Size=200
I'm currently attempting to read information about an object from the web.config file and
I have the following ASP.NET Membership section defined in the Web.config file: <membership defaultProvider=AspNetActiveDirectoryMembershipProvider>

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.