Last post Dec 16, 2020 01:44 AM by Gluups
Nov 22, 2020 01:05 AM|CopBlaster|LINK
I have a compiled ASP.Net 4.7.2 Web Forms website that I discovered to not be working today. On the server I got the error that Site.master did not exist. I had not uploaded any changes to the server in over a week and I know that I did not delete Site.master
from the server. The website is precompiled. This would not be the first time that a precompiled site has returned a missing file error due to a problem compiling the site, but it would be the first time that a file has gone missing after having been properly
compiled for some time.
I am currently recompiling and redeploying the site hoping that will solve the problem, but I don't want that to happen again. What could have caused that and how can that be prevented in the future?
Nov 22, 2020 07:57 PM|Gluups|LINK
Did you change the current dirrectory some way ?
Did you verify on the server whether the file is there ?
Nov 24, 2020 05:56 AM|CopBlaster|LINK
I just redeployed the site and it was fixed. I still don't know why the problem arose in the first place or how to keep it from happening again.
Dec 15, 2020 10:29 PM|CopBlaster|LINK
Just happened today again. Precompiled site's starts suddenly displaying runtime error that site.master does not exist.
Dec 15, 2020 11:36 PM|Gluups|LINK
Do you have any visibility at the hardware maintaining, or is it subcontracted somehow ?
If you have access to it I should think to verify the consistency of the disk, as you find in the properties of the disk in Windows, in the Tools tab, with a Verify button (and naturally you will need administrator rights to use that).
Generally speaking, when it is a big firm that treats that, it is supposed having hardware OK, and it is particularly strange several times on a long period of time, but I have to admit I see no other track.
I presume the site runs OK when testing on your machine before deploying ?
Dec 16, 2020 01:32 AM|CopBlaster|LINK
The server is a VPS that I have RDC access to. There have also been problems with the site's Lighthouse speed scores and trouble accessing the database when there RAM use is high.
Dec 16, 2020 01:44 AM|Gluups|LINK
Hum, that needs to be taken in account ...
I missed a session about the Cloud yesterday, waiting for the record with eager.