Call to CreateNewPhysicalDocumentFromTemplate fails for Onsite
Status: Reported
Description
Error calling SuperOffice endpoint https://xxxxxxxxx/SuperOffice/api/v1/Agents/Document/CreateNewPhysicalDocumentFromTemplate. Der Zugriff auf den Pfad "\\helsinki\backup$\bristol\SO_ARC\SOASO\2025.1" wurde verweigert. ---> System.Exception: { "Error": true, "ErrorType": "UnauthorizedAccessException", "Message": "Der Zugriff auf den Pfad \"\\\\asdf\\asd$\\abasd\\SO_ARC\\asdf\\2025.1\" wurde verweigert.", "FriendlyMessage": "", "ErrorSource": "mscorlib", "InnerError": { "ErrorType": "SoException", "Message": "Service call Document.CreateNewPhysicalDocumentFromTemplate failed", "ErrorSource": "SuperOffice.Services.Implementation", "InnerError": { "ErrorType": "Exception", "Message": "Error occurred at creating the physical document 2025.1", "ErrorSource": "SoDataBase", "InnerError": { "ErrorType": "UnauthorizedAccessException", "Message": "Der Zugriff auf den Pfad \"\\\\adfas\\asfd$\\asdf\\SO_ARC\\asdf\\2025.1\" wurde verweigert.", "ErrorSource": "mscorlib", "InnerError": null } } } }
Error calling SuperOffice endpoint https://correctURl/sales/api/v1/Agents/Document/CreateNewPhysicalDocumentFromTemplate. Cannot create directory D:\SuperOffice\SO_ARC1033\2025.1 because a file already exists with that name. ---> System.Exception: { "Error": true, "ErrorType": "InvalidOperationException", "Message": "Cannot create directory D:\\SuperOffice\\SO_ARC1033\\2025.1 because a file already exists with that name.", "FriendlyMessage": "", "ErrorSource": "SoDataBase", "InnerError": { "ErrorType": "SoException", "Message": "Service call Document.CreateNewPhysicalDocumentFromTemplate failed", "ErrorSource": "SuperOffice.Services.Implementation", "InnerError": { "ErrorType": "InvalidOperationException", "Message": "Cannot create directory D:\\SuperOffice\\SO_ARC1033\\2025.1 because a file already exists with that name.", "ErrorSource": "SoDataBase", "InnerError": null } } }
Error calling SuperOffice endpoint https://so1033.infobridge.com/sales/api/v1/Agents/Document/CreateNewPhysicalDocumentFromTemplate. Access to the path 'D:\SuperOffice\SO_ARC1033\Remco\2025.1' is denied. ---> System.Exception: { "Error": true, "ErrorType": "UnauthorizedAccessException", "Message": "Access to the path 'D:\\SuperOffice\\SO_ARC1033\\user\\2025.1' is denied.", "FriendlyMessage": "", "ErrorSource": "mscorlib", "InnerError": { "ErrorType": "SoException", "Message": "Service call Document.CreateNewPhysicalDocumentFromTemplate failed", "ErrorSource": "SuperOffice.Services.Implementation", "InnerError": { "ErrorType": "Exception", "Message": "Error occurred at creating the physical document 2025.1", "ErrorSource": "SoDataBase", "InnerError": { "ErrorType": "UnauthorizedAccessException", "Message": "Access to the path 'D:\\SuperOffice\\SO_ARC1033\\user\\2025.1' is denied.", "ErrorSource": "mscorlib", "InnerError": null } } } }
Which version of OnSite? Tested on 10.2.5, 10.3.3 and 10.3.9
Can the customer create a document using the same template in the application? Yes
When the folder was created manually, does it have the same accessrights as other folders in SO_ARC? Yes, but this is not relevant for the customer. There the folder was already created by SuperOffice
Was the wrongly created files deleted when creating the folder? Yes, because these have the same name as the folder.
Also please note that creating a file via the SetDocumentStream endpoint works as expected
Detaljer
Fråga id | 71284 |
Registrerad | 23 jan. 2025 |
Senast ändrad | 14 feb. 2025 |
Allvarlighetsgrad | High |
Område | Sales |
Status | Reported |
Målrelease | |
Typ | Bug |
Kommentarer