Quantcast
Channel: Adobe Community : All Content - ASP VBScript Development (read only)
Viewing all articles
Browse latest Browse all 106

Dreamweaver not recognizing mappath

$
0
0

Hello,

I just moved from Dreamweaver CS3 to CS5.  I have a working (for years) website developed in CS3 I now find that although my site works fine on both my local PC (WIndows 7, IIS) and my ISP I cannot get Dreamweaver to connect using a connection string with a mappath reference.  This connection file has not changed in years.  The code that works in real life, but not in development is:

 

MM_SCORE_Sched_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.Mappath("..\Database\SCORE_Sched.mdb") & ";Persist Security Info=False"

 

I have to create a temporary connection file using a direct reference to the database for Dreamweaver to connect.  Once a change is working I can post it to my ISP with the above code and it works fine. 

 

The error I get in Dreamweaver whenever I try to test the connection is :"Format of the initialization string does not conform to OLE DB specification.

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>