Error Sending Infopath to Excel - InfoPath Dev
in

InfoPath Dev

Error Sending Infopath to Excel

Last post 09-01-2013 02:46 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-28-2013 11:34 AM

    • Greg29
    • Not Ranked
    • Joined on 07-06-2011
    • Posts 5

    Error Sending Infopath to Excel

    The following line of code throws an error

    Application xlApp = new Microsoft.Office.Interop.Excel.Application();

     

    I have added the following reference:

    microsoft.office.interop.excel

    using statements are as follows:

    using microsoft.office.interop.excel;

    using system.reflection;

     

    Error msg:

    Unable to release the Object System.NullReferenceException: Object reference not set to an .....

    works fine on client, but browser form throws the error. I am trying to save excel to a doc library in sharepoint.

    all help is appreciated.

    using infopath 2013 (formed saved as IP 2010), SP 2010

    Filed under:
  • 09-01-2013 02:46 PM In reply to

    Re: Error Sending Infopath to Excel

    I don't think this is possible in the browser (since it's running on the server).

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.