Link to home
Start Free TrialLog in
Avatar of Graeme McGilvray
Graeme McGilvrayFlag for Australia

asked on

changing over the ServerPath link

Hi all, just moving my site to SmarterASP hosting and having some issues with the database line....

This is error

Microsoft JET Database Engine error '80004005'
'E:\core\activcore.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.

oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("core/activcore.mdb")

Open in new window

'E:\core\activcore.mdb' - is the old serverpath, how do i convert it to the new one.

Cheers in advance
Avatar of Big Monty
Big Monty
Flag of United States of America image

what is the new path?
Avatar of Graeme McGilvray

ASKER

h:\root\home\webber4-002\www\sites
try:

oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=h:\root\home\webber4-002\www\sites\activcore.mdb"
ASKER CERTIFIED SOLUTION
Avatar of Graeme McGilvray
Graeme McGilvray
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Linked Tables