SCOM 2012 Visio Diagram in SharePoint 2010 – Errors

In my lab I installed SharePoint 2010 Enterprise. To do that there are several good sources on the internet. But still there are sometimes strange things happen and your Visio just does not appear in SharePoint and you just start fighting several errors.

Here I am going to share my experience but remember it is a lab environment.

My SharePoint server SP01 has following applications installed:

  • Windows 2008 R2 SP1
  • SharePoint 2010 Enterprise
  • Visio 2010 Premium
  • Visio 2010 add-in for SharePoint 2010
  • System Center Operations Manager 2012 console

For the basic installation of SharePoint 2010 and Visio 2010 add-in there is a good article found here.

After that you could face the following errors…

Error#1:
“You can’t open this location using this program. Please try a different location.”  – by trying to “Save&Send” a Visio diagram in SharePoint.

01

Solution:
On the SharePoint server add the “Desktop Experience” feature and reboot the server.

 

Error#2:
“Visio Web Access is not available on this site” – if you saved your saved your Visio Web Drawing (*.vdw) file to SharePoint and then you try to open it in SharePoint.

image

Solution:
Open the “SharePoint 2010 Management Shell” and execute this command:

Enable-SPFeature -Identity 9FEC40EA-A949-407d-BE09-6CBA26470A0C -Url http://YourSiteCollectionURL

This feature makes the Visio Web Access web part available in the site collection.

 

Error#3:
”The Server failed to process the request.” – If you try to open the Visio Web Drawing (*.vdw) file in SharePoint.

image

Solution:
Give the SharePoint service account appropriate permission. In the application eventlog on the SharePoint server you will find event ID 8042 saying that the account needs execute permission on SharePoint_AdminContent_[some number] database. For ease of use I just dropped the service account into the sysadmin SQL Server role.

 

Error#4:
”The Server failed to process the request.” –
If you try to open the Visio Web Drawing (*.vdw) file in SharePoint.

image

Solution:
Verify also that your shared credentials are set up correctly like described in this blog post.

 

Error#5:
The Visio diagram opens and you see your diagram as it supposed to be BUT the icons have red circle with a line like this symbol .

image

Solution:
Check the execution policy in Powershell on the SharePoint server. I ran

Set-Executionpolicy Unrestricted

Make also sure you add your service account to the Read-Only Operators in SCOM. In my setup I had to add the svc-sql to the Read-Only Operators in SCOM.

image

Tip: If you change permission restart IIS on the SharePoint server to verify if it works or not. Otherwise you might get wrong results.

 

Finally you should see your Visio in SharePoint 2010!

image

11 Comments

  1. Excellent post!!!

    But I´m having a different problem, I can see the Visio diagram in SharePoint 2010, but when make click on any of the components I see:

    Server Error in ‘/OperationsManager’ Application

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /OperationsManager/ResultViews/ViewTypeHealthExplorer.aspx

    This error don´t allow me to see the health explorer of any of the components

    Any help would be much appreciated.

    Thank you!!

  2. Hi,

    It´s me again, but now I´m having a different problem, I can not see my visio Diagrams, I see the error “The Server failed to process the request.”
    I did what you put in your post and in other posts, but still not working. In the Event Viewer see the next error:

    Failed to generate Vector diagram for file http://XXXXX/Shared Documents/Tablero1.vdw Error : System.NullReferenceException: Object reference not set to an instance of an object.
    at Microsoft.Office.Visio.Server.GraphicsServer.RefreshEngine.Refresh()
    at Microsoft.Office.Visio.Server.GraphicsServer.RefreshEngine.CreateOutputDiagram(Boolean disableRefresh)
    at Microsoft.Office.Visio.Server.GraphicsServer.Core.VectorizeDiagram()
    at Microsoft.Office.Visio.Server.GraphicsServer.Core.get_VectorDiagram()
    at Microsoft.Office.Visio.Server.GraphicsServer.VisioGraphicsService.GetVectorDiagram(VectorDiagramRequestContract vectorDiagramRequest)

    But I don´t see anything about permission problems.

    Any help would be much appreciated.

    Best Regards,

  3. Pingback: Scom , Visio , Sharepoint Entegrasyonu ve Dashboard | Selçuk Kibar - IT Professional

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s