Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Product is in use by another
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00145023
Message ID:
00145178
Views:
38
>I have a Foxpro 2.6 for Windows application that is not running.
>
>When I run the EXE from Explorer on my hard drive, I get the message:
>Product is in use by another
>
>When the user runs the EXE from her hard drive, she gets the message:
>I/O operation failure
>
>When I run the EXE from my computer within Foxpro, it works fine!
>
>Does anyone have any ideas about the cause of this problem.
>
>Thanks

Hi Matt,

When the user gets the I/O operation failure message, does it indicate a drive? If so, the following may help.

This is often caused by the temp files created during compilation being sent to a drive other than C:. FPW 2.6 stores the references to these in one of the memo fields (I can't recall which one offhand). When the deployed executable runs, for some reason, it looks for the drive that the temp files were in. If it's not present or there isn't a disk in the drive (CD-ROM as D: for example, where it's a hard drive on your computer), you get an I/O operation failure. The solution is to modify the config.fpw file to point the temp files to your C: drive (you can also specify the directory) and if you re-compile all files, the resulting executable should work fine. When I ran into this problem, I took the additional step of clearing out the memo file to be sure all references were removed. I think the field name was object, but you might check by doing a locate for "D:" $ UPPER(object) after opening the project as a table.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform