urko wrote:
Hi,
my conection string to the db is:
strDbPathAndName = Server.MapPath("/db/wwForum.mdb")
|
this works ok when i go to the forum www.mysite.net/forum/
however, as i have subdomain and when i type http://forum.mysite.net i get following error:
Microsoft JET Database
Engine 'C:\Inetpub\ftproot\LocalUser\foldername\mysite\forum\db\wwForum.mdb'
is not a valid path. Make sure that the path name is spelled correctly and that
you are connected to the server on which the file resides.
|
Not sure, what to do.
|
Well personally I would try setting strDbPathAndName to the actual physical path of the database (with the drive name & all the folders before it), like
strDbPathAndName = "C:\blah\blah\blah\db\wwForum.mdb"
That's what I do every time I need to connect to a database... see if that works...