ActiveX component can't create object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a VB application that has a Windows Script Host Object Model reference for windows shell script. I used this object to read/write the registry in the run time. It is happening on only Windows 2000 Server. I have tested this application on Windows XP Professional, Windows 2000 Advanced Server, and Windows 2003 Server. All platforms are ok for the registry access. I have tested on Administrator user for all of cases. This platform has SP4 and is pretty pure system
I found so many similar issues for security and permission on Windows 2000 Server. I have no idea why the Windows 2000 Server only denied to create ActiveX control of WshShell

Below is the part of code

dim ss as new WshShel
dim testStr as string

testStr = ss.RegRead("HKCU\Software\Intel\test\Value") '<- error occurred [429] ActiveX component can't create object

If any idea or comment, I appreciat

Thanks a lot

Ju-Hyoun
 
This article may help.

http://support.microsoft.com/default.aspx?scid=kb;en-us;200271

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
|I have a VB application that has a Windows Script Host Object Model
reference for windows shell script. I used this object to read/write the
registry in the run time. It is happening on only Windows 2000 Server. I
have tested this application on Windows XP Professional, Windows 2000
Advanced Server, and Windows 2003 Server. All platforms are ok for the
registry access. I have tested on Administrator user for all of cases. This
platform has SP4 and is pretty pure system.
| I found so many similar issues for security and permission on Windows 2000
Server. I have no idea why the Windows 2000 Server only denied to create
ActiveX control of WshShell?
|
| Below is the part of code:
|
| dim ss as new WshShell
| dim testStr as string
|
| testStr = ss.RegRead("HKCU\Software\Intel\test\Value") '<-
error occurred [429] ActiveX component can't create object.
|
| If any idea or comment, I appreciate
|
| Thanks a lot.
|
| Ju-Hyoung
|
|
 
This article may help.

http://support.microsoft.com/default.aspx?scid=kb;en-us;200271

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
|I have a VB application that has a Windows Script Host Object Model
reference for windows shell script. I used this object to read/write the
registry in the run time. It is happening on only Windows 2000 Server. I
have tested this application on Windows XP Professional, Windows 2000
Advanced Server, and Windows 2003 Server. All platforms are ok for the
registry access. I have tested on Administrator user for all of cases. This
platform has SP4 and is pretty pure system.
| I found so many similar issues for security and permission on Windows 2000
Server. I have no idea why the Windows 2000 Server only denied to create
ActiveX control of WshShell?
|
| Below is the part of code:
|
| dim ss as new WshShell
| dim testStr as string
|
| testStr = ss.RegRead("HKCU\Software\Intel\test\Value") '<-
error occurred [429] ActiveX component can't create object.
|
| If any idea or comment, I appreciate
|
| Thanks a lot.
|
| Ju-Hyoung
|
|
 
Better to ask this in one of the VB programming groups.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Dave,
|
| Thanks for the URL.
| I have already read this one, and I am not sure this is missing component
in the target system.
| I made one MSI for all of the platforms, Windows XP professional, Windows
2000 Advanced Server and Windows 2003 Server. The App is working ok on all
of these systems.
| I could manually edit the registry value throughout RegEdit.EXE in Windows
2000 Server, but the application still could not access it after that. I
manually register all of the OCX and DLL files into the target system. I
still have the error.
| I tried to deploy by the cabinet file, but it has the same error. The
cabinet file absolutely has all of the OCX/DLL files.
| Someone said it might be 'license' issue on Windows 2000 Server. Do you
have any idea or any other suggestion?
|
| If it is necessary, I can provide the source for your review.
| I look forward to your reply soon.
| Thanks
|
| Ju-Hyoung
 
Better to ask this in one of the VB programming groups.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Dave,
|
| Thanks for the URL.
| I have already read this one, and I am not sure this is missing component
in the target system.
| I made one MSI for all of the platforms, Windows XP professional, Windows
2000 Advanced Server and Windows 2003 Server. The App is working ok on all
of these systems.
| I could manually edit the registry value throughout RegEdit.EXE in Windows
2000 Server, but the application still could not access it after that. I
manually register all of the OCX and DLL files into the target system. I
still have the error.
| I tried to deploy by the cabinet file, but it has the same error. The
cabinet file absolutely has all of the OCX/DLL files.
| Someone said it might be 'license' issue on Windows 2000 Server. Do you
have any idea or any other suggestion?
|
| If it is necessary, I can provide the source for your review.
| I look forward to your reply soon.
| Thanks
|
| Ju-Hyoung
 
Back
Top