Hi, i have encoutered following problem. I have asp.net application named "Blog" and DLL with database named "DataAccess". DataAccess is referenced to Blog. The Connection String that works and is located in Blog looks like: <connectionStrings> <add name="BlogDatabase" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\THERE\IS\FULL\PATH\Projects\BloggProject\DataAccess\App_Data\BlogDatabase.mdf;Integrated Security=True;Connect Timeout=30"/> </connectionStrings> but what i want is something like this: AttachDbFilename=~\DataAccess\App_Data\BlogDatabase.mdf where DataAccess is my DLL folder, i mean i want a connection string that is located in my asp.net application that points to this dll not only on my PC.
Server=myServerAddress;Database=myDataBase;Trusted_Connection=True
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)