Failed to read attachment. Error msg

I have this main form with a  button that I use to call an administration form, the issue is when ever I use it and later close/save or submit the folder, I can no longer call the form as it bring up this error msg.

 

Error in: http://localhost/Metastorm/Forms/QualityAudit/en-ZA/eForm.aspx Map: QualityAdministrationGroup Client: External Action: frmAddCorrections FilterParams: txtInpNCID;3;Text:txtInpFolderID;0900000000000000000000000002441;Text:txtInpCauseID;1;Text:txtInpTESTRisk;High ;Text Error Message: Failed to read attachment. Stack Trace: No stack trace available

 

The only way I'm able to use Administration form ( pops up when a button is clicked) is when I deploy my solution, I have to do this every time if I have exited the main form.

Tagged:

Comments

  • How is the URL that is being called calculated?

     

    If the URL isn't fully qualfied then the engine may be trying to access the page using a cached URL .  This would explain why it works the first time after deployment because it is not yet in the cache.

     

    If you change the way the URL is specified and fully qualify it by using the following I think you'll get it working as expected.

     

    http:///Metastorm/eForm.aspx?Map=QualityAdministrationGroup&Action=frmAddCorrections&FilterParams=(......)

     

    Regards,

     

    Jason

     

     

  • For anyone else...

     

    In my recent experience, if you use a fully qualified address it opens outside the engine and requires a login. 

    If you simply add '/MetaStorm/' it does not have the caching issue and resolves the login issue.

     

    i.e.,

    Use--> window.showModalDialog('/MetaStorm/eForm.aspx?Map=etc...

    Not-->window.showModalDialog('eForm.aspx?Map=etc...