Operational Services zorgt ervoor dat je website, portal of applicatie succesvol is en voorral ook blijft.
Homepage blog
14
Jan
Sometimes you will see the error "Resource not found" in a .NET application, but without specifying which resource is missing. In this article it is explained how to find out more about which resource is causing this.
I got this error after installing a SharePoint hot fix and having it break the environment. I was able to recover SharePoint and the sites to an almost working state, but then this error appeared:
In the error message it only says a resource is missing, but it doesn't say which one. Surely I had configured web.config to show all error messages (make sure not to leave it like this in a production environment or else detailed errors will be shown to visitors):
Even after using these settings it still doesn't show directly in the error message which resource is missing.
To be able to see what is causing this error you need to view the HTML source of the page. An HTML comment is embedded in it which should have enough information to help find the missing resource.
In my case:
Many times it says the exact file missing, but not this time, although by the tracing of the error I was able to guess where to look in.
Comments (0)
Tam Tam brengt je wereld online.