Problem With mshtml.dll

G

Guest

Greetings,

I get the following ewrror trying to register mshtml.dll on a W2K server
running SP4
and Internet Explorer 6.0.

DllregisterServer in mshtml.dll failed. Return code was: 0X800700005.

This is in an attempt to uninstall and reinstall IE6 to correct wierd script
problems described in Article Q266668.

Any Ideas?
 
R

Robert Aldwinckle

ahbutler said:
Greetings,

I get the following ewrror trying to register mshtml.dll on a W2K server
running SP4
and Internet Explorer 6.0.

DllregisterServer in mshtml.dll failed. Return code was: 0X800700005.


What version of that module do you have?
Recent versions of it in IE7 have completely removed the necessary
entry point (DllRegisterServer) to support that regsvr32.exe command.
Perhaps your version no longer has it too?
Also, recent versions of previously registerable modules get similar
messages even though they do still have the necessary entry point
(or, for the case of regsvr32 /n /i mshtml.dll, DllInstall.)

In any case, you could use DependencyWalker to check on the entry points
your module has. You could also use it to execute the regsvr32.exe command
with its Profiler feature. That would give you a trace of its calls leading up
to the error return code. Sometimes that exposes missing or broken dependent
modules. Fixing them instead would then change the problem symptom.

This is in an attempt to uninstall and reinstall IE6 to correct wierd script
problems described in Article Q266668.

Any Ideas?


Post more details about your symptoms in case you are misinterpreting
them and thus giving yourself an incorrect self-prescription? ; )



Good luck

Robert Aldwinckle
---
 
G

Guest

The file version is 6.0.2800.1595.

We were trying to fix the windows explorer displaying %THISDIRNAME" and
%THISFOLDERNAME% when using webview. Everything I could find on the web
pointed to reinstall of IE. An attempt to uninstall IE fails with a generic
"Unable to Uninstall" error. I did reinstall IE over the top of the previous
install but this did not fix the problem. More web searching turned up a
link that described problems with Internet explorer not Uninstalling properly
and the article wanted me to re-register a bunch of DLL's. MSHTML.DLL would
not reregister.
 
G

Guest

ahbutler said:
Greetings,

I get the following ewrror trying to register mshtml.dll on a W2K server
running SP4
and Internet Explorer 6.0.

DllregisterServer in mshtml.dll failed. Return code was: 0X800700005.

This is in an attempt to uninstall and reinstall IE6 to correct wierd script
problems described in Article Q266668.

Any Ideas?


Did you check the machine for ad-ware/viruses?.
"Explorer Has Encountered an Error and Needs to Close" Error Message When
you Start Windows XP
http://support.microsoft.com/kb/822797

"Iexplore.exe has encountered a problem and needs to close" error message
when you try to start Internet Explorer
http://support.microsoft.com/kb/831432

Error message when you start Internet Explorer in Windows XP: "Microsoft
Internet Explorer has encountered a problem and needs to close. We are sorry
for the inconvenience"
http://support.microsoft.com/kb/921470

You receive a "Microsoft Internet Explorer has encountered a problem and
needs to close
http://support.microsoft.com/kb/293623/

You receive an "Internet Explorer has encountered a problem and needs to
close (Mshtml.dll)" error message
http://support.microsoft.com/kb/810887
Then Try this:
Open a Run Command and type in these DLL to reregister and see if that will
help:
regsvr32 Dssenh.dll
regsvr32 Rsaenh.dll
regsvr32 Gpkcsp.dll
regsvr32 Slbcsp.dll
regsvr32 Mssip32.dll
regsvr32 Cryptdlg.dll
regsvr32 Initpki.dll
regsvr32 Sccbase.dll
regsvr32 softpub.dll
regsvr32 Wintrust.dll
regsvr32 mshtml.dll
regsvr32 Jscript.dll
netsh winsock reset

Download Windows Script 5.6 for Windows XP and Windows 2000
http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en

HTH.
nass
 
G

Guest

Thanks for the reply.

I Re-ran the registration for the DLL's you mentioned. They all went fine
except for mshtml.dll and sccbase.dll. mshtml.dll fails with the original
error and sccbase.dll says module not found. ALso, I want to reinteriate
that this is Windows 2000 server. I truly beleive that if I could get IE to
uninstall cleanly and then reinstall, it would solve this problem. It seems
from lots of other posts that Microsoft should build a tool to reset IE
registry settings to their defaults, confirm and reset if necessary, the
security settings on the keys, verify versioning of the DLL's etc. I am not
trying to eradicate IE. In fact I specifically need it to run an in house
app. I am fairly ceratin the machine is not impacted by spyware. Verified
with a commercial version of Pestpatrol and the free version Ad-aware. Ran
BHO demon to make sure there were no nasty BHO's installed. Ran rootkit
revealer and F-secures blacklight to check for rootkits. Symantec Corporate
antivirus is installed, up to date and running. Also scanned the machine
from the web using the online scanner fro CA.
 
G

Guest

Hi,
Did you tried the option for repair from the Add/Remove Programs in control
panel?.

Explanation of Regsvr32 Usage and Error Messages
http://support.microsoft.com/?kbid=249873

http://support.microsoft.com/kb/281679:
verify that the following registry values are present and correct:
HKLM\SOFTWARE\Classes\Interface\{00020400-0000-0000-C000-000000000046}
Name: (Default)
Value: IDispatch
HKLM\SOFTWARE\Classes\Interface\{00020400-0000-0000-C000-000000000046}\ProxyStubClsid
Name: (Default)
Value: {00020420-0000-0000-C000-000000000046}
HKLM\SOFTWARE\Classes\Interface\{00020400-0000-0000-C000-000000000046}\ProxyStubClsid32
Name: (Default)
Value: {00020420-0000-0000-C000-000000000046}

Another try to rename the File which located here:
C:\windows\System\mshtml.dllOLD
Reboot your machine and see or you can reregister it again.
HTH.
nass
 
G

Guest

I have had the same problem with a brand new computer! I tried everything!!!
Even formatted and started again, but the same problem was still there. Only
way I could fix it was to download and install ALL of the windows updates,
including the ones for different programs......And the problems gone! Hope
this helps someone else!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top