Click here to Skip to main content
12,451,251 members (52,215 online)
   

C#

 
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:
<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 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 | Mobile
Web02 | 2.8.160826.1 | Last Updated 27 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid