I have asp.net core 2.2 application running on azure service. It was working fine before but now when I deploy it I get this error: An error occurred while starting the application.
I don't see anything in application log files because this happens before application starts. So, my question is, is there any azure log file which I can take look at to see what is causing the error?
Many startup errors will not see any useful information in the log. At this time you can use the kudu tool (this is the method provided by MS, this is the doc ), which is located under the Under Development Tools / Advanced Tools.
How to use kudu tools:
Open Kudo
Go to DEBUG CONSOLE (Top Menu), then CMD
CD site
CD wwwroot
DIR to list contents. Find your dll in the list to ensure you are in the right location.
DOTNET your.dll
For more information about how to use the kudu tools, have a look of this doc:
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.