Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE can't find server, VFP IDE has no problem
Message
From
23/12/2014 13:25:14
 
 
To
23/12/2014 13:11:39
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:
01612658
Views:
48
>>
>>(Weird) UPDATE: On a network share I am able to run the EXE when there is NO config.fpw. As soon as I include a config.fpw the exe cannot connect to the backend SQL Server database.
>>I have spent the morning trying to find different system variables, SETs but haven't pinpointed it yet.
>>BTW, I do not have a config.fpw in my VFP home directory. If one does not exist, is there an internal one that VFP uses?
>>Thanks Al for pointing me to the config.fpw!
>>Ed
>
>This article will answer most of your questions. http://rickschummer.com/blog/2008/06/vfp-include-configfpw-in-exe.html

LOL, that's the article that got me into trouble in the first place! I used Rick's stripped down version of the config.fpw and finally figured out it is the config.fpw itself that is causing issues (even a stripped down one). There must be something VFP IDE loads (or perhaps the VFP.EXE has certain permissions on my company network) that is different than my compiled exe.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform