Click here to Skip to main content
13,505,493 members


QuestionC# app.config permission Pin
classy_dog29-Jan-13 19:11
memberclassy_dog29-Jan-13 19: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:
   <add name="DEVConnectionString" connectionString="Data Source=dev2008;Initial Catalog=DEV;Integrated Security=True"
     providerName="System.Data.SqlClient" />

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 21:15
mvpRichard MacCutchan29-Jan-13 21:15 
AnswerRe: C# app.config permission Pin
LokoLuke30-Jan-13 0:35
memberLokoLuke30-Jan-13 0:35 
AnswerRe: C# app.config permission Pin
Shameel30-Jan-13 3:22
memberShameel30-Jan-13 3:22 
GeneralRe: C# app.config permission Pin
jschell30-Jan-13 8:07
memberjschell30-Jan-13 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 |
Web04 | 2.8.180417.1 | Last Updated 22 Apr 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid