SAS Office Analytics, SAS Add-In for Microsoft Office, and other integrations

accessing a cube from .NET and single-threaded apartment

Reply
N/A
Posts: 1

accessing a cube from .NET and single-threaded apartment

Hi, I woukd like to connect a chart visual component with cube.
I have a trouble with accessing cube from .net using SAS Olap Data Provider 9.1 and ADO MD.
When i try to get cube reference data i get COMException. But if calling method is marked with STAThead (moving call to single threaded apartment) attribute, all is ok.
I found note 33535, but it concerned IOM server.
I can't use this attibute, because most of methods calls from chart component.
Is there a way to solve this problem?
Thanks! Message was edited by: SergeyD
Ask a Question
Discussion stats
  • 0 replies
  • 127 views
  • 0 likes
  • 1 in conversation