login about faq

Windows Server 2008.
VC x64 and x32 both installed.
CK DLL loaded into GAC on both dev and server.
CK DLL is NOT a trial.

DLL Reference in C# class from GAC on local machine:

Verified DLL exists (both dev and server):

.NET 4.0, instanced via DLL from MVC3 project. DLL loads and operates correctly when running locally in VS2010 however the error occurs when project is published.

    [FileNotFoundException: Could not load file or assembly 'ChilkatDotNet4.dll' or one of its dependencies. The specified module could not be found.]
   Kore.EncryptionUtilities..cctor() +0

[TypeInitializationException: The type initializer for 'Kore.EncryptionUtilities' threw an exception.]
   Kore.EncryptionUtilities.EncryptString_AES(String StringToEncrypt, String EncryptionKey) +0
   ASP.views_home_index_aspx.__RenderMainContent(HtmlTextWriter __w, Control parameterContainer) +1022
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   ASP.views__masters_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +646
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +65
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5274

asked Oct 14 '15 at 17:18

wolfiesden's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 14 '15 at 17:18

Seen: 1,954 times

Last updated: Oct 14 '15 at 17:18

powered by OSQA