J
Joe Sampino
I’m trying to deploy a pivot table in a C# windows application and getting
the following error when adding a fieldset to the pivot:
Error HRESULT E_FAIL has been returned from a call to a COM component
I’m able to set the connection string and the data member with no problem,
but when I try adding a fieldset, I get the above error.
This is the line where the error is occurring
axPivotTable1.ActiveView.RowAxis.InsertFieldSet(axPivotTable1.ActiveView.FieldSets["fieldsetname"], Type.Missing, false);
This works on some machines, usually ones with vs2005 installed, but not on
others.
I have tried including ALL files in my deployment publish options and have
even checked “make assembly com-visible†in assembly information.
One of the machines it doesn’t work on has access to the same data in an IE
version, but fails with the windows app version.
Does anyone have any suggestions?
the following error when adding a fieldset to the pivot:
Error HRESULT E_FAIL has been returned from a call to a COM component
I’m able to set the connection string and the data member with no problem,
but when I try adding a fieldset, I get the above error.
This is the line where the error is occurring
axPivotTable1.ActiveView.RowAxis.InsertFieldSet(axPivotTable1.ActiveView.FieldSets["fieldsetname"], Type.Missing, false);
This works on some machines, usually ones with vs2005 installed, but not on
others.
I have tried including ALL files in my deployment publish options and have
even checked “make assembly com-visible†in assembly information.
One of the machines it doesn’t work on has access to the same data in an IE
version, but fails with the windows app version.
Does anyone have any suggestions?