M
Mark B
I am using OWC10 from ASP.NET to stream a .gif of a chart rendered
through the charting component.
The application works correctly both on my original development server
(which has the full OWC10 PIA set installed in the GAC) and on the
secondary (installer test) Stageing server(Which has the only the
referenced OWC PIA intalled in the application bin directory).
However, when installed on the Production stage server(which is
configured the same as the dev staging server) I get the following
error:
"System.InvalidCastException: QueryInterface for interface
Microsoft.Office.Interop.OWC.ChChartSpace failed"
[InvalidCastException: QueryInterface for interface
Microsoft.Office.Interop.OWC.ChChartSpace failed.]
Microsoft.Office.Interop.OWC.ChartSpaceClass.get_Charts() +0
ChartServer.MonthlyBudgetGraph.Page_Load(Object Sender, EventArgs
E) +881
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
I am at a loss. I was using an event (to left justify the title) - I
found KB article 328275, so I removed the event handler to test that,
no luck.
I also tried wrapping the opjects being passed to the chart in an
explict object cast (as recommended in kb 327110), also no joy.
Does anyone have any other suggestions? MSDN is little help...
through the charting component.
The application works correctly both on my original development server
(which has the full OWC10 PIA set installed in the GAC) and on the
secondary (installer test) Stageing server(Which has the only the
referenced OWC PIA intalled in the application bin directory).
However, when installed on the Production stage server(which is
configured the same as the dev staging server) I get the following
error:
"System.InvalidCastException: QueryInterface for interface
Microsoft.Office.Interop.OWC.ChChartSpace failed"
[InvalidCastException: QueryInterface for interface
Microsoft.Office.Interop.OWC.ChChartSpace failed.]
Microsoft.Office.Interop.OWC.ChartSpaceClass.get_Charts() +0
ChartServer.MonthlyBudgetGraph.Page_Load(Object Sender, EventArgs
E) +881
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
I am at a loss. I was using an event (to left justify the title) - I
found KB article 328275, so I removed the event handler to test that,
no luck.
I also tried wrapping the opjects being passed to the chart in an
explict object cast (as recommended in kb 327110), also no joy.
Does anyone have any other suggestions? MSDN is little help...