Problem
Visio Graphs are not working on SharePoint 2013, you will see generic error message in Visio Web Part and the following error messages in Windows Application Log.Log Name: Application
Source: Microsoft-SharePoint Products-Visio Graphics Service
Event ID: 9004
Task Category: Web Access
Level: Warning
Description:
Failed to access the cache.
---
Log Name: Application
Source: Microsoft-SharePoint Products-Visio Graphics Service
Event ID: 8079
Task Category: Graphics Service
Level: Error
User: AD\svc_sp_serviceapppoo
Description:
Failed to generate raster diagram for file http://intranet/Documents/MyVisio.vsdx page Image0 Error : System.IO.FileNotFoundException: E:\Program Files\Microsoft Office Servers\15.0\Data\VisioServer\VisioCache372264ef-b563-434d-bee0-11dede201c0b\VisioBundle637d234b68df44f8b5957a482056ef00.cache at Microsoft.Office.Visio.Server.GraphicsServer.DiskCache.ReadBundlePart(Bundle bundle, Int32 index)
at Microsoft.Office.Visio.Server.GraphicsServer.ServiceCore.GetRasterPageItem(RasterPageItemRequest request)
at Microsoft.Office.Visio.Server.GraphicsServer.VisioGraphicsService.GetRasterPageItem(RasterPageItemRequest request)
---
Log Name: Application
Source: Microsoft-SharePoint Products-Visio Graphics Service
Event ID: 8078
Task Category: Web Access
Level: Error
User: NT AUTHORITY\IUSR
Description:
Failed to get raster diagram for visio file http://intranet/Documents/MyVisio.vsdx page Exception : System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Office.Visio.Server.GraphicsServer.IVisioGraphicsService.GetRasterPageItem(RasterPageItemRequest rasterPageItemRequestContract)
at Microsoft.Office.Visio.Server.Administration.VisioGraphicsServiceApplicationProxy.GetRasterPageItem(RasterPageItemRequest request)
at Microsoft.Office.Visio.Server.ServiceWrapper.GetRasterPageItem(RasterPageItemRequest request)
Workaround
Actual reason seems to be due to incorrect permissions. Look at the path highlighted in yellow on one of the error messages. There is not enough permissions in E:\Program Files\Microsoft Office Servers\15.0\Data\VisioServer\ for the account Visio Services is using. You can find the account by going to Manage Service Applications page in Central Admin, and highlighting the Visio Graphics Service row, then clicking on the Properties button and looking at the Application Pool used.
Then, in Service Accounts page in Central Admin, you can find the actual AD account. Don't go modifying permissions manually, but run the SharePoint Configuration Wizard instead.
Solution
Unknown, yet.
Technorati Tags: SharePoint 2013
No comments:
Post a Comment