T
Tony Girgenti
Hello.
Developing a web site in VS2005, SP1, VB, .NET 2.0, ASP.NET 2.0, SQL Server
Express on XP Pro,
SP2.
In my web.config file, if my connection string looks like this:
"connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename="C:\Documents and
Settings\Administrator\My Documents\Visual Studio
2005\WebSites\CoyneWebSite\App_Data\CoyneWebDatabase.mdf";Integrated
Security=True;Connect Timeout=30;User Instance=True"
providerName="System.Data.SqlClient"/>"
Shouldn't i be able to change it to "~/App_Data/CoyneWebDatabase.mdf"?
So that when i upload my website to my host it looks for "App_Data" off of
the root of the website.
Any help would be gratefully appreciated.
Thanks,
Tony
Developing a web site in VS2005, SP1, VB, .NET 2.0, ASP.NET 2.0, SQL Server
Express on XP Pro,
SP2.
In my web.config file, if my connection string looks like this:
"connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename="C:\Documents and
Settings\Administrator\My Documents\Visual Studio
2005\WebSites\CoyneWebSite\App_Data\CoyneWebDatabase.mdf";Integrated
Security=True;Connect Timeout=30;User Instance=True"
providerName="System.Data.SqlClient"/>"
Shouldn't i be able to change it to "~/App_Data/CoyneWebDatabase.mdf"?
So that when i upload my website to my host it looks for "App_Data" off of
the root of the website.
Any help would be gratefully appreciated.
Thanks,
Tony