Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEdb connect string in app.config
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01001016
Message ID:
01001720
Vues:
14
Thanks, cannot see the forest for the trees!


>Glenn,
>
>>I need to enter the following connect string in the app.config file and the xml parser is puking!
>>
>><add key="VAL\Connection" value="User ID=;DSN=;Cache Authentication=False;Data Source="C:\DEV\VDEV\VALTEST\VAL4\DATA\DATABASE.DBC";Provider="VFPOLEDB.1";Collating Sequence=MACHINE;Mask Password=False;persist security info=False;Mode=Share Deny None;Extended Properties=;Encrypt Password=False" />
>>
>
>You need to remove the double quotes from your Source and Provider like this:
>
>
<add key="VAL\Connection" value="User ID=;DSN=;Cache Authentication=False;Data Source=C:\DEV\VDEV\VALTEST\VAL4\DATA\DATABASE.DBC;Provider=VFPOLEDB.1;Collating Sequence=MACHINE;Mask Password=False;persist security info=False;Mode=Share Deny None;Extended Properties=;Encrypt Password=False" />
>
>I recommend checking the MM .NET Dev Guide topic "Specifying connection strings in the config file". It has a number of different sample
>
>Regards,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform