Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE can't find server, VFP IDE has no problem
Message
From
20/12/2014 21:09:01
 
 
To
18/12/2014 22:43:53
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01612426
Message ID:
01612490
Views:
66
>Hi all,
>I'm having a tough time solving an issue and hope the experts around here can help.
>
>I've written a small VFP9 exe that connects to SQL Server 2005 using SQLSTRINGCONNECT(). Running it from the VFP command window, it works like a charm. I run the exact same EXE from Windows explorer and an MS SQL Server Login error displays, Connection failed... etc. I have tried many different things to resolve this but just can't seem to solve it.
>
>I am using an ODBC connection.
>
>It seems to be a permissions issue but I just can't figure why the VFP IDE would have no problem but the standalone exe does.
>
>Ideas?
>Thanks,
>Ed

Where do you have the EXE installed (directory path)? Is is on the same machine as the IDE?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform