Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use server map path in web.config
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How to use server map path in web.config
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Database:
Jet/Access Engine
Divers
Thread ID:
01085951
Message ID:
01085951
Vues:
90
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
Répondre
Fil
Voir

Click here to load this message in the networking platform