-
correct connection string?
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.
-
Also, if the app is hosted, why aren't you asking your host what the connection string should be?
-
Asp.net
My Database is mssql2005
my Connection String is <add name="AddressBookConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\Blog.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
i have keep databse in app_data folder
-
Does your host have a SQL Server Express instance named SQLEXPRESS?
-
-
What's the actual error message?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks