Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Trackable.Func - System.Exception : Error loading msvcr120.dll (ErrorCode: 126) #76

Closed
mffco opened this issue Jul 19, 2019 · 0 comments

Comments

@mffco
Copy link

mffco commented Jul 19, 2019

Having an issue running the Trackable.Func Azure function when clicking "run" from the portal:

Error running PipelineInitiator:
[Error] Error initializing trackable context
[Error] System.Exception : Error loading msvcr120.dll (ErrorCode: 126)
at SqlServerTypes.Utilities.LoadNativeAssembly(String nativeBinaryPath,String assemblyName) at

C:\Users...\source\repos\Bing-Maps-Fleet-Tracker\Backend\src\Trackable.EntityFramework\Loader.cs : 41
at SqlServerTypes.Utilities.LoadNativeAssemblies(String rootApplicationPath) at
C:\Users...\source\repos\Bing-Maps-Fleet-Tracker\Backend\src\Trackable.EntityFramework\Loader.cs : 27
at Trackable.EntityFramework.TrackableDbContext.LoadSqlServerTypes(String rootPath) at
C:\Users...\source\repos\Bing-Maps-Fleet-Tracker\Backend\src\Trackable.EntityFramework\TrackableDbContext.cs : 150
at Trackable.Func.Shared.TrackableContext..ctor(TraceWriter writer)
2019-07-19T16:35:13.379 [Error] Function completed (Failure, Id=accbe408-06e2-4f33-b89a-8c04590e66a5, Duration=50ms)

Error running PipelineExecutor:
[Error] Function completed (Failure, Id=286b7fa1-8f59-4e35-99b3-b4745ede7f79, Duration=42ms)

I have tried publishing the app from Visual Studio but still get the same error. Also tried toggling "Remove additional files at destination" in publish settings but still no changes. I have checked the bin folder under both debug and release and the msvcr120.dll file exists under the SqlServerTypes folder.

Any help would be greatly appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant