0 Replies - 761 Views - Last Post: 25 March 2010 - 11:03 AM Rate Topic: -----

#1 hemo  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 70
  • Joined: 02-January 07

Connection string to remote server

Posted 25 March 2010 - 11:03 AM

I am using an ms access database for my gueatbook.aspx page. It works on my localhost, located on F:\ but not when uploaded to my remote host server. Failure; connection string for the access.mdb. My connection string for the localhost is:
Dim strConn as string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("Attend.mdb") & ";"


According to my remote host server the path to my webspace is \\PDC1\sites\f\friendsofsjch.co.uk\public_html I have tried many ways adding this to my connection string without success.

Additional info. Web.config file:
<add name="AttendConnectionString3" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\attend\Attend.mdb"
            providerName="System.Data.OleDb" />

help would be appreciated.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1