My ASP.NET application works fine when run from Visual Studio, but after deploying in IIS, it throws an error like this:
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 the project not run in Visual Studio and throws the same error.
2 Answers
I had the same Problem on the IIS Server you need to Install C++ RunTime.
For More Information see
3I had same error. First I installed chilkat-win64 and get error. After I installed chilkat-win32 error gone. Hope it help