简体   繁体   中英

BouncyCastle deployment error: HTTP Error 500.30 - ASP.NET Core app failed to start

I am using the below imports from BouncyCastle dependency in my .net core project

using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Modes;
using Org.BouncyCastle.Crypto.Paddings;
using Org.BouncyCastle.Crypto.Parameters;

When i try to run in my local PC it is working fine however once i deploy it is showing

HTTP Error 500.30 - ASP.NET Core app failed to start

If i remove the dependancies it is working fine

Thanks for any helps

As per my understanding, it appears as if you still do not know the cause of the error. To checkout the error follow the following steps:

Step 1:

Navigate to the kudu debug console https://youappname.scm.azurewebsites.net/DebugConsole

Step 2

In the console go to wwwroot

Enter this in the terminal:

cd site/wwwroot

Step 3

Then in the terminal type:

dotnet yourappname.dll

Step 4

Now navigate back by clicking the three dots ... to /

在此处输入图像描述

Step 5:

Through the GUI provided. Click LogFiles 在此处输入图像描述

Step 6:

Now click on eventlog.xml and scroll down to the bottom of the file. There the last event log will be the latest log. You will find the error there.

This is not the answer to your question. But I believe it will be helpful for you to finally solve the error!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM