mspnp / AzureNamingTool

The Azure Naming Tool is a .NET 8 Blazor application, with a RESTful API. The UI consists of several pages to allow the configuration and generation of Azure Resource names. The API provides a programmatic interface for the functionality.
https://aka.ms/azurenamingtool
MIT License
307 stars 601 forks source link

HTTP Error 503. The service is unavailable. #73

Closed lucafabbri365 closed 4 months ago

lucafabbri365 commented 4 months ago

Hello, I'm trying to run AzureNamingTool as Stand-Alone Site (IIS on W2012 R2 + ASP.NET Core Runtime 8.0.1 Hosting Bundle). I'm getting the error Service Unavailable - HTTP Error 503. The service is unavailable. In the Event Viewer this error appears (and the App Pool stops):

Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x5215df96 Faulting module name: coreclr.dll, version: 8.0.123.58001, time stamp: 0x65684720 Exception code: 0xc00000fd Fault offset: 0x0000000000099df7 Faulting process id: 0x12b0 Faulting application start time: 0x01da5a14e673207f Faulting application path: c:\windows\system32\inetsrv\w3wp.exe Faulting module path: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.1\coreclr.dll Report Id: 2512dbda-c608-11ee-8134-0050569b1778 Faulting package full name: Faulting package-relative application ID:

The AppPool has the Load User Profile set to True (otherwise a .NET Runtime error appears in the Event Viewer related to Category: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager)

Any help would be appreciated.

Thank you.

lucafabbri365 commented 4 months ago

Hello, I managed to solve it by myself: the Application Pool permissions on the folder were missing.