File attachment stopped working - InfoPath Dev
in

InfoPath Dev

File attachment stopped working

Last post 01-23-2013 09:40 AM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-11-2012 08:14 AM

    File attachment stopped working

    Hi,

    We have an Infopath 2007 browser based form on a MOSS environment. The form has a file attachment control which has suddenly stopped working. This was working fine earlier but now some users have reported that they can't attach files to the form.

    As soon as I select a file and click "Upload", I get the error "There has been an error while processing the form.". On checking the logs, the error is as follows:

    05/11/2012 15:47:10.34  w3wp.exe (0x3AD4)                        0x471C Forms Server                   Forms Services Runtime         142t High     Incrementing temporary SQM bucket DATAID_IPFSFILEATTACHMENTSIZE0_100KB ad7f9c47-dcf8-4324-bd9d-7bca88ca662a
    05/11/2012 15:47:10.35  w3wp.exe (0x3AD4)                        0x471C Forms Server                   Forms Services Runtime         8geb Exception Unhandled exception when rendering form on postback System.IndexOutOfRangeException: Index was outside the bounds of the array.     at System.Collections.ArrayList.Contains(Object item)     at System.Collections.Specialized.StringCollection.Contains(String value)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventFileAttachment.IsInInfoPathExtensionBlackList(String extension)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventFileAttachment.IsValidExtension(String fileName)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventFileAttachment.ValidateUploadedFile(HttpPostedFile file, Document document)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventFileAttachment.SetAttachment(Document document, BindingServices bindingServices, HttpPostedFile fil... ad7f9c47-dcf8-4324-bd9d-7bca88ca662a
    05/11/2012 15:47:10.35  w3wp.exe (0x3AD4)                        0x471C Forms Server                   Forms Services Runtime         82g1 Critical There was a form postback error. (User: Form Name: AttachTest, IP: , Request:
    http://****/_layouts/FormServer.aspx?XsnLocation=**********/Forms/template.xsn&SaveLocation=*****&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:AttachTest:-myXSD-2012-05-11T11-53-51, Type: IndexOutOfRangeException, Exception Message: Index was outside the bounds of the array.) ad7f9c47-dcf8-4324-bd9d-7bca88ca662a
    05/11/2012 15:47:10.35* w3wp.exe (0x3AD4)                        0x471C Forms Server                   Forms Services Runtime         8geb Exception ...e)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventFileAttachment.Play(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Event.PlayEvent(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.<>c__DisplayClass1.<ExecuteLog>b__0()     at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.ExecuteLog(Int32 expectedEventLogID)     at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.<>c__DisplayClass6.<PlayEventLog>b__3()     at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlo... ad7f9c47-dcf8-4324-bd9d-7bca88ca662a
    05/11/2012 15:47:10.35* w3wp.exe (0x3AD4)                        0x471C Forms Server                   Forms Services Runtime         8geb Exception ...ck filter, CatchBlock catchBlock, FinallyBlock finallyBlock) ad7f9c47-dcf8-4324-bd9d-7bca88ca662a

     

    Form session state size is 10MB so that doesn't seem to be the issue, as I have tested with files of a few KBs.

    Any ideas would be greatly appreciated.

     

    Thanks and Kind regards,

    Simranjeev

     

  • 01-22-2013 10:22 PM In reply to

    • cyw402
    • Not Ranked
    • Joined on 01-23-2013
    • Posts 1

    Re: File attachment stopped working

    Got exactly the same problem. Can anyone suggest how to solve it?

  • 01-23-2013 09:40 AM In reply to

    Re: File attachment stopped working

    What is the extension of the file you are testing with? Can you try a few different file types?
    Hilary Stoupa

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.