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:
00247383
Views:
20
>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!!!

Have you tried running it from the local machine? You can actually upgrade a lot easier if you do it that way (you don't have to get everyone out of the software). Our program is aware of whether it needs to be updated by checking for the existence of a txt file on the network. If it is not found, or the date inside the file does not match a similar file on the local machine, the program exits and calls another small VFP exe that copies the new version down to the workstation.
I know it sounds confusing, and like a lot of trouble, but you will get better application response, take the network out of your problems, and be able to update users whenever you want without interrupting them.

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform