I have a solution with three projects in it. Two are windows forms applications and the third is a class library. I am trying to deploy the projects which use a single database located in one of the windows forms applications projects. the connetion string to the database resides in the Application Settings of the class library project. I need to change the connection string located in the application settings to match the path that the users installs the application to. right now, the application settings are not changed at all and the application is looking for the database on the path that i set on me dev computer.
Here is the value of the application setting:
Data Source=.\SQLEXP RESS;AttachDbFi lename="C:\Docu ments and Settings\Mfurib ondo\My Documents\Visua l Studio 2005\Projects\P roj - GEMSoft Version 1\GemSoft\OTCAp plication\Datab ase\GEMSoft_Dat abase.mdf";Inte grated Security=True;C onnect Timeout=30;User Instance=True
You can see that it is looking on my local dev computer.
In short, i am looking for the best way to deploy a project that uses an internal database file and connection string.
any suggestions are greatly appreciated.
Here is the value of the application setting:
Data Source=.\SQLEXP RESS;AttachDbFi lename="C:\Docu ments and Settings\Mfurib ondo\My Documents\Visua l Studio 2005\Projects\P roj - GEMSoft Version 1\GemSoft\OTCAp plication\Datab ase\GEMSoft_Dat abase.mdf";Inte grated Security=True;C onnect Timeout=30;User Instance=True
You can see that it is looking on my local dev computer.
In short, i am looking for the best way to deploy a project that uses an internal database file and connection string.
any suggestions are greatly appreciated.
Comment