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 09:18:05
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01256223
Message ID:
01256254
Views:
14
:o) Yeah, silly me. I know. I don't know what I was thinking! :o) It just dawned on me when I was replying to you what I was actually doing. I guess I got so used to having an odbc connection configured on my dev machine that I got into the habit of just using that name (I always use the same name for the odbc connection as the database itself) when I connect in testing...



>Tracy,
>
>The parameter to SQLCONNECT has to be either DSN or DBC connection name. You cannot just use Database name.
>
>>'0 Connectivity errro: Data source name not found and no default driver specified. However, I can use the same format to connect to any other database. I can do:
>>
>>?SQLCONNECT([database name])
>>
>>I just created an ODBC Connection and it connects fine...
>>
>>Yikes, ok, it works now from VFP as well... Sheesh.
>>
>>Thanks Sergey. :o)
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform