1
Reply

C# app.config

dc

dc

Jan 30 2013 1:03 AM
1.4k
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?

Answers (1)