gippy
Starting Member
Australia
2 Posts |
Posted - January 27 2013 : 18:22:22
|
Hi
I'm having issues with installing an upgraded site to a webserver in regards to the db location. The site works perfectly locally with the db location set to 'C:\inetpub\wwwroot\wagongacoffee\database'.
However, when I've uploaded the site to the hosting server with the location set to wagongacoffee\database I get the following error:
error opening database : Open Messages 'c:\windows\system32\inetsrv\wagongacoffee\database\wagonga700.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.
error opening database : Open Messages 'c:\windows\system32\inetsrv\wagongacoffee\database\wagonga700.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.
ADODB.Recordset error '800a0e7d'
The connection cannot be used to perform this operation. It is either closed or invalid in this context.
/admin/wag-ctrl.asp, line 0
The last part of the string is correct, i.e. wagongacoffee\database\wagonga700.mdb'. Is there a way of keeping the path statement relative to the site and not back to the root of the server or do I need to know the entire folder path?
Any assistance would be appreciated.
Gavin |
|