Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Access Denied - Local Machine - Save To
Message
From
09/04/2003 13:04:06
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00775606
Message ID:
00775614
Views:
11
IF set safety is off, what happens if you include the path in quotes? IT's possible that it is not finding or not able to create the file. Does the ctsql directory exist?

SAVE all to "c:\program files\LastPatID.mem"

works for me. I tested it on my systems. And

RESTORE FROM "c:\program files\LastPatID.mem"

works too. I would guess that either the directory ctsql does not exist, or it is trying to create a file called c:\program.mem because of the spaces in the directory.



>I have a workstation that is getting the following error (I Record it to a log file that is sent to me remotely, they don't actually know they are getting the problem):
>
>
>
>File Access Denied c:\program files\ctsql\LastPatID.mem
>
>
>It happens on this line of code
>
>SAVE to LastPatID ALL LIKE gnLastPatID
>
>The application (EXE) is installed in this directory, everything is ran from the workstation, data is accessed from a SQL Server using SPT. It seems to me that it should just overwrite the file, there shouldn't be any user rights to the local workstation program files directory (question). The mem file shouldn't be in use (should it). Set Safety Off is in the load of the form.
>
>Anybody have idea?
>
>Thanks
>Kirk
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform