cancel
Showing results for 
Search instead for 
Did you mean: 

Application.StoreDocument(PageData, Document) periodically returns a 500 server error from the API call

Ryan_Wilson2
Star Contributor
Star Contributor

Application.StoreDocument(PageData, Document) periodically returns a 500 server error from the API call or takes a long time to return a response.

 

Anyone have any idea what can cause this from the AppServer and if so, what should I be looking at to diagnose this problem as well as possibly eliminate it.

Also, I sometimes get slow responses from modifying documents, seems like it just hangs on the KeywordModifier.ApplyChanges() call.

 

***NOTE***

I already checked the file sizes and the web.config on the AppServer. This has nothing to due with large files.

 

Here is the Full Stack Trace of the Exception captured on the 500 Server Error:

 

at System.Net.HttpWebRequest.GetResponse()   at Hyland.Types.OptimizedSoapServiceClient.executeVersion2(HttpWebRequest request, RequestList requestList, SerializationContext context, Action`1 action)   at Hyland.Types.OptimizedSoapServiceClient.ExecuteCore(RequestList requestList, Action`1 action)   at Hyland.Types.SoapServiceClient.Hyland.Types.IServiceClientInternal.Execute(RequestList requestList, Action`1 action)   at Hyland.Types.SoapServiceClient.Execute(IRequestList requestList)   at Hyland.Unity.Services.HylandServices.ServiceAccessBase.Execute(Request request, Int32 numberOfAttempts)   at Hyland.Unity.Services.HylandServices.ServiceAccessBase.Execute(Request request)   at Hyland.Unity.Services.HylandServices.ServiceAccessBase.ExecuteWithValidation(Request request)   at Hyland.Unity.Services.HylandServices.CoreServiceAccess.Hyland.Unity.Services.ICoreServiceAccess.PrepareStreams(IEnumerable`1 pdList)   at Hyland.Unity.Utility.PrepareAndUploadStream(Application app, IEnumerable`1 pdList)   at Hyland.Unity.Services.HylandServices.CoreServiceAccess.Hyland.Unity.Services.ICoreServiceAccess.StoreDocument(IEnumerable`1 pageDataList, StoreNewDocumentProperties props)   at Hyland.Unity.Storage.StoreNewDocument(IEnumerable`1 pageDatas, StoreNewDocumentProperties props)   at Hyland.Unity.Storage.StoreNewDocument(PageData pageData, StoreNewDocumentProperties props)   at OnBaseSweeper.Classes.OnBaseAPIWorker.Upload(OnBaseDocumentUpload upload) in S:\IT\GITRepo\OnBaseSweeperWindowsService\OnBaseSweeperWindowsService\WindowsService1\Classes\OnBaseAPIWorker.cs:line 176
1 REPLY 1

Michelle_Servi5
Champ on-the-rise
Champ on-the-rise

did you ever get this resolved Ryan?  Was it firewall related?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.