IIS Windows Auth not working for me

When copying the files over from the new build, don’t include Dashboard.ps1 and Web.Config in the overwrite.

That exactly what I did and after restarting IIS I’m getting application errors pertaining to the UD.server.exe failing to start.

IIS AspNetCore Module Error:

Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:\inetpub\wwwroot\' failed to start process with commandline 'C:\inetpub\wwwroot\net472\universaldashboard.server.exe ', ErrorCode = '0x80004005 : e0434352.

Windows Error Report:

Fault bucket 1530942474755084786, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: universaldashboard.server.exe
P2: 1.0.0.0
P3: f9fe6b61
P4: UniversalDashboard.Server
P5: 1.0.0.0
P6: f9fe6b61
P7: 1
P8: 1df
P9: System.Exception
P10: 

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_universaldashboa_849ba0e3bd391fcbd8d6384193454945ba321f6_7f3a1ad4_1a6fb826

Analysis symbol: 
Rechecking for solution: 0
Report Id: 24ac014b-321f-4edf-99ea-7e0d000153ce
Report Status: 0
Hashed bucket: 1b37562a7e1d0648e53f0011cb5591f2

Make sure to unblock the files in the web directory:

Get-ChildItem -Recurse | Unblock-File 

Since the ZIP was downloaded from the internet, the files may be blocked.

After doing that and restarting IIS I got two new errors.

Application Error:

Faulting application name: universaldashboard.server.exe, version: 1.0.0.0, time stamp: 0xf9fe6b61
Faulting module name: KERNELBASE.dll, version: 10.0.14393.2636, time stamp: 0x5bda7edc
Exception code: 0xe0434352
Fault offset: 0x0000000000034048
Faulting process id: 0xa3c
Faulting application start time: 0x01d4af5cce42c7c1
Faulting application path: C:\inetpub\wwwroot\net472\universaldashboard.server.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 1db3370d-b3f0-4406-b1b4-1b2426004c3f
Faulting package full name: 
Faulting package-relative application ID: 

.NET Runtime Error:

Application: universaldashboard.server.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at UniversalDashboard.DashboardManager.Start()
   at UniversalDashboard.Program.Main(System.String[])

Any Idea? Did the zip file just not download correctly by chance?

There could be something wrong with the dashboard script.

Navigate to the installation directory in a cmd prompt and execute the UniversalDashboard.Server by hand. It might provide a better error message.

Nothing new, the cmd prompt pops up and quickly disappears (ran as Administrator). Event logs show the same errors as before.

So I was able to get Logging enabled but I’m getting the same FileLoadException mentioned in this thread. But it did create a log file but I’m not finding anything regarding the AuthorizationPolicies within the file. Is there something specific I should look for? I’m going to test out the -Design flag right now and see if I can get anything from there.

Update: Interestingly when I add the -Design flag into the Start command I’m getting the same errors generated in the event logs when I try to update to the 2.3.0.118 Build.