In TheSoccerSite, the connection string is defined in the Connections folder in the file connTheSoccerSite. By default it looks like this:
MM_connTheSoccerSite_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\Webroot\TheSoccerSite\Data
base\TheSoccerSite.mdb;"
You need to replace the physical path with the dynamic part, like this:
MM_connTheSoccerSite_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=" &
DynamicPart & ";"
Depending on where your database resides,
DynamicPart can be something like:
Server.MapPath("/databases/YOURDATABASE.mdb")
assuming you have your database in a folder called databases in the root.
Does this help?
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.