1

Closed

Signature operation failed

description

I get the following error during signing (after entering PIN2 and waiting for a few minutes) when using the OpenXades test-provider. Certificate is loaded to OpenXades. Just wondering what I'm missing here:
 
Signature operation failed, program error in "Add file"
Exception message:
params: siteID: 'http://intra' folderID: 'Dokumendiregister/DigiDoc' filename: 'Filelist_5.ddoc' originalFileUrl: 'Dokumendiregister/DigiDoc/Filelist_5.xls' site.ID: '8442de4e-2c5c-4199-9f2d-dc4e019d1d15' site.url:'http://intra' web.name: '' web.url:'http://intra' folder.name: 'DigiDoc' folder.url:'Dokumendiregister/DigiDoc' 5 The system cannot find the file specified. (Exception from HRESULT: 0x80070002) Microsoft.SharePoint.Library at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndFolderProperties(String bstrUrl, String bstrStartUrl, ListDocsFlags ListDocsFlags, Boolean bThrowException, Int32& phrStatus, Object& pvarFiles, Object& pvarDirs, UInt32& pdwNumberOfFiles, UInt32& pdwNumberOfDirs) at Microsoft.SharePoint.Library.SPRequest.GetFileAndFolderProperties(String bstrUrl, String bstrStartUrl, ListDocsFlags ListDocsFlags, Boolean bThrowException, Int32& phrStatus, Object& pvarFiles, Object& pvarDirs, UInt32& pdwNumberOfFiles, UInt32& pdwNumberOfDirs) at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String strUrl, ListDocsFlags listDocsFlags, Boolean throwException) at Microsoft.SharePoint.SPFile.PropertiesCore(Boolean throwException) at Microsoft.SharePoint.SPFile.get_Properties() at Microsoft.SharePoint.SPFile.get_Author() at wssDigiDoc.RemoteMethods.CopyFile(String siteID, String folderID, String filename, Byte[] binary, String originalFileUrl, Boolean addnew)
Closed Nov 4, 2008 at 6:02 PM by kaidokert
thats fixed in 0.9.4

comments

kaidokert wrote Mar 11, 2008 at 7:31 AM

Does just uploading a already completed DDOC to library work, in it gets the signer names etc on it ?

try turning off the feature for automatic document library auto updates from
http://<siteurl>/_layouts/ManageFeatures.aspx?Scope=Site
( i think it was there ..not sure ) and also try to switch deleting of documents.

this is obviously related to the recent changes on running under different authority and without checking more in depth i cant tell whats wrong.

kaidokert wrote Mar 11, 2008 at 7:32 AM

hm actually .. seems to be a problem with getting the autor of the document .. could be that its not properly handled in code if the author is not set.

martinlillepuu wrote Mar 11, 2008 at 3:01 PM

Viewing uploaded DDOC properties works. I'll try adding document author and changing feature properties tomorrow, thanks.

martinlillepuu wrote Mar 12, 2008 at 9:11 AM

Tried signing a document in root site's document library and there signing with OpenXades works :)

Problem seems to be that code does not take into account subsite url. Originally used document library url is http://intra/it/Dokumendiregister. According to the error message it's trying to use siteID: 'http://intra' folderID: 'Dokumendiregister/DigiDoc' and misses '/it' part of the site url.

wrote Nov 4, 2008 at 6:02 PM

wrote Feb 13, 2013 at 8:00 PM

wrote May 16, 2013 at 1:35 AM