Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not connect to the server
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Can not connect to the server
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01526478
Message ID:
01526478
Vues:
83
Hi everybody,

I have SQL Server 2008 R2 64 installed. I'm trying different connection strings and all result in errors. I use udl file and the connection succeeds, but trying to use it from VFP fails.

Do you know what can I use to make it work?
TEXT TO lcConnectioString NOSHOW PRETEXT 15
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=CardNumbers;Data Source=NAOMI-DELL
ENDTEXT

Handle = SQLSTRINGCONNECT(lcConnectioString)
IF Handle < 0
   AERROR(laError)
   MessageBox(laError[1,2])
ENDIF
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform