Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Urgent!! Problems running EXE over network
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00247225
Message ID:
00247818
Views:
18
Mark,
My $.02:
We've have seen this happen when code references ambiguous objects in code, and
depending on the PATH of the users workstation, the wrong object gets executed.
For example:
DO MYPROG
actually has fox look for MYPROG.EXE, MYPROG.APP, MYPROG.FXP, then MYPROG.PRG
If it finds MYPROG.EXE, which is not a fox EXE, this error appears.
Make sure in code you are specifying DO MYPROG.FXP

Also, we've had some fox network problems clear up by marking the .EXE read-only in the OS. Don't ask me why, and I can't swear by it, but its worth a shot.


>I'm running into a really confusing problem that is just destroying the credibility of VFP here. We have a VFP exe that seems to have problems when the EXE is located on our workgroup server and is executed on a client PC. In our workgroup, everybody has the VFP runtime installed on their PC (yes, SP3), and they have a shortcut on their desktop pointing to a compiled VFP exe (about 500K in size) that is sitting on our server. We like this approach because upgrading the app requires only that we upgrade the EXE on one machine. However, we frequently run into this problem: The application bombs with error messages that suggest that the EXE itself is becoming corrupt as it is being accessed/loaded over the network. For example, we get sporadic error messages that a procedure that is included in the EXE is not found. If the procedure is named MYPROC (and was of course included in the VFP project as MYPROC.PRG), we will get an error message saying something like:
>
>"C:\Windows\Temp\MYPROC.FXP is not an object".
>
>The app is relatively simple in terms of the demands it puts on the network. It only accesses one table (also stored on our workgroup server, with a memo file and 3 index tags). Plus, the table is very small, only 200 or so records. The app runs fine a lot of the time. The error is sporadic and unpredictable. The app runs perfectly when run on the workgroup server itself or whenever I run it on my notebook computer or my standalone desktop computer at home. If you have seen any problems like this, PLEASE RESPOND!! In particular, if this is a network problem you have seen before, I need to know what to tell our network gestapo here so the problem can be fixed. Thanks very much!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform