mrbond74
asked on
reference to mshtml.dll working on integrated vs2005 server but not when deployed to IIS 2003 server
I have developed an asp.net website where I am using the dom from mshtml.dll - everything is working fine on my integrated vs2005 server but when deployed to IIS 2003 server i get an error saying "could not load file file or assembly 'Microsoft.mshtml'.
Will I be able to solve this?
Will I be able to solve this?
ASKER
I get the following error : html help 1.3 cannot be installed on windows 2000 - I am running windows server 2003.
ASKER
CAUSE
The HTML Help 1.3 viewer components are already installed on Windows 2000 as system components and cannot be updated using Hhupd.exe.
The HTML Help 1.3 viewer components are already installed on Windows 2000 as system components and cannot be updated using Hhupd.exe.
I found two other possible ways to fix the problem. First, you can copy Microsoft.mshtml.dll into the application directory. Alternatively, you can run vs_piaredist.exe, which is in \program files\common files\merge modules on machines with vs 2005 installed.
I'm not sure if this is the same problem but, ostensibly, it seems to be...
http://blogs.msdn.com/infopath/archive/2004/09/27/234911.aspx
... it describes a solution.
http://blogs.msdn.com/infopath/archive/2004/09/27/234911.aspx
... it describes a solution.
ASKER
I also found this solution - and I have tried copying the mshtml.dll file into the bin directory of the website and referencing it from within web.config. That did not help - still same error. As for the vs_piaredist.exe - I am not able to install vs2005 onto the IIS windows 2003 server. Can vs_piaredist run without vs2005?
As far as I can tell looking at other forums you'll need to redistribute it with you application and run it. This, apparently, will install the interop assemble into the GAC. I don't have a machine without VS on it so I can't try it for you I'm afraid. Sorry.
I don't think I can really tell you much more as at this point I am just Googling -- something I'm sure you can do just as well as me :)
I don't think I can really tell you much more as at this point I am just Googling -- something I'm sure you can do just as well as me :)
"...The HtmlEditor has a dependency on Microsoft's MSHTML primary interop assembly, Microsoft.mshtml. This PIA will be installed on all systems that have Visual Studio Standard edition or higher. Systems with only express editions of Visual Studio will have to install Microsoft's vs_piaredist.exe redistributable or the .NET Framework SDK in order to acquire this prerequisite..."
http://www.codeplex.com/DocProject/Wiki/View.aspx?title=How%20To%20Use%20The%20Source%20Code&referringTitle=Home
http://www.codeplex.com/DocProject/Wiki/View.aspx?title=How%20To%20Use%20The%20Source%20Code&referringTitle=Home
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks - I got it working by installing the vs_piaredist.exe on the server but it is painlessly slow.
Glad I could help :)
http://www.microsoft.com/downloads/details.aspx?FamilyID=2363A6FC-CB70-464D-85E6-F598C11CCECF&displaylang=en