by Melyssa Bell
September 18, 2008
There are several posts on this out there already, but I thought I’d add mine as well, just to have it down. If you have ForeFront managing your virus scanning for your SharePoint environment, then you may at some point receive some close resemblance of the following error when you navigate to your site:
Exception from HRESULT: 0×80041050
(I’ve also seen this error ending in a 4).
#1: This is a known bug with ForeFront mistakenly flagging SharePoint pages as a virus, and Microsoft does have a hotfix for this issue (see KB943221; however in my case, the issue resurfaced several months after applying the hotfix).
#2: To quickly get your site back up, (then worry about applying the hotfix), run the following query on each content database:
select * from AllDocs where (VirusStatus > 0) and (VirusStatus is not null)
If anything is returned, AND you are sure these files do not in fact contain a virus, then run the following query:
update AllDocs set VirusStatus = null where (VirusStatus > 0) and (VirusStatus is not null)
Your site should be back up in a jiffy. Also note that you will likely not find any events logged in ForeFront regarding these virus flags.