Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hibernation and Invalid Seek Offset
Message
From
17/01/2014 12:45:23
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Mobile
Miscellaneous
Thread ID:
01591908
Message ID:
01592090
Views:
54
>>>>>When I close my laptop it goes into hibernation mode. When I open it, a running VFP application oftentimes (always?) reacts with an 'Invalid Seek Offset' error. Apparently it does not save and restore the file handles.
>>
>>>>Nope, the problem is that the file handles are closed on the server side as well, you will have to handle the error.
>>>>There is no workarround as far as I know.
>>>
>>>Windows generates file handles kind of randomly. Is this not the case with sql-server?
>>
>
>Actually I'm quite amazed now that so many other applications keep working when awakening from hibernation.
>We can program on a Shutdown event. Is hibernation also detectable? In that case it can be worth the effort to close and restore connections programmatically (in case of dbf-tables on the network).
>
>
I think if you work via cursors or views it could be handled similar to WLAN dropping connection. In our fwk (at least via cursoradapter, older stuff not tested as the stuff we updated last only used cursoradapter) you can set the behaviour to close the connection to server side tables after access and it will automatically reopen on refresh or tableupdate.
Previous
Reply
Map
View

Click here to load this message in the networking platform