Click here to Skip to main content
11,434,743 members (44,931 online)
   

C#

 
QuestionC# app.config permission Pin
classy_dog29-Jan-13 20:11
memberclassy_dog29-Jan-13 20:11 
In a C# 2010 windows application, I am using the following to connect to a sql server 2008 r2 database.

The app.configuration file looks like the following:
 <connectionStrings>
    <add name="DEVConnectionString" connectionString="Data Source=dev2008;Initial Catalog=DEV;Integrated Security=True"
      providerName="System.Data.SqlClient" />
  </connectionStrings>
The problem is once someone besides myself runs the application, it will not run correctly.
Thus I am assuming that the Integrated Security=True needs to be changed to a username and password that is setup for the
application to run.

Is my assumption correct? If not, would you be able to tell what I need to do so someone besides myself can run the application?
AnswerRe: C# app.config permission Pin
Richard MacCutchan29-Jan-13 22:15
mvpRichard MacCutchan29-Jan-13 22:15 
AnswerRe: C# app.config permission Pin
LokoLuke30-Jan-13 1:35
memberLokoLuke30-Jan-13 1:35 
AnswerRe: C# app.config permission Pin
Shameel30-Jan-13 4:22
memberShameel30-Jan-13 4:22 
GeneralRe: C# app.config permission Pin
jschell30-Jan-13 9:07
memberjschell30-Jan-13 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 5 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid