jesimon
asked on
800A0046 Permission denied: "CreateObject"
I am having an issue with user accounts running a VB6 application that administrators can run fine. The server is Windows 2003 with all the updates. The server is a terminal server box. I have gone through the VB6 code and determined that the error is occuring when trying to create an object. I have created a VB script to test with. It is listed below. I get a 800A0046 permission denied: "CreateObject" error when attempting to run the script as a regular user. Administrator works fine. There are many posts here and elsewhere that talk about this issue. I have looked at all of them and am still stuck. Any help or suggestions you can give even if they are a repeat of other posts will be greatly appreciated.
Set fs = CreateObject("Scripting.Fi leSystemOb ject")
msgbox "done"
Set fs = CreateObject("Scripting.Fi
msgbox "done"
http://support.microsoft.com/kb/197964/EN-US/
ASKER
I have already seen that article. IIS is not involved.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Note on this issue, for Windows 2000 Servers running citrix or users in terminal service, this problem can happen with two solutions;
1. Install Wscript 5.6 for W2000
http://www.microsoft.com/downloads/details.aspx?familyid=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
2. Grant full user permissions to the regkey HKEY_CLASSES_ROOT\Scriptin g.FileSyst emObject
3. Make sure that no policies change the permissions on the HKEY_CLASSES_ROOT\Scriptin g.FileSyst emObject key or the problem will return
1. Install Wscript 5.6 for W2000
http://www.microsoft.com/downloads/details.aspx?familyid=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
2. Grant full user permissions to the regkey HKEY_CLASSES_ROOT\Scriptin
3. Make sure that no policies change the permissions on the HKEY_CLASSES_ROOT\Scriptin