PC Review


Reply
Thread Tools Rate Thread

Can't register mshtml.dll

 
 
Sal
Guest
Posts: n/a
 
      6th Jan 2007
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?

 
Reply With Quote
 
 
 
 
Jon
Guest
Posts: n/a
 
      6th Jan 2007

According to reliable sources, "Sal" <(E-Mail Removed)> is said to have
declared in news:(E-Mail Removed)...
> 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\

--
Jon

 
Reply With Quote
 
Wesley Vogel
Guest
Posts: n/a
 
      6th Jan 2007
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:(E-Mail Removed),
Sal <(E-Mail Removed)> 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?


 
Reply With Quote
 
Jon
Guest
Posts: n/a
 
      6th Jan 2007


And if you're wondering why on earth I wrote that, well "Wesley Vogel"
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> mshtml.dll is a self-registering file.



>
> Sal <(E-Mail Removed)> 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

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      7th Jan 2007
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" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...


And if you're wondering why on earth I wrote that, well "Wesley Vogel"
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> mshtml.dll is a self-registering file.



>
> Sal <(E-Mail Removed)> 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

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      7th Jan 2007
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" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
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?

 
Reply With Quote
 
Jon
Guest
Posts: n/a
 
      7th Jan 2007



I believe it was "Ramesh, MS-MVP" <(E-Mail Removed)>, who said in message
news:(E-Mail Removed)...
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

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      7th Jan 2007
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/4...e-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" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...



I believe it was "Ramesh, MS-MVP" <(E-Mail Removed)>, who said in message
news:(E-Mail Removed)...
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

 
Reply With Quote
 
Jon
Guest
Posts: n/a
 
      7th Jan 2007
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" <(E-Mail Removed)> said
something like the following in message
news:(E-Mail Removed)...
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/4...e-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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...



I believe it was "Ramesh, MS-MVP" <(E-Mail Removed)>, who said in message
news:(E-Mail Removed)...
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

 
Reply With Quote
 
Wesley Vogel
Guest
Posts: n/a
 
      7th Jan 2007
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:(E-Mail Removed),
Ramesh, MS-MVP <(E-Mail Removed)> hunted and pecked:
> 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/4...e-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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>
>
> I believe it was "Ramesh, MS-MVP" <(E-Mail Removed)>, who said in
> message
> news:(E-Mail Removed)...
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mshtml.dll fails to register LambdaFox Windows XP General 1 17th Aug 2009 12:31 PM
[HELP]Register doesn't allow install-programs to register dll-file =?Utf-8?B?Q29tcGFjdA==?= Windows XP Help 2 3rd Jul 2007 02:00 PM
[MsHtml] Execute Javascript in a MsHtml's document # Cyrille37 # Microsoft Dot NET Framework 0 29th Aug 2006 01:37 PM
[MsHtml] Execute Javascript in a MsHtml's document # Cyrille37 # Microsoft C# .NET 0 29th Aug 2006 01:37 PM
Microsoft.mshtml.dll vs. mshtml.dll Ania Microsoft Dot NET Framework 0 25th Nov 2003 06:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:49 AM.