Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

program Workspace error / NT permission?

Status
Not open for further replies.

MrFancyteeth

Programmer
Mar 18, 2003
90
GB
Morning,

I have a exe that runs from a CD which cretaes a directory on the C:\drive then unzips files to the directory. It works fine on most (180+)Users' systems except for Some NT4 installs (5-8 users).

The error "Cannot create program workspace" occurs as the exe starts.

according to VFP 7 help.

The disk or directory is full.
Remove files and try again.

You do not have access to the target directory.
Check your permission level.

I'm thinking .. The User does not have permission to write to the C:\ drive. Would this include Temp files? or Maybe The exe is attempting to somehow create temp files on the CD?

mrF

 
Hi

I'm thinking .. The User does not have permission to write to the C:\ drive. Would this include Temp files? or Maybe The exe is attempting to somehow create temp files on the CD?




You are on the right track. The NT users may not be having the rights to the directory. This includes the rights to the C:\drive itself.

I suggest that you can sightly modify the package so that, instread of hard code of c:\drive, you can attempt to make a c:\drive and then, if you cannot create or if that exists, you can prompt the user to choose a directory where you can create the directory and then proceed. That will solve this type of rights issues.

:)

ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Thanks Ramani

I'm trying to determine when the error occurs..

I'll get back to you if this solves the problem.

mrF

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top