Question correct connection string?

rafi

Member
Joined
Aug 10, 2011
Messages
14
Programming Experience
Beginner
hi i have hosted asp.net application but there is showing error in sql which is not give correct connection string. please tell me how to give connection string when uploading into server.
thanks in advance.
 
We have no idea what database you're connecting to, where it's located or what your current connection string looks like. It's going to be a bit hard for us to tell you what the correct connection should look like.
 
Asp.net

My Database is mssql2005
my Connection String is <add name="AddressBookConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Blog.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>

i have keep databse in app_data folder
 
Back
Top