Vbscript cannot create Object in windows 2008
I am running a simple vbscript just to create MSXMl2.DOmDocument40 object or Scripting.FileSystemObject in windows 2008 (32 bit). I am an administrator on the server.
here is script
dim obj
set obj = CreateObject("Scripting.FileSystemObject")
if obj is nothing then
msgbox("nothing")
else
msgbox("something")
end if
set obj = nothing
I am getting error ActiveX Component cannot create object VBScript runtime error '800a01ad'
How can I fix it.
July 22nd, 2010 5:41pm
Hi,
According to the description, it seems that you want to develop a VBS script. As we mainly focus on the General question about Windows Server system
and here is not the best support resource for developing a VBS script, it is recommend you to get further support in the corresponding community so that you can get the most qualified pool of respondents. Thanks for your understanding.
For your convenience, I have list the related link as followed.
Script Center
http://technet.microsoft.com/en-us/scriptcenter/default.aspx
The Official Scripting Guys Forum
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
Best Regards,
Vincent Hu
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2010 10:33am
Hi Vincent,
I am not developing vbscript code. We are migrating existing VB6 based components from win2k app server to windows2008(32 bit) server.
We are experencing difficulty to all components which refer MSXML4.dll which is in system32 folder.
Above mentioned VBScript helps us to confirm that issue is not related to access.
BASED ON THE ERROR , IT LOOKS LIKE AN ACCESS/SECURITY ISSUE.
That's why I posted my question in this forum.
if you still think this is not the correct forum, let me know.
Thanks,
Sanjay
July 23rd, 2010 10:15pm
Hi,
Windows Server 2008 is different from Windows Server 2003, some applications run well in Windows Server 2003 may not run properly in Windows Server 2008.
As you mentioned you want to migrate existing VB6 based components from win2k app server to windows2008(32 bit) server,
it is recommend you to get further support in the corresponding community so that you can get the most qualified pool of respondents. Thanks for your understanding.
For your convenience, I have list the related link as followed.
Visual Basic
http://social.msdn.microsoft.com/Forums/en/category/visualbasic
Best Regards,
Vincent Hu
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2010 1:02pm


