HTTP Error 500 - The file {filename} has not been pre-compiled, and cannot be requested
Symptoms
Users see a black screen and one of various HTTP Error 500 when trying to access Dashboard Server, and when checking the Dashboard Server log files you see:
HTTP Error 500 (Dynamic)
Authentication/index : System.Web.HttpException
"The file {filename} has not been pre-compiled, and cannot be requested"
Possible HTTP Error 500 black screen messages:
HTTP Error 500 (Dynamic)
"The file {filename} has not been pre-compiled and cannot be requested"
HTTP Error 500 (Static)
"This error is triggered by ASP.NET and likely indicated a configuration problem rather than a runtime error in SquaredUp itself"
HTTP Error 500 (Dynamic)
OpenAccess/Index : System.Web.HttpException
"The file '/SquaredUpv5/Views/OpenAccess/Index.cshtml' has not been pre-compiled, and cannot be requested"
Procedure
The issue can be resolved using the following steps.
You may need to connect to your SquaredUp server (
In IIS stop the Dashboard Server application pool.
On the SquaredUp Server open the following folder:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\SquaredUp[version number]
Delete the folder within it which is named with a randomly generated GUID.
Start the Dashboard Server application pool. If you check you should see a new randomly named folder has been created as the Dashboard Server assemblies are re-copied into the new folder.
Browse to Dashboard Server. The web page should open successfully and you should be able to log in.
If this does not resolve the issue please contact Squared Support.