Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection Handle is Invalid
Message
De
25/06/2002 01:05:45
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00671838
Message ID:
00671901
Vues:
14
>I often get this problem, i have a Database on SQL Server, and i access this via DSN and remote views in foxpro, can someone help me with this problem?
It can be many reasons for this. Server does not work ( not running),tcp/ip protocol in your net failed, number connection on the server was exided allowered number and many others. ( check share connection property, if it is not, any new open remote view uses new connection and soon all fail)
If you will work not with remote views, but with sqlpathtrough , you can close connection and open when it neccesary by
public con
con=sqlconnect()
If con>0, you can work,
if con<0, analize aerror with code 1526, and look the reason
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform