Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Configuring SQL Server Express for remote access
Message
De
19/07/2006 14:13:08
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
19/07/2006 14:04:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Divers
Thread ID:
01137733
Message ID:
01137754
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>Well I got it working if I change from the default TCP/IP to using Named Pipes. The string that worked is:
>
>DRIVER=SQL SERVER;SERVER=\\SAMAAN3\SQLEXPRESS;Trusted_Connection=Yes;Address=\\SAMAAN3\pipe\MSSQL$SQLEXPRESS\sql\query;APP=Microsoft Data Access Components;WSID=SAMAAN5;DATABASE=mist2006;
>
>So I basically added in the Address=\\SAMAAN3...
>
>Assuming TCP/IP is going to be the default connection type on most servers I would love to get it to work on that. Any ideas?

I haven't had a chance yet to play around with SQL Server Express but I imagine it's similar to SQL Server 2000. With the latter, broadly speaking you need to:

- configure SQL Server to allow remote connections via TCP/IP

- if the machine the DB server is running on is also running a firewall (e.g. XP, Server 2003) that firewall also needs to be configured to allow incoming connections. By default it's port 1433, but this can be changed at both ends for added security
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform