cancel
Showing results for 
Search instead for 
Did you mean: 

Unity API Error - Could not find file c:\windows\temp\b71f3....TMP

Michael_Riley3
Champ in-the-making
Champ in-the-making

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.

 

1 REPLY 1

Daniel_Quill
Elite Collaborator
Elite Collaborator

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.

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.