Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on view fails on XP/2003 file server
Message
From
19/06/2004 12:35:29
 
 
To
19/06/2004 05:03:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00915198
Message ID:
00915359
Views:
9
Sagol, Cetin Kardesim

Iyiim. Fakat beyinim corba gibi

I have tmpfiles=c:\temp on the workstations config file. But I believe when a view is created and indexed there are actually two tmp files created, one in the folder with the data, being a tempfile of the view itself, the other in the tmpfiles folder, related to the index. My understanding is that when the view is indexed, the reference to the index must be written to the header of the tempfile on the server.

I think this has something to do with managed code vs unmanaged code. Since VFP and its dbfs are not a "service" the OS does not know who they are for purposes of allowing creating and modifying files. If I do it from Explorer on the workstation, I can do it because the user had permission, but if the app tries to do it, there is no permission. Does that make any sense? ( I am not sure why, if that is the case, the tempfile for the view would be able to add and change records, which it obviously can, but I have been told the problem is in writing to the header )


I am going to go on-site Monday, put my laptop on their network and see if I can open and index a view in developer VFP.

I thought this might be a very common problem and I would receive a hundred answers from other who had faced this. My ignorance of security issues and permissions on networks is so great that it never surprises me when I find I don't know something that everyone else in the world knows < s >

Kalbim daha Izmirde. Keske bu aksam Deniz locantasinda olsaydim ...

>>
>>TIA
>
>Charles.
>How are you or Nasilsin :)
>Serverside tmp file ? Why create view's tmp files there. tmp files are expected to be at local for performance. tmp files might not be created if the 'temp' folder is readonly or hidden\system (same if user doesn't have needed rights to folder). Other than that view indexing would fail if it's attempted to be created after its buffering is changed to one table buffering.
>At your local setup I think it works because you have all the access rights to folders.
>Cetin


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform