Pages

My Short and to the (Share)Point thoughts

Showing posts with label SQL. Show all posts
Showing posts with label SQL. Show all posts

SharePoint 2010 Servers Visio Stencil

Many may know i have a passion for Visio.  So much, I have just updated my Visio stencil for Trinity with the latest for SharePoint 2010 and Microsoft servers.

The stencil can be downloaded from here

SharePoint Servers - Trinity[9]

The stencil now includes the following servers stencils all with branded logos:

    SharePoint

    Search

    SQL

    Miscellaneous

    SP2010

    FAST Search Server for SP2010

    SQL 2008

    Forefront TMG

    SP2010 Foundation

    Search Server 2010 Express

    SQL 2008 Mirroring

    Forefront UAG

    MOSS 2007

    Search Server 2010

    SQL 2008 Clustering

    Forefront Protection for SharePoint

    WSS V3

    Search Server 2008 Express

    SQL 2005

    ISA 2006

    SPS2003

    Search Server 2008

     

    Exchange 2010

    WSS V1

       

    SMTP

    Project Server 2010

         

    InfoPath Forms

         

Happy Visio-ing!


Exception from HRESULT: 0x80041054

Issue

Following a fairly innocent reboot of all my SharePoint farm servers, all SharePoint site content was not displayed and I go the following error message.  image

Interestingly though, all the content under /_layouts/ was displayed with no issues.  This made me think there must have been an issue with the content databases rather than the SharePoint servers themselves.

 Reason

After much investigation (crawling through logs and internet searches), I determined (with the help of Matt Groves) that the SharePoint aware anti-virus (Symantec 5.1 for SharePoint) had stopped and left the VirusStatus code for the master page and several page layouts in anti-virus limbo. 

When a virus is detected or when the service that connects SharePoint to the antivirus scan engine becomes unavailable, the antivirus scanner sets the VirusStatus code to a non-zero and non-null value.  This makes SharePoint believe the files have a virus and won’t display it (pretty disastrous when its the master page!). 

The scan engine became unavailable because the temporary licence for the Symantec 5.1 for SharePoint had expired. I believe the reboot stopped the scan engines from running, the license may have expired days or weeks ago.

You may also have an issue if you remove your SharePoint aware anti-virus.

Solution

  1. Run the following SQL Query against your content database(s) to determine if they have have files stuck in AV limbo

SELECT * FROM Docs

WHERE (VirusStatus > 0) AND (VirusStatus IS NOT NULL)

(see http://support.microsoft.com/kb/928169 for more detail)

This will return all files which SharePoint believes are viruses.

  • Enable your SharePoint aware anti-virus (I did this by applying a new license code to all the SharePoint servers).  If you’ve uninstalled it, reinstall your AV, fix the content and follow products recommended removal process.
  • Run a manual AV scan on SharePoint using your SharePoint aware AV.
  • Run the SQL Query again to make sure no virus items are returned.  if they are, run your manual scan again and try and determine if you have a  virus.

Connecting SharePoint to a SQL Instance on static port

If you are using a SQL server instance on static port (best practice for to secure SQL) there are a couple of things you need to do.

  1. On the SQL server, in the firewall configuration, allow inbound connections to your static port.
  2. In the SharePoint Configuration Wizard, you need to put "dbserver\instance,PortNumber" for the Database server name.

image