Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Access is Denied in CREATEOBJECT?
Message
 
To
29/01/2003 15:31:35
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00746868
Message ID:
00746888
Views:
22
>I'm at the end of my rope on this one...
>
>I was distributing an .exe for beta testing, the first two to test were Win2K "Domain Admins" who had full rights to everything on the server.
>
>When another user without those rights ("Staff") attempted to run the .exe, it stopped dead, "File Access is Denied" on the line This.oMMFactory = CREATEOBJECT("cAbstractFactory") in cApplication.CreateAbstractFactory.
>
>The network administrator has repeatedly reset the rights for Staff to give them full rights to the directory, but the error message refuses to go away.
>
>Moving the files to a local drive did not resolve it, copying the class libraries was equally unsuccessful.

A few WAG's: Since copying it to the local drive didn't fix it, it probably isn't a network permissions issue (UNLESS they're running Win2K/XP and the admin has locked things down). If you copied the files from a CD-ROM drive, it will automatically flag all the files as read-only. Make sure you reset that. If it is a permission issue, make sure the permissions are applied to the application directory and ALL subdirectories. Win2K default is it inherit from it's parent directory, but it your case I would have them check all the directories to be sure.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform