Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection string format
Message
From
07/11/2008 16:09:46
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Connection string format
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360597
Message ID:
01360597
Views:
63
How do you format a connection string path when the data is in a folder under the app_data folder?

I have
<add name="vfpRTP2" connectionString="Provider=VFPOLEDB.1;Data Source=|DataDirectory|2040sharedfiles\2040rtp.dbc" providerName="System.Data.OleDb"/>
Which works when I run the form but fails when I configure the datasource.

The problem seems to be with the folder delimiters. I have tried several combinations but can't find the right one.

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform