Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2008

Tip: Looking for answers? Try searching our database.

Signing error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
djasek@gmail.com - 14 Jan 2008 18:05 GMT
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
djasek@gmail.com - 14 Jan 2008 22:42 GMT
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

On Jan 14, 11:05 am, "dja...@gmail.com" <dja...@gmail.com> wrote:
> I am attempting to sign a form and I am getting an odd error message
> that I can't find any information on.
[quoted text clipped - 27 lines]
> Thanks,
> -Dan
S.Y.M. Wong-A-Ton - 15 Jan 2008 05:05 GMT
Thanks for sharing, Dan. Great stuff!
---
S.Y.M. Wong-A-Ton

> I figured it out.
> It isn't the length of the xml, but the size of the current view.
[quoted text clipped - 39 lines]
> > Thanks,
> > -Dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.