Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly "ChilkatDotNet45.dll" or one of its dependency. ......After deploying in IIS

Tags:

c#

asp.net

dll

My asp.net application works fine when run from visual studio, but after deploying in IIS it throws error like : Could not load file or assembly "ChilkatDotNet45.dll" or one of its dependency. An attempt was made to load a program with an incorrect format

If I follow these steps... Visual Studio – Tools – Options – Projects and Solutions – Web Projects Select “Use the 64 bit version of IIS Express for web sites and projects”.......then project not run in visual studio and throws same error.

like image 435
user11887906 Avatar asked Dec 05 '19 10:12

user11887906


1 Answers

I had the same Problem on the IIS Server you need to Install C++ RunTime.

For More Information see http://cknotes.com/chilkat-net-assemblies-matching-visual-studio-versions-to-net-framework-versions-to-vc-runtime-versions/

like image 143
Sebastian Mehler Avatar answered Nov 13 '22 23:11

Sebastian Mehler