IIS 5 & IIS 6
File Not Found on a running IIS site
Last post Jul 02, 2019 01:01 AM by AntBo
Aug 14, 2018 04:35 AM|rmohan80|LINK
We've had this issue across 2 different instances of the same website (they're hosted on separate hardware, different OS and are in no way related).
The issue is that the IIS server is throwing a:
Server error in '/' Application. Stack trace is as follows:
The file '/Dashboard/Widgets/Widget.ascx' does not exist
This is a running server with no code changes over the past 1 year. On closer investigation it looks like the .NET framework has created a file called App_Web_widget.2caa704.dll.delete under the folder “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary
Renaming the ".delete" file to ".delete.old" gets the site working immediately.
The same error has occurred multiple times now under different instances with each time a different compiled DLL failing. And in each case a ".delete" file has been created within the Temporary .NET folder in different places.
Our investigation seems to conclude the following:
So, what is causing running app cache to fail and why is it not completing the update of the code if it decides that the codebase needs to be update?
There also seems to be no way to raise a ticket with Microsoft for this issue rather than posting a thread here. support.microsoft.com does not even list IIS as a product under Windows Server in order for us to create a ticket
Aug 16, 2018 01:15 AM|deepakpanchal10|LINK
I tried to test with a simple Asp.Net website and I did not find the xxx.dll.delete file.
What’s the server operation system you are using? Which is the version of IIS or the .net framework?
Could you please share a simple project so we could try to use it to reproduce your issue? Please remember to remove any sensitive information before sharing.
Aug 16, 2018 06:35 AM|rmohan80|LINK
This has happened in Windows 2012 R12 and IIS version 6.2 as well as in Windows 2010 R2
.NET version is I believe v4.0.30319
Unfortunately, I cannot share the project as it's a enterprise solution
The ".delete" file is created during runtime at some point (after months of production use). So you won't have it when you create a new project
Hope I can get some help
Aug 20, 2018 08:10 AM|ISG.V|LINK
not very clear about your original issue, but as far as I know, the IIS in windows 2012 r2 is IIS 8.5, how did you install an version 6.2？ could it be the reason?
Aug 21, 2018 09:43 AM|deepakpanchal10|LINK
If you do feel awkward to share the entire enterprise solution, you could try to remove any confidential and sensitive information and level the simple project to reproduce the issue. We do need a project to reproduce the issue and then try to check it to
find any clue.
Thanks for understanding.
By the way, IIS on Windows Server 2012 R2 is 8.5. Please check if you confused Windows Server Version and IIS Version.
Jul 02, 2019 01:01 AM|AntBo|LINK
We have similar issue with one of our website instances running on Windows 2012R2 and IIS 8.5: the website was working fine for few weeks and suddenly started raising the error "The file 'xyz.cshtml' has not been pre-compiled, and cannot be requested." After
some investigation I found the ".delete" file for corresponding xyz.cshtml in temporary asp.net files folder.
Why ASP.NET/IIS creates .delete files?
How to prevent this issue from happening?