Signing error

D

djasek

I am attempting to sign a form and I am getting an odd error message
that I can't find any information on.
The xml file is very large (500KB), so I fear InfoPath is unable to
sign xml over a certain length. Which would be very unfortunate. I
appreciate any help or suggestions you could give.

Here is the error message:
"InfoPath cannot save the form. The OnSign function returned a value
indicating that the sign failed."
And the Detail is:
"InfoPath was unable to add verification information to the signature.
Close one or more programs to free up resources, and then try the
operation again. If you see this message again, run Setup or contact
your system administrator.
Not enough storage is available to process this command.

at Microsoft.Office.Interop.InfoPath.SemiTrust.Signatures.Create()
at
Microsoft.Office.Interop.InfoPath.SemiTrust.SignaturesCollectionWrapper.Create()
at
Microsoft.Office.Interop.InfoPath.SemiTrust.SignaturesCollectionWrapper.Create()
at paperwork.paperwork.OnSign(SignEvent e)
at
Microsoft.Office.Interop.InfoPath.SemiTrust._XDocumentEventSink2_SinkHelper.OnSign(SignEvent
pEvent)"

I've tried it on two different computers. One of them with 2Gigs of
RAM so I don't think space is really an issue.

Thanks,
-Dan
 
D

djasek

I figured it out.
It isn't the length of the xml, but the size of the current view.
When a signature is created an image of the current view is saved and
attached to the data block.
So if the view is very large, the data block becomes very large, and
apparently there is a limit on the size.
Hence the storage error.
It would be nice if the error messages made a bit more sence...

-Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top