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.

Mono missing winhttp.dll

See original GitHub issue

I’m using the latest mono version for Debian 8, and I just deployed Tweetinvi to the machine (ASP.NET app) but I am getting this error:

image

 Application Exception

 System.DllNotFoundException
 winhttp.dll
 
 Description: HTTP 500.Error processing request.
 Details: Non-web exception. Exception origin (name of application or object): Microsoft.Threading.Tasks.
 Exception stack trace:
   at (wrapper managed-to-native) Interop+WinHttp:WinHttpOpen (intptr,uint,string,string,int)
   at System.Net.Http.WinHttpHandler.EnsureSessionHandleExists (System.Net.Http.WinHttpRequestState state) [0x00089] in <c0e04d9c70cf48a6a179fbfd8ce69fd0>:0 
   at System.Net.Http.WinHttpHandler+<StartRequest>d__103.MoveNext () [0x00095] in <c0e04d9c70cf48a6a179fbfd8ce69fd0>:0 
 --- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00042] in <1c7d529d87ec4bdcbde02e9494f3b5ae>:0 
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess (System.Threading.Tasks.Task task) [0x0001c] in <1c7d529d87ec4bdcbde02e9494f3b5ae>:0 
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00009] in <1c7d529d87ec4bdcbde02e9494f3b5ae>:0 
   at Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <1c7d529d87ec4bdcbde02e9494f3b5ae>:0 
   at Tweetinvi.WebLogic.HttpClientWebHelper+<GetHttpResponse>d__0.MoveNext () [0x00104] in <89729572ccf046a586dfe214f5c4b961>:0 
 Version Information: 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 11:48:26 UTC 2017); ASP.NET Version: 4.0.30319.42000
 Powered by Mono

Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 11:48:26 UTC 2017) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen

Running on Debian 8.7 .NET Framework 4.6.

Any clues? It appears to be linked to system.net. Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
linvicommented, Feb 6, 2017

Hello there, I will try to take a look during this week.

Sorry for the delay, I have too much on my plate right now.

0reactions
linvicommented, Jun 20, 2017

Great. In addition to this please note that version 2.0 is now based on .NETStandard which should avoid this type of problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Winhttp.dll Not Found or Missing Errors
Restore winhttp.dll from the Recycle Bin. The easiest possible cause of a "missing" winhttp.dll file is that you've mistakenly deleted it. If ...
Read more >
Download & Fix 26.WINHTTP.dll Missing Error
dll is a critical component for some Windows applications, and the error message indicates that the file is corrupt or missing, which affects...
Read more >
missing mono.dll. help! : r/MySummerCar
dll (error = 126)." solved! go to mysummercar_Data then click on the mono folder and if there is no mono.dll then click this...
Read more >
System.Net.Http.WinHttpHandler.dll : Free Download
Http.WinHttpHandler.dll file is missing or corrupted can lead to program ... Download. System.Net.Http.WinHttpHandler.dll. by Mono development team.
Read more >
Troubleshooting - BepInEx Docs
Whenever you have a problem starting up BepInEx, most commonly, it's either because of a missing core file or a wrong entry point....
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