Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Connect from VFP but can in Mgmt Studio on Same PC
Message
From
24/09/2007 15:45:38
 
 
To
24/09/2007 08:46:31
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01256223
Message ID:
01256457
Views:
13
>SQL Server 2005. I copied a SQL 2005 database from another machine (detached it first. I can connect directly in SFT SQL Server Mgmt Studio, but I cannot connect from VFP using SQLCONNECT(). I've overlooked something. My login is the db_owner and everything else. Any ideas? SQL Server is running on the same machine that I have VFP9 on. It is setup for both SQL Server and Windows Authentication and I can connect to every other database I have attached.
>
>TIA,
>
>Tracy

Why not use SQLSTRINGCONNECT()?
That is DSNless connection and I am sure you could not forget that you use DSN with it :-)
Just because you have to set the driver, database (not mandatory), type of connection (either username and password either trusted_connection=true).
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform