Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't register mshtml.dll

4,776 views
Skip to first unread message

Sal

unread,
Jan 6, 2007, 1:17:45 PM1/6/07
to
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?

Jon

unread,
Jan 6, 2007, 1:33:45 PM1/6/07
to

According to reliable sources, "Sal" <he...@softcom.net> is said to have
declared in news:1168107465.1...@i15g2000cwa.googlegroups.com...

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

C:\WINDOWS\system32\

--
Jon

Wesley Vogel

unread,
Jan 6, 2007, 2:12:52 PM1/6/07
to
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 news:1168107465.1...@i15g2000cwa.googlegroups.com,
Sal <he...@softcom.net> hunted and pecked:

Jon

unread,
Jan 6, 2007, 2:39:13 PM1/6/07
to

And if you're wondering why on earth I wrote that, well "Wesley Vogel"
<123WVo...@comcast.net> wrote in message
news:ut3ERacM...@TK2MSFTNGP02.phx.gbl...

> mshtml.dll is a self-registering file.


>


> Sal <he...@softcom.net> hunted and pecked:
>> 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?
>


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

--
Jon

Ramesh, MS-MVP

unread,
Jan 6, 2007, 11:17:38 PM1/6/07
to
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


"Sal" <he...@softcom.net> wrote in message news:1168107465.1...@i15g2000cwa.googlegroups.com...

Ramesh, MS-MVP

unread,
Jan 6, 2007, 11:17:17 PM1/6/07
to
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


"Jon" <Email_...@SomewhereOrOther.com> wrote in message news:ujx0apcM...@TK2MSFTNGP02.phx.gbl...

Jon

unread,
Jan 7, 2007, 1:25:54 AM1/7/07
to


I believe it was "Ramesh, MS-MVP" <ram...@XOX.mvps.org>, who said in message
news:uw9quKhM...@TK2MSFTNGP04.phx.gbl...


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.

--
Jon

Ramesh, MS-MVP

unread,
Jan 7, 2007, 3:02:00 AM1/7/07
to
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/43/Why-doesnt-the-quotYouve-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


"Jon" <Email_...@SomewhereOrOther.com> wrote in message news:uZyZxSiM...@TK2MSFTNGP03.phx.gbl...

Jon

unread,
Jan 7, 2007, 4:03:39 AM1/7/07
to
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" <ram...@XOX.mvps.org> said
something like the following in message
news:OkZOZIjM...@TK2MSFTNGP02.phx.gbl...

Wesley Vogel

unread,
Jan 7, 2007, 11:43:19 AM1/7/07
to
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 news:OkZOZIjM...@TK2MSFTNGP02.phx.gbl,
Ramesh, MS-MVP <ram...@XOX.mvps.org> hunted and pecked:

0 new messages