The file 'filename' has not been pre-compiled, and cannot be requested is seen running ASP.NET applications on IIS.
When you try and access a .NET Web Application you may see the following error
The file 'filename' has not been pre-compiled, and cannot be requested.
Something similar may be seen in the Windows event log
The file 'filename' has not been pre-compiled, and cannot be requested.
Something similar may be seen in the Windows event log
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/9/2019 2:07:35 PM
Event time (UTC): 7/9/2019 1:07:35 PM
Event ID: fd2c08888c744bd4a1ccfae079ba7c53
Event sequence: 73
Event occurrence: 6
Event detail code: 0
Application information:
Application domain:
/LM/W3SVC/1/ROOT/ApplicationName-1-132071511520435099
Trust level: Full
Application Virtual Path: /Path
Application Path: C:\YourDirectory
Machine name: MachineName
If you've followed the other guides on the internet and ensured that you have compiled for the correct version of the .NET Framework you may want to check and delete the temporar internet files for the application and restart IIS
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\applicationname
This can sometimes resolve this issue
Comments
Post a Comment