question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Azure] Unable to load DLL 'tdjson.dll' or one of its dependencies

See original GitHub issue

Hi @ForNeVeR, @x2bool,

The app logged this error when deploying in azure web app service. Any ideas?

System.DllNotFoundException: Unable to load DLL ‘tdjson.dll’ or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at TdLib.Bindings.WindowsBindings.td_json_client_create() at TdLib.TdJsonClient…ctor() at TdLib.TdClient…ctor()

    <TargetFramework>netcoreapp2.2</TargetFramework>
    
    <PackageReference Include="TDLib" Version="1.6.0" />
    <PackageReference Include="tdlib.native" Version="1.6.0" />

I can see the dll in the machine

image

The service is configured on 64 bit

Regards,

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
Jycjmfcommented, Oct 19, 2021

Please try adding a tdlib.native package.

Thanks bro, I forgot I have only compiled tdjson.dll for windows , It works fine after install tdlib.native.

2reactions
ForNeVeRcommented, Mar 9, 2020

I’m sorry, I’ve been wrong earlier. Now it looks for vcruntime140_1.dll which is part of the combined VS2015, 2017 and 2019 runtime. Please try that one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load DLL or of its dependencies Azure
It says that the file is unable to load or one of its dependencies. The error shows that it cannot find the DLL...
Read more >
Azure and C++ DLL files - Microsoft Q&A
When I deploy the app to Azure, it complains only from the second DLL, and it says "unable to load dll or one...
Read more >
Unable to load DLL or of its dependencies Azure
Copy and paste RateModule_PAMI.dll to scm site, then try. Check if your webapp is running normally. According to my understanding, it should not...
Read more >
Release Notes | Derivative - TouchDesigner
Video Stream In TOP - Fixed issue where the stream would fail to load if an Audio Stream In CHOP was in use...
Read more >
zlib1 dll free for 64 bit - Colaboratory
Azure ] Unable to load DLL 'tdjson.dll' or one of its dependencies ... Download Zlib1.dll for Windows 10, 8.1, 8, 7, Vista and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found