Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor file name and index file name problem - access denied
Message
From
21/03/2007 11:30:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Cursor file name and index file name problem - access denied
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01206592
Message ID:
01206592
Views:
149
Hi,

I have a number of websites built using ASP - COM (VFP9 DLL) and I noticed a problem.

From time to time I get an error from the COm object on a line like this:
CREATE CURSOR _tempAllReg (reg_text C(20), country C(30), region C(30), sub_reg C(30), estate C(30))
INDEX ON country + region + sub_reg +estate TAG sort UNIQUE

The erros shows on the index line it states that "File access is denied c:\windows\temp\00005vkp0004.cdx."

I also see this problem when building the cursor (first line).

It looks like the VFP DLL is serving a request from a certain user and it creates an unique file name for file (index or dbf), but if another request comes trough VFP is using the same "unique" file name?

What can I do to avoid this problem? I suspect it is related to muliple requests arriving at the same time and VFP is requesting a file name - gets it, but at the same time another request(using the same COM object) receives the same file name ...

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform