host Conection string
my database attach in my asp website
I'm connected with the following conection string in my pc :
Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=true;User Instance=true
Now my database I uploaded my site but it takes connection string error
What should my connection string I set ?
Me all about my site, I copy my httpdocs folder
I'm connected with the following conection string in my pc :
Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=true;User Instance=true
Now my database I uploaded my site but it takes connection string error
What should my connection string I set ?
Me all about my site, I copy my httpdocs folder
Hi Milad
Can you please provide the error you get!
It might be though that the mdf database file is not located in the correct directory. For a web app its supposed to be located in a "App_Data" folder located in the web root directory. This is a common error.
Did this resolve the problem?
Else, please post the error you get!
Can you please provide the error you get!
It might be though that the mdf database file is not located in the correct directory. For a web app its supposed to be located in a "App_Data" folder located in the web root directory. This is a common error.
Did this resolve the problem?
Else, please post the error you get!
Selected Articles
