Monday, October 29, 2012

Error HRESULT E_FAIL has been returned from a call to a COM component. in visualStudio2010

Error HRESULT E_FAIL has been returned from a call to a COM component. in visualStudio2010

Hello i have a silverlight application when i tried to run it it will give me error like

Error HRESULT E_FAIL has been returned from a call to a COM component.

same code i have run on other PC then it's working fine

Details of Error

"Unhandled Error in Silverlight Application \nCode: 1001 \nCategory: RuntimeError \nMessage: AG_E_UNKNOWN_ERROR \nMethodName: \n"

reinstall visual studio but still got this same error.

Can anyone tell me why this happened?

Answers & Comments...

Answer: 1

In My case. i moved the referenced dll's out of the folder: C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\PivotViewer\Aug10

the error was occuring when i referenced a pivotViewer dll called System.Windows.Pivot

I have a win 7 64 machine.

This seems to resolve the issue for me.

by : Hightowerhttp://stackoverflow.com/users/1168628




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog