Can't register mshtml.dll

S

Sal

I'm trying to register mshtml.dll by entering the following command at
a cmd prompt:

regsvr32 mshtml.dll

and I get the following error message:

"Mshtml.dll was loaded, but the DllRegisterServer entry point was not
found. This file cannot be registered."

What to do?
 
J

Jon

According to reliable sources said:
I'm trying to register mshtml.dll by entering the following command at
a cmd prompt:

regsvr32 mshtml.dll

and I get the following error message:

"Mshtml.dll was loaded, but the DllRegisterServer entry point was not
found. This file cannot be registered."

What to do?

Doesn't need to be registered then. Just pop it in the correct location,
probably

C:\WINDOWS\system32\
 
W

Wesley Vogel

mshtml.dll is a self-registering file.

You should get this message after the regsvr32 mshtml.dll command...
---------------------------
RegSvr32
---------------------------
DllRegisterServer in mshtml.dll succeeded.
---------------------------
OK
---------------------------

Try unregistering it first.

Paste the following line into Start | Run and click OK...

regsvr32 /u mshtml.dll

You may get this message, click OK on it...
---------------------------
RegSvr32
---------------------------
DllUnregisterServer in mshtml.dll failed.
Return code was: 0x8000ffff
---------------------------
OK
---------------------------

Then try registering it again.

Start | Run | Type: regsvr32 mshtml.dll | Click OK

This is the message you get if the file is not in the system32 folder...
LoadLibrary("Name of.dll") failed - The specified module could not be found.

The file mshtml.dll may be messed up. Run the System File Checker.

System File Checker (sfc.exe) replaces screwed up system files.

Load your XP CD in your CD drive.

Start | Run | Type or paste: sfc /scannow | Click OK

sfc /scannow scans all protected system files immediately and replaces
incorrect versions with correct Microsoft versions.

System File Checker takes a while to run.

If you have XP Home and it asks for your XP Pro CD, see this KB article...

You may be prompted to insert a Windows XP Professional CD when you run the
System File Checker tool in Windows XP Home Edition
http://support.microsoft.com/kb/897128

If SFC.EXE did anything it will be listed in the Event Viewer.

Open the Event Viewer...
Start | Run | Type: eventvwr | Click OK | Click System |

Windows File Protection will be listed under the Source column. Look at any
Windows File Protection entries.

Explains a whole bunch about sfc.exe.
scannow sfc (sfc.exe)
http://www.updatexp.com/scannow-sfc.html

Description of Windows XP and Windows Server 2003 System File Checker
(Sfc.exe)
http://support.microsoft.com/kb/310747

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
J

Jon

mshtml.dll is a self-registering file.


Yes, well spotted. The legitimate Windows 'mshtml.dll' does indeed contain a
"DllRegisterServer" entry point, so the file sounds a bit suspect
 
R

Ramesh, MS-MVP

That's true in case of IE6, but the entry-point is removed in mshtml.dll 7.0.5730.11 (Internet Explorer 7)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com




mshtml.dll is a self-registering file.


Yes, well spotted. The legitimate Windows 'mshtml.dll' does indeed contain a
"DllRegisterServer" entry point, so the file sounds a bit suspect
 
R

Ramesh, MS-MVP

If you're using IE7, then this behavior is normal. BTW, why are you registering this file?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I'm trying to register mshtml.dll by entering the following command at
a cmd prompt:

regsvr32 mshtml.dll

and I get the following error message:

"Mshtml.dll was loaded, but the DllRegisterServer entry point was not
found. This file cannot be registered."

What to do?
 
J

Jon

I believe it was "Ramesh, MS-MVP" <[email protected]>, who said in message
That's true in case of IE6, but the entry-point is removed in mshtml.dll
7.0.5730.11 (Internet Explorer 7)


Aha....the OP's header indicates the use of IE7, so that's probably the
situation.
 
R

Ramesh, MS-MVP

Yup. Also, registering these modules (especially shdocvw.dll) in IE7 causes weird problems. You'd like to read the blog post here.

Why doesn't the "You've opened a new tab" message go away?:
http://www.winhelponline.com/blogs/...uve-opened-a-new-tabquot-message-go-away.html

Similar error may occur when adding a search provider.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com





I believe it was "Ramesh, MS-MVP" <[email protected]>, who said in message
That's true in case of IE6, but the entry-point is removed in mshtml.dll
7.0.5730.11 (Internet Explorer 7)


Aha....the OP's header indicates the use of IE7, so that's probably the
situation.
 
J

Jon

The order of the registration of dlls may be important.
ie the registration of ieframe.dll (which isn't present with ie6) may need
to follow that for shdocvw.dll
(assuming shdocvw.dll also still forms a part of ie7 (?))

Using ie6 here and for ie6, the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}\1.1\0\win32

also refers to shdocvw.dll.

which along with your research suggests that ieframe.dll (which doesn't
appear here on this ie6 system) replaces part or all of the functionality of
shdocvw.dll in ie7, hence the above suggestion.

[Not using ie7, so can't test the above]


--
Jon



I may be mistaken, but I think "Ramesh, MS-MVP" <[email protected]> said
something like the following in message
Yup. Also, registering these modules (especially shdocvw.dll) in IE7 causes
weird problems. You'd like to read the blog post here.

Why doesn't the "You've opened a new tab" message go away?:
http://www.winhelponline.com/blogs/...uve-opened-a-new-tabquot-message-go-away.html

Similar error may occur when adding a search provider.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com





I believe it was "Ramesh, MS-MVP" <[email protected]>, who said in message
That's true in case of IE6, but the entry-point is removed in mshtml.dll
7.0.5730.11 (Internet Explorer 7)


Aha....the OP's header indicates the use of IE7, so that's probably the
situation.
 
W

Wesley Vogel

I didn't catch the IE7 part. I usually delete any posts related to IE7 or
Vista. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

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