Advertisement

05.09.2008 at 03:57AM PDT, ID: 23388882
[x]
Attachment Details

asp.net deployment - sql server authentication

Asked by waymac in .Net Editors & IDEs, Deployment Software for Development, SQL Server 2005

Tags: asp.net c#

I am developing an asp.net app that will be distributed to unknown users once completed. I have created a web setup project with sql server as a prerequisite and everything installs fine on target machines. The problem I have is when it comes to connecting to the sql server.

I am using windows authentication, and this requires the machinename\aspnet user to have access to the db. However, I obviously don't know the machinename of every client that will want to install it. This leads me in to thinking that it might be best to go for sql server authentication instead of windows.

Is it possible to configure the sql server installation (that happens at program installation) to use sql server authentication and specify username/password to match that in web.config? I want the install process to happen as seamlessly as possible, without the client having to install management studio and mess about with config themselves.

If there are any other suggestions I would be eternally greatful, or if you think I'm barking up the wrong tree with this do let me know. I'm open to suggestions.

Many thanksStart Free Trial
[+][-]05.09.2008 at 05:21AM PDT, ID: 21532006

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.09.2008 at 06:32AM PDT, ID: 21532551

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.09.2008 at 06:34AM PDT, ID: 21532581

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.09.2008 at 06:50AM PDT, ID: 21532748

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 01:49AM PDT, ID: 21580958

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, Deployment Software for Development, SQL Server 2005
Tags: asp.net c#
Sign Up Now!
Solution Provided By: waymac
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628