07-16-2012 02:31 PM
When trying to Store a document via Unity API, UnityAPIException is thrown :
Code:
MemoryStream ms = new MemoryStream();
ms.Write(Report.DocumentBytes, 0, Report.DocumentBytes.Length);
...
...
PageData ReportPageData = unityApp.Core.Storage.CreatePageData(ms, FileExtension);
Document newDocument = unityApp.Core.Storage.StoreNewDocument(ReportPageData, ReportFormProperties);
Please let me know if you have any suggestions,
Thanks.
08-23-2012 06:19 AM
Sounds like the user running the Application Server's App pool does not have access to the Windows\Temp directory. Verify that the application pool assigned to the AppServer is using something like Local System or Local Service. If you are using impersonation, verify that user has access to the temp directory.
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.