Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use server map path in web.config
Message
From
12/01/2006 01:39:45
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
How to use server map path in web.config
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Database:
Jet/Access Engine
Miscellaneous
Thread ID:
01085951
Message ID:
01085951
Views:
87
How i can use server map path in web.config
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("webbang.mdb")

i try but error
But this is working on locale(my pc)

<add key="Connection1String" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="/>  
<add key="Connection2String" value="D:\Projects\school\result.mdb"/>  
<add key="Connection3String" value=";Persist Security Info=False;User ID=Admin;Password="/>  
<add key="Connection1Type" value="OleDb"/>  
<add key="Connection1Server" value="MSAccess"/>
thanks
Reply
Map
View

Click here to load this message in the networking platform