0

I've been receiving an error when trying to run my blob trigger locally:

Microsoft.Azure.WebJobs.Extensions.Storage.Blobs: Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Value cannot be null. (Parameter 'provider')

I saw a solution here that suggests downgrading "Microsoft.Azure.WebJobs.Extensions.Storage" to version 5.0.1 may solve the problem. But I'm not exactly sure how to do that, since I don't see a specific library named that in my project. My hunch tells me it might be a apart of this package azure-storage-blob==12.14.1 but I'm not exactly sure. I'm even specifying the version I want, I don't see how it'd suddenly break.

Any suggestions on how to do so, or other solutions I can try for the problem at hand would be greatly appreciated.

BlakeB9
  • 345
  • 1
  • 3
  • 13

1 Answers1

3

When I created a sample Azure Function Blob trigger with Python even I received the same error code:-

enter image description here

I have referred the answer by Jon Koeter from this SO Thread like below:-

And I deleted the Below folder from my local machine:-

C\Users\user\AppData\Local\AzureFunctionsTools

enter image description here

And this folder >

C\Users\AppData\Local\azure-functions-core-tools

enter image description here

I deleted Azure Function core tools like below:-

C\Program Files\Microsoft\Azure Functions Core Tools

enter image description here

Then I installed a new version of Azure Core tool Functions for windows 64 bit from this MS Document and created a new blob trigger function in python and the trigger ran successfully without any error like below:-

enter image description here

Reference:-

[BUG] Function App crashes on startup with error "Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData'" · Issue #34467 · Azure/azure-sdk-for-net · GitHub By TylerV

SiddheshDesai
  • 3,668
  • 1
  • 2
  • 11
  • Thank you this worked! And just as a heads up to other people that might come across this, my Azure Function Core Tools folder wasn't in the typical spot seen here. However, if you just go to Add or Remove Programs, you can find it there and uninstall. – BlakeB9 May 04 '23 at 15:27