New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] EventProcessorHost TypeLoadException #7305
Comments
|
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl |
1 similar comment
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl |
It looks like the problem is related to the "Microsoft.Azure.Storage.Blob" library. But I can't patch it because n the current branch there is no |
Any news on this? Because in relation with NetCore and "Microsoft.Azure.EventHubs" the EventProcessorHost is not useable in any version. Version 3.0.0 throws: Stack:
Currently, we can't develop any further! @jfggdl |
Can you share what version of |
That problem doesn't seem to exist anymore, should have tested.
I used IEventProcessorFactory but I do not remember why nor do I remember the documentation anymore :(
|
@larslarsson Ok! get it working by also reverting |
Good for you - and yes I was wrong in that I use .net framework as base not .net core or .net standard. Was thinking I had to go to my shame corner & cry since shelvset worked after rebuild but closing VS2019 & reopen it & rebuilding gives me the exception again. .net framework 4.6.2 2019-08-21 17:53:00,011 [1 ] FATAL (Program) - UnhandledExceptionEventArgs, message:Could not load type 'Microsoft.WindowsAzure.Storage.CloudStorageAccount' from assembly 'Microsoft.Azure.Storage.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. |
Thanks for raising this issue. We identified that one of the libraries we depend modified the contract. We will update the dependency in the next release (4.1), which should solve the problem on your end. I'll keep this issue open until then. |
The failure was due to storage namespace change from 9.4 to 11.0. Issue fixed with EPH 4.1.0 release. Please reactivate if needed. |
Describe the bug
A TypeLoadException is thrown for 'Microsoft.WindowsAzure.Storage.CloudStorageAccount' when using EventProcessorHost.
Exception or Stack Trace
at Microsoft.Azure.EventHubs.Processor.EventProcessorHost..ctor(String eventHubPath, String consumerGroupName, String eventHubConnectionString, String storageConnectionString, String leaseContainerName)
at Solytic.Services.DataReadingHostService.Program.Main(String[] args) in C:\Users\SteffenMangold\source\repos\Solytic 2.0 Backend Services\Solytic.Services.DataReadingHostService\Program.cs:line 16
To Reproduce
Code Snippet
Setup (please complete the following information):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: