|
-
Nov 2nd, 2004, 06:17 PM
#1
Thread Starter
Hyperactive Member
[solved] a question about deployment of database in ASP.net
i have a Access database, the connection string is:
ConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C: \Inetpub\wwwroot\MyBooks\MyBooksDB.mdb"
When I run it on local machine, everything is ok. The mdb file is under website's root \MyBooks\
now I deploy it to the a host, it reports error about the database. obviously, it can not find the mdb file. How can I change the connection string?
thx
Last edited by temp_12000; Nov 2nd, 2004 at 07:39 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|