Error loading msvcr100.dll (ErrorCode: 126) when webapp is deployed to Azure

3.3k views Asked by At

I tried to update sql server types nuget package which updated this package to msvcr120.dll but still I am getting the same error:

Error loading msvcr120.dll (ErrorCode: 126)

Locally, its working fine. Also, I am pushing these dll.s with the build to Azure. Below is a snapshot of the error when we try to access the deployed webapp.

enter image description here

1

There are 1 answers

1
Dayakar Chowdary On BEST ANSWER

It May Because of You Missed SqlServerTypes in your Bin Folder

It Contains 2 Folders like x64 and x86 has Reference files SqlServerSpatial110.dll and msvcr100.dll

Include those 2 DLL's in your bin folder