The resource class for this page was not found. Please check if the resource file exists and try again.

Mattia Morando 1 Reputation point
2021-05-18T07:37:03.697+00:00

ONLY IN PRODUCTION AND WITHOUT MAKING UPDATES, it happens that the resource files are not found during the compilation of the page.

This happens every now and then, at irregular intervals, even after months.

When it happens, just restart the iis pool and everything works again, can anyone tell me what happens?

Error 500
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Inner Exception: System.InvalidOperationException: The resource class for this page was not found.  Please check if the resource file exists and try again.
   at System.Web.Compilation.LocalResXResourceProvider.CreateResourceManager()
   at System.Web.Compilation.BaseResXResourceProvider.EnsureResourceManager()
   at System.Web.Compilation.BaseResXResourceProvider.GetObject(String resourceKey, CultureInfo culture)
   at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
   at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture)
   at pCatalogo.CreaStrumentiSopra()
   at pCatalogo.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Internet Information Services
{count} votes