firebase / firebase-admin-dotnet

Firebase Admin .NET SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
369 stars 131 forks source link

IIS 500 error when deployed on server #205

Closed sam17896 closed 4 years ago

sam17896 commented 4 years ago

I have integrated this package in my application using .net core 3.1, it working fine on local machine but throwing 500.31 ANCM Failed to Find Native Dependencies on server. The application works fine without this package. Can anyone please point out which dependencies might be missing from server and if this package support .net core 3.0+. What might be I missing here

hiranya911 commented 4 years ago

According to Azure documentation https://docs.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis:

The ASP.NET Core Module attempts to start the .NET Core runtime in-process, but it fails to start. The most common cause of this startup failure is when the Microsoft.NETCore.App or Microsoft.AspNetCore.App runtime isn't installed. If the app is deployed to target ASP.NET Core 3.0 and that version doesn't exist on the machine, this error occurs.

I think this issue needs to be debugged and resolved at the deployment level. But if there's anything specific that can be done in this repo, please let us know.