Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1750
PivotGrid Excel Datasource security exception
posted

Hi,

I follow the example in http://help.infragistics.com/NetAdvantage/DV/2010.3/CLR4.0/ in order to import data from Excel in a XamPivotGrid.

My problem is that I get a security exception at line :

            ExcelDataConnectionSettings excelDataSettings = new ExcelDataConnectionSettings { FileStream = fileStream, GeneratedTypeName = PivotGridStrings.XPG_ExcelFileDataSource_InitialCube, WorksheetName = PivotGridStrings.XPG_ExcelFileDataSource_WorksheetName };

------------------

The type initializer for 'SR' threw an exception.

 

Any ideas?

Thank u

D.

Parents Reply Children
No Data