SpiceLogic Inc.
                                                                                                     SpiceLogic Inc. Home PageProductsJournalMy AccountHelp DeskContact Us
 
Knowledge base  : .NET Win HTML Editor Control    - Standard Edition
Welcome Guest   Login

Skip Navigation Links. .NET Win HTML Editor Control

Documentation  Documentation

Download   Download the latest version

Back to the home of knowledgebase forum Deployment question

An user   12/1/2009 10:44:09 PM

I wrote a VB .Net app (as a "plug-in") for ACT! by Sage.  Basically, it's an email message window, with your control as the "body" of the email.  It works on my machine.
 
However, I am trying it on another computer, and am receiving the following error, with details, and am wondering what all needs to be put in the build/install file:
 
The type initializer for 'SpiceLogic.WinHTMLEditor.HTMLEditor' threw an exception.
System.TypeInitializationException: The type initializer for 'SpiceLogic.WinHTMLEditor.HTMLEditor' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at SpiceLogic.WinHTMLEditor.HTMLEditor..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
   at SpiceLogic.WinHTMLEditor.HTMLEditor.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Finalize()




- [SpiceLogic Support Technician]   12/1/2009 10:58:40 PM

Dear Richard,
From your error message, we can understand the file MSHTML.dll is missing from your setup project. Please make sure it is included as Visual Studio Setup project wont include this file automatically. So, once you include that, please try again and let us know what happened.
 
Regards.



An user   12/1/2009 11:19:38 PM

Thanks - I added it in the Install Project portion of the solution as a file to be installed in the Application Directory.  Not sure if that's the best practice, but adding a reference did not allow me to "Copy Local" when installing.  Plus, it almost tripled the size of the install.  Anyway, it seemed to work...


Home  || Products  || Journal  || My Account  || HelpDesk  || Contact Us

Website and Software Copyright ©2010, SpiceLogic Inc., All Rights Reserved.