Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 654
Vivek Sharma Avatar asked Nov 18 '22 17:11

Vivek Sharma


1 Answers

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

like image 59
Dayakar Chowdary Avatar answered May 02 '23 14:05

Dayakar Chowdary