AnsweredAssumed Answered

pids_access

Question asked by mchaaya on Sep 20, 2018
Latest reply on Sep 20, 2018 by maristone

Hi All, We're running into an issue on PI WebParts (SharePoint 2013). We created a new page and added an SVG graph created in PI ProcessBook. All is good, suddenly and at random time, the page would not open and it would generate an error PIDS_Access error. The PI Graphic page will not open, with an error Messages[1], click on it and it open a pop up error: PI Graphic Errors & Messages: Some Application Services are not available at this time. Please Try again. Note: this message may indicate a configuration issue. OSIsoft.PresentationServices.PIDS_Access.

Sometimes the page work, sometime it doesn't. I am Able to access the PIwebparts admin page and test the PI Server.

on the Front end SP, i got the following error in the Application log here below. Perhaps the issue is with timeout. i did extend the timeout on the AboutPISdk to 120s. didn't resolve the issue.

The app pool is the SPadmin service account.

I think the issue is with timeout somewhere.

Your help would be much appreciated.

 

Log Name:      Application

Source:        PI
WebParts

Date:        
9/20/2018 1:40:41 PM

Event ID:      0

Task Category: PIWP_WcfClient

Level:         Error

Keywords:      Classic

User:        
N/A

Computer:    
CPAMSAAJ-SPPFR.am.cpchem.net

Description:

Timestamp: 1:40:41 PM

Message: Severity:'Critical', Stack:'

Server stack trace:

   at
System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32
offset, Int32 size, Boolean immediate, TimeSpan timeout)

   at System.ServiceModel.Channels.StreamConnection.Write(Byte[]
buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout,
BufferManager bufferManager)

   at
System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSendCore(Message
message, TimeSpan timeout)

   at System.ServiceModel.Channels.TransportDuplexSessionChannel.OnSend(Message
message, TimeSpan timeout)

   at
System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan
timeout)

   at
System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message,
TimeSpan timeout)

   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
OSIsoft.PresentationServices.PIDS_Access.PIWebPartsService.IPIWebPartsService.ExecuteQueries(String
sTzInfoID, DataQuery[] queries)

   at
OSIsoft.PresentationServices.PIDS_Access.ProxyCache`1.CallProxy[TResult](Func`2
serviceFunc, ProxyCacheKey proxyCacheKey, Boolean firstCall)' Message:'The
socket connection has been disposed. The write operation failed, see inner
exception. The socket connection has been disposed. Cannot access a disposed
object.

Object name: 'System.Net.Sockets.Socket'.

Category: PIWP_WcfClient

Priority: -1

EventId: 0

Severity: Critical

Title:

Machine: CPAMSAAJ-SPPFR

App Domain: /LM/W3SVC/417080558/ROOT-1-131818983566598267

ProcessId: 14828

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name:

Win32 ThreadId:15196

Extended Properties:

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="PI WebParts"
/>

    <EventID
Qualifiers="0">0</EventID>

    <Level>2</Level>

    <Task>14</Task>

  
<Keywords>0x80000000000000</Keywords>

    <TimeCreated
SystemTime="2018-09-20T10:40:41.000000000Z" />

  
<EventRecordID>4300364</EventRecordID>

    <Channel>Application</Channel>

  
<Computer>CPAMSAAJ-SPPFR.am.cpchem.net</Computer>

    <Security />

  </System>

  <EventData>

    <Data>Timestamp: 1:40:41 PM

Message: Severity:'Critical', Stack:'

Server stack trace:

   at
System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32
offset, Int32 size, Boolean immediate, TimeSpan timeout)

   at
System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32
offset, Int32 size, Boolean immediate, TimeSpan timeout, BufferManager
bufferManager)

   at System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSendCore(Message
message, TimeSpan timeout)

   at
System.ServiceModel.Channels.TransportDuplexSessionChannel.OnSend(Message
message, TimeSpan timeout)

   at
System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan
timeout)

   at
System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message,
TimeSpan timeout)

   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&amp;
msgData, Int32 type)

   at
OSIsoft.PresentationServices.PIDS_Access.PIWebPartsService.IPIWebPartsService.ExecuteQueries(String
sTzInfoID, DataQuery[] queries)

   at
OSIsoft.PresentationServices.PIDS_Access.ProxyCache`1.CallProxy[TResult](Func`2
serviceFunc, ProxyCacheKey proxyCacheKey, Boolean firstCall)' Message:'The
socket connection has been disposed. The write operation failed, see inner
exception. The socket connection has been disposed. Cannot access a disposed
object.

Object name: 'System.Net.Sockets.Socket'.

Category: PIWP_WcfClient

Priority: -1

EventId: 0

Severity: Critical

Title:

Machine: CPAMSAAJ-SPPFR

App Domain: /LM/W3SVC/417080558/ROOT-1-131818983566598267

ProcessId: 14828

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name:

Win32 ThreadId:15196

Extended Properties: </Data>

  </EventData>

</Event>

Outcomes