Contact Sales: +1-888-365-2779
Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > General Discussions > Microsoft.mshtml.dll
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Microsoft.mshtml.dll

Feed from this thread
  • Andre Viens avatar

    Posted on Oct 12, 2006 (permalink)

    Hello,

    I'm having difficulty with the Microsoft.mshtml.dll assembly being required in my web.config in an ASP.NET program.

    I have done a number of searches for the problem, but basically the issue exists because I have the dll on my client and it's not available on the server.

    But it would appear the telerik controls (from Q3 2006) are requiring the Microsoft.mshtml.dll assembly, as it will readd it to the web.config even if I remove it.

    This is a primary Interop assembly and has to do with Microsoft rendering HTML in Internet Explorer... so how come this file is required for a web application?

    For the immediate timeframe, I will copy my DLL so that my program will work, but I was wondering if this is supposed to exist like this, and if it is, why?

    When I comment out the Assembly line in the web.config on the server, my program runs fine, but the all of my telerik components have lost their skinning ability.

    Thanks for any insight you can provide.

    - Andre

  • Andre Viens avatar

    Posted on Oct 12, 2006 (permalink)

    It appears I misinterpreted my issue. The loss of skinning was not a problem due to the missing assembly, but rather a problem on my part with the virtual directory for RadControls... so it doesn't appear to be telerik controls at fault.

    The assembly seems to be unrelated to anything in my code at all. I'm just confused why it comes back each time I remove it from web.config and rebuild my app.

    I then have to remove it from the production web.config so that it won't look for that assembly. The app then works just as it should. I have no idea why it wants to load a nearly 8MB Interop assembly.

    Anyone experience this using VS 2005? Does it have anything to do with me using IE7 RC1 on my development machine? I uninstalled IE7, but experienced the same problem.

    Thanks...

    - Andre

  • Yuri avatar

    Posted on Oct 16, 2006 (permalink)

    I was having the same issues. I have IE 7.0 RC3. Removing the assembly from the web.config seems to resolve all the errors on the deployment machine. Many hosting companies automatically block Microsoft.mshtml.dll assembly due to more strict security policies. Therefore, I would not suggest deploying any applications refencinng it in the web.config file.


  • Tom Gioconda avatar

    Posted on Oct 18, 2006 (permalink)

    I am getting this too - each time I build my web application, VS.NET 2005 adds back the reference to Microsoft.mshtml, Version=7.0.3300.0.  This is not on my web server, which causes an exception on startup.  I have to manually remove the reference to get things to work. 

    I don't know what is causing this reference to be added, but whatever it is, it has to be removed.  Microsoft.mshtml is a large assembly that has no business being added to an ASP.NET application.

  • Tom Gioconda avatar

    Posted on Oct 18, 2006 (permalink)

    (double post, sorry)

  • Andre Viens avatar

    Posted on Oct 18, 2006 (permalink)

    Hi Tom,

    Are you using a prerelease version of Internet Explorer 7 as well? We could be following a common thread here.

    My theory is that something with using IE7 betas or RC's in relation to Visual Studio 2005 may be causing it to add the Microsoft.mshtml.dll for design time requirements within VS 2005.

    - Andre

  • Tom Gioconda avatar

    Posted on Oct 18, 2006 (permalink)

    Nope - I'm running plain Windows XP with IE 6. 

    I think it is very likely that there is a control or two in the latest release (likely the r.a.d. editor, although that's just speculation) has some kind of dependency on mshtml that was used during development by telerik, but was not removed upon release. 

    My current fix is to keep my web.config read-only, although VS2005 complains everytime I try and build, wanting to alter the web.config's assembly list.  Finally, I told it to save as to a file on my desktop, and now it appears to be satisfied... even though that isn't my web.config. 

    Visual Studio does enough crazy things with references; I don't need this too.

  • Hristo Deshev Hristo Deshev admin's avatar

    Posted on Oct 19, 2006 (permalink)

    Hi guys,

    I did some research and it turned out that the mshtml reference is brought in by the RadGrid assembly.  The reference is required because of a design-time feature that we decided to drop for the next release. 

    We have already removed the reference and we can provide people with unofficial builds that can spare you some of the annoyances.  Please open up a support ticket to request that.

    Greetings,
    Hristo Deshev
    the telerik team

  • Posted on Oct 28, 2006 (permalink)

    Yep!  As soon as I added the grid control, I started getting this.  I'm glad to see this is going to be fixed.  Do you know when an official update will be available?  I'm ok with removing the reference instead of running an unofficial release.

  • Vassil Petev Vassil Petev admin's avatar

    Posted on Oct 30, 2006 (permalink)

    Hello Barry,

    The fix will be available officially later today. If you are in a hurry, please open a support ticket and we will send it to you.


    Sincerely yours,
    Rob
    the telerik team

  • scarlin avatar

    Posted on Oct 31, 2006 (permalink)

    Is the official build already available?  I don't see to see a reference to it in the Revision History.

    Thanks,
    Sean

  • JohnC avatar

    Posted on Nov 1, 2006 (permalink)

    Thanks Hristo and the thread starter for this, I came across this thread looking for something else and I've been having this same problem for a while and no where I looked could I find a resolution to it or where it was coming from.  I had given up on it and just commented it out before distribution. 

    Good to know.

  • Ivo Ivo admin's avatar

    Posted on Nov 2, 2006 (permalink)

    Hello all,

    This has been corrected and the reference to Microsoft.mshtml.dll is no longer required in the latest version of r.a.d.grid 4.0.2. The fix is available for download as a part of our r.a.d.controls Q3 SP2 release.

    Please, excuse us for any inconvenience we might have caused.

    Greetings,
    Ivo
    the telerik team

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > General Discussions > Microsoft.mshtml.dll