Archived Forum Post

Index of archived forum posts

Question:

Unable to add reference ChilkatDotNet4.dll in the Server

Oct 21 '14 at 13:03

VS 2012 Project using .Net 4.0 .

We deployed the project in the Server and ChilKatDotNet4.dll is kept in the Intepub - Root Directory - Bin Folder. We are getting exception error.

Just added the right version of dll for our .Net Framework 4.0 64 bit Application.

On an Internet search, i came across this link :

http://stackoverflow.com/questions/3104988/trouble-registering-chilkatdotnet4-dll-to-the-gac

alt text

Whether the solution mentioned in the link is the same for including ChilkatDotNet4.dll in the project?

Our server has VC++ 2005 Redistributable (x64) as well as (x86) which is the same in my local machine.


Answer

The ChilkatDotNet4.dll is for the .NET 4.0 Framework -- which is NOT built with VC++ 2005 because the .NET 4.0 Framework did not exist in 2005. It is built with VC++ 2010.

Note: .NET DLL's are never "registered" like an ActiveX DLL. They may be stored in the GAC, but they are not "registered" and .NET DLL's have nothing to do with the Windows registry as do COM ActiveX DLLs.

Note: This is just "Common Error #2" as described here: http://www.chilkatsoft.com/x64_Framework4.asp