Danish Sheraz
Danish Sheraz

Reputation: 11

Can't load file or assembly after web-deploy

Application is working fine on local machine, but on deploying in server it throws this error :

Could not load file or assembly 'DevelopDotNet.Compression.DLL' or one of its dependencies. The specified module could not be found.

I have already added "DevelopDotNet.Compression.DLL" assembly to references.

After deploying "DevelopDotNet.Compression.DLL" assembly is present in 'bin' folder.

Upvotes: 0

Views: 474

Answers (1)

Muhammad Ovais
Muhammad Ovais

Reputation: 152

In my case, the application was not working on my local machine too. I have a 64 bit OS with Windows 10 installed. Through various workarounds, I have finally able to solve the problem. I have done the following to diagnose the root cause:

  1. Downloaded and installed dependency walker to find the associated dependencies from this website.
  2. Here, I have found that 2 of associated dependencies were missing, namely, msvcr71.dll and msvcp71.dll. So, I have downloaded them and put them at C:\Windows\System32 and C:\Windows\SysWOW64.
  3. Then, I follow the step-by-step guide from this website.
  4. And, finally able to run the application.

Hope, this helps someone who is juggling around the google.

Upvotes: 3

Related Questions