This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17585|Reply: 0

[Source] Solve the C# call to execute js report retrieval in the COM class factory with CLSID as {0E59F1D5-1FBE-11D0-8FF2-00A0D10...

[Copy link]
Posted on 3/10/2017 4:12:31 PM | | | |
{"Retrieval of a component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} in a COM class factory failed due to the following error: 80040154 No registered class (exception from HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))."" }

Recently, I made a mock request website to simplify the cumbersome data of the original website, propose useful data to simply display and complete the post. Since the data of the original website is encrypted by js, I grabbed the js decryption method of the original website, and called js by C# to get the decrypted data.
The entire packet capture framework uses Su Fei's HttpHelper universal framework, and the execution js method uses the HttpHelper.Javascrip{filtering}tEval method implemented by the framework. So I deployed the website to IIS, and then the problem came.
After deploying IIS, the access starts reporting exceptions, and the specific error is correct:
Exception type: COMException
Exception message: Retrieval of a component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} in the COM class factory failed due to the following error: 80040154 No registered class (exception from HRESULT:0x80040154 (REGDB_E_CLASSNOTREG)).
If I can't find this component, then where did this component go, I have to find it.
Step 1: The registry looks for this value, opens the registry, and searches for {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} This value is found in the registry, MSscrip{filtering}tControl.scrip{filtering}tControl, and the corresponding component is msscrip{filtering}t.ocx:
Step 2: Register the msscrip{filter}t.ocx component, the 32-bit system is under C:WindowsSystem32, and I am a 64-bit system under C:WindowsSysWOW64.
Run Cmd as administrator to execute the command: Regsvr32 C:WindowsSysWOW64msscrip{filter}t.ocx(32 is the system path with C:WindowsSystem32msscrip{filter}t.ocx)
Note that you must run Cmd as an administrator, otherwise DLLRegitsterServier will not have execution privileges. Successful registration results:
After completing the above two steps, it will return to normal.





Previous:The latest vulnerabilities and attack methods in Struts2 versions 2.2 and 2.3
Next:Haha, I went to bed, I didn't play anymore
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com