INTRODUCTION
One Monday morning suddenly my client’s old SPS 2003 site no longer worked. It gave the error:
Exception from HRESULT: 0x80041050
The interesting thing is, some sub-sites are working fine. Trying to access the Site Settings and they’re fine too. So originally I thought that there must be something related to that particular page.
Intrigued, as I also thought that it was environmental related, I then restored the content database to SP 2007 environment. But same thing happened in 2007.
RESOLUTION
Came to find out that somehow 3 pages of the whole site (which happened to be the 3 most accessed pages by user) have been declared as containing virus. To check, run the following SQL query in SQL Server:
SELECT * FROM Docs WHERE (VirusStatus > 0) and (VirusStatus is not null)
If it returns any results then those pages in the results will not be accessible by users.
To fix, run the following SQL Query:
UPDATE Docs SET VirusStatus = null WHERE (VirusStatus > 0) and (VirusStatus is not null)
NOTE: For SharePoint 2007 the table is now called AllDocs instead of Docs.
And voila…site now comes back up.