Database Deployment problem ?

M

Mark

How to avoid the connection string problem when i try to deploy my
application on an another computer

I'm using an Access 2003 db an get an error when i try to use my prog.
The programs can't find the db. and try to reach the db with the wrong path
E:\database\yyyy.mdb who doesn't exist on the pc

There is a solution like "Server.MapPath" to retrieve the path of the
installed application ?
Or any other solution ?

I'm using OLEDB and no DSN
the problem is only in the conection string cause if i put the db in a
coressponding path on the computer everything work fine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top