Results 1 to 7 of 7

Thread: [solved] a question about deployment of database in ASP.net

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member temp_12000's Avatar
    Join Date
    Jan 2004
    Location
    LA, USA
    Posts
    411

    Resolved [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
  •  



Click Here to Expand Forum to Full Width