Answered by:
Browsing a cube: Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio)

Question
-
When I try to reconnect using the cube browser (in both Visual Studio and SQL Management Studio) I get the following error:
=================================== Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio) ------------------------------ Program Location: at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets() at Microsoft.AnalysisServices.Browse.CubeBrowser.TranslatePivotTable() at Microsoft.AnalysisServices.Browse.CubeBrowser.UpdatePivotTable(Boolean translate) at Microsoft.AnalysisServices.Browse.CubeBrowser.UpdateAll(Boolean translate) at Microsoft.AnalysisServices.Browse.CubeBrowser.ReconnectCanFail() at Microsoft.AnalysisServices.Browse.CubeBrowser.SupportFunctionWhichCanFail(FunctionWhichCanFail function)
And when I try to drag stuff from the measure group (the left panel) I get:
=================================== Error HRESULT E_FAIL has been returned from a call to a COM component. (Microsoft Visual Studio) ------------------------------ Program Location: at Microsoft.Office.Interop.Owc11.PivotView.get_FieldSets() at Microsoft.AnalysisServices.Controls.PivotTableHash.get_FieldSetsEnumerator() at Microsoft.AnalysisServices.Controls.PivotTableHash.GetFieldSet(String uniqueName) at Microsoft.AnalysisServices.Controls.PivotTableBoundMetadataBrowser.GetPivotTableDataObject(NodeObject nodeObject) at Microsoft.AnalysisServices.Controls.PivotTableBoundMetadataBrowser.GetDataObject(TreeNode node) at Microsoft.AnalysisServices.Controls.MetadataTreeView.OnItemDrag(ItemDragEventArgs e) at System.Windows.Forms.TreeView.TvnBeginDrag(MouseButtons buttons, NMTREEVIEW* nmtv) at System.Windows.Forms.TreeView.WmNotify(Message& m) at System.Windows.Forms.TreeView.WndProc(Message& m) at Microsoft.AnalysisServices.Controls.MetadataTreeView.WndProc(Message& msg) at Microsoft.AnalysisServices.Browse.CubeBrowser.CubeBrowserMetadataTreeView.WndProc(Message& msg)
Does anyone have any idea what's going on here and how I could fix it?!?
I'm running SQL Server 2008 SP1 on Windows 7 RTM.Thursday, August 20, 2009 2:07 PM
Answers
-
In case anyone comes across this post in the future, I have found a workaround for this in another thread:
1. Go to Control Panel -> Clock, Language, and Region -> Change location
2. Change your location in the format tab to English (United States) and in the location tab change to United States.
For some reason, it doesn't seem to work with non-US languages like English (Australia)
- Marked as answer by Carbito Friday, August 21, 2009 4:00 AM
Friday, August 21, 2009 3:59 AM
All replies
-
In case anyone comes across this post in the future, I have found a workaround for this in another thread:
1. Go to Control Panel -> Clock, Language, and Region -> Change location
2. Change your location in the format tab to English (United States) and in the location tab change to United States.
For some reason, it doesn't seem to work with non-US languages like English (Australia)
- Marked as answer by Carbito Friday, August 21, 2009 4:00 AM
Friday, August 21, 2009 3:59 AM -
I tried this solution and It didn't work for me. Any other ideas?
AlbertoMonday, September 21, 2009 5:31 PM -
This work around resolved a similar issue for me perfectly.
I had been attempting to explore an SSAS cube using the Business Intelligence Design Studio for SQL Server 2008 with Windows 7 Home Premium (64 bit) as my O/S. I had been encountering a similar message when attempting to drag Measures etc. into Cube's Browser tab.
Thanks for your help!- Proposed as answer by Claxton Thursday, March 4, 2010 8:53 AM
Sunday, January 10, 2010 6:10 PM -
Well I found the solution, When you are browsing the cube, you should choose the correct language and will not problems. (The correct language is the lenguaje that was configurated in your system). In my case, it was in "Default", and I choose Spanish(Peru) instead of Default, and NOT MORE PROBLEMS IN BROWSER.
I'am peruvian, so my answer in spanish is:
En la pestaña "Examinador" del cubo, abajo debemos elegir el idioma correcto. En mi computadora era Español(Peru), entonces, mi solucion fue escoger ese idioma (Español(Peru)) para que coincida y sea igual a lo configurado en mi computadora.
Hecho esto, ya no tengo problemas en el examinador (browser).
- Proposed as answer by Mårten Holm Wednesday, April 4, 2012 12:47 PM
Wednesday, May 12, 2010 12:40 AM -
Worked for me - I had exactly the same issue on Windows 7. It was enough to change the laguage. Didn't have to change location.
Thanks again.
Friday, May 14, 2010 6:44 PM -
It worked for Me. ( windows 7, laguage only BIDS/VS 2008)
however as all the rest of my work needs to be in UK format, if anyone can solve this with the UK settings I would be please to know.
Thanks
Monday, May 17, 2010 11:50 AM -
Thanks Carbito
I have fix this on the SSAS server by setting to UK.
this looks a bit heavy ( at server level)
better if
1 we could set at DB level
2 we could set against account
3 it was fixed so it was only a display issue not a crash message.
Monday, May 17, 2010 12:38 PM -
It worked for me too. It looks like a bug in Visual Studio and is a potential candidate for KB. What you guys think ?
Sunday, May 30, 2010 2:15 PM -
I am working with visual studio 2008, and i fixed it by changing the language setting to English UK on the Cube Structure tab, you don't have to to change any Control Panel settings.Thursday, July 15, 2010 9:09 AM
-
This is right.
Select the language on Cube structure tab to any language other than Default and it works .
Click the 'reconnect' toolbar icon if it still dosen't works.
Friday, October 8, 2010 3:33 AM -
Fine, this works!Wednesday, December 29, 2010 8:44 PM
-
In case anyone comes across this post in the future, I have found a workaround for this in another thread:
1. Go to Control Panel -> Clock, Language, and Region -> Change location
2. Change your location in the format tab to English (United States) and in the location tab change to United States.
For some reason, it doesn't seem to work with non-US languages like English (Australia)
Thanks, a lot!
Here is a picture where you should change settings. I changed from default to Swedish, and like everybody says here it solved the problem.
- Proposed as answer by VaibhavChoubey Friday, July 15, 2011 7:54 AM
Monday, June 27, 2011 1:43 PM -
Thanks Alot!!!!!
It worked for me.
Monday, July 25, 2011 10:23 AM -
Funcionooooooo ya me estaba preocupando.Mil graciasMonday, December 19, 2011 12:10 AM
-
Thanks,
I have the same issue, fixed with your solution,
Its working, very helpful for me..
- Proposed as answer by Jagadeeswar Monday, May 21, 2012 6:14 PM
Monday, May 21, 2012 6:13 PM -
You can just change the language in the Browser tab from Default to match the one that you have in the system Control Panel and it works.Monday, May 28, 2012 4:42 PM
-
The work around was very helpful...thanks!Tuesday, May 29, 2012 2:25 AM
-
Thanks Carbito.... I am facing this problem but upon your answer its works properly.. thank you very much.... :)
Monday, July 16, 2012 5:26 AM -
It worked for me.
Thanks
Wednesday, August 1, 2012 9:43 AM -
For a more permanent solution
In Visual Studio
Tools --> Options --> Environment --> International Settings
Set language to 'Same as Microsoft Windows'
Friday, February 8, 2013 10:37 AM