1
votes

Getting following error message when selecting function in Azure Functions interface:

Function ($HttpTrigger) Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Session Id: 1e96785112fc4979a19cb22b4eb40d99 Timestamp: 2017-12-09T23:07:55.666Z

enter image description here

1
May be you can check the logs by following "Monitor log files from a command line" mentioned in the docs. docs.microsoft.com/en-us/azure/azure-functions/… - Baskar Rao
Application Insights is turne on and there is nothing of value there. It doesn't even pickup this error - dmartu
Application insights might not be getting initialized in this case. Have you attempted to view log files without AppInsights? This article:docs.microsoft.com/en-us/azure/azure-functions/…, the section at the bottom labelled "Monitor log files from a command line" - d3r3kk
I'm getting the same error message on a local machine. I'm using .net core azure function and the type it's complaining about is dbcontext from ef core - Boris Lipschitz
Are you using .net core 2.0 with Sdk.Functions 1.0.7 by any chance? - Boris Lipschitz

1 Answers

-1
votes

Are you able to Retrieve the LoaderExceptions property? Try following How to retrieve the LoaderException property?