NotSupportedException when calling OpenExcel

Posted by: rogerd on 8 September 2017, 3:03 pm EST

  • Posted 8 September 2017, 3:03 pm EST

    When I try to use FarPoint.Win.Spread.FpSpread.OpenExcel(fileName), I get a whole lot of "NotSupportedExceptions" being thrown within mscorlib.

    Typical text is

    "Culture 'be' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture."

     

    These are handled by the code which then carries on. 

    However, as I like to see All thrown exceptions when debugging this is causing a problem.

     

    Is there any way to avoid these exceptions?

     

    regards


    Roger 

     

    Is there any any that I can prevent this happening? 

  • Replied 8 September 2017, 3:03 pm EST

    Roger,

    Could you please provide us this Excel file to further debug it. Also let us know what culture  or language settings we need to set in order to get the issues replicated at our end?

     

    Thanks,

  • Marked as Answer

    Replied 8 September 2017, 3:03 pm EST

    DeepakSharma14,

    I see that there has not been a response to this issue. I recently had similar exceptions thrown on OpenExcel and even the initialization of a SheetView. After much searching for a solution, uninstallation and reinstallion of Spread6 for WinForms and Vs2013, the problems still persisted. Then I reset VS2013 using devenv /resetuserdata. All problems went away. Obviously it was a VS2013 issue and nothing to do with Spread6.

    Todd

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels