This is a migrated thread and some comments may be shown as answers.

Visual Studio 2010 erros when loading expression Editor

7 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 15 Nov 2012, 02:20 PM
Visual Studio 2010 started erroring when loading the expression editor. 

I entered the log information into the devenv.exe.config but did not see any entries in the event viewer.  Should I be looking somewhere else?

Here is the error statistics from the debugger:

System.InvalidCastException was unhandled
  Message=Unable to cast COM object of type 'System.__ComObject' to interface type 'IAssemblyCache'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{E707DCDE-D1CD-11D2-BAB9-00C04F8ECEAE}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
  Source=mscorlib
  StackTrace:
    Server stack trace:
       at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, Boolean& pfNeedsRelease)
       at Microsoft.VisualStudio.NativeMethods.IAssemblyCache.QueryAssemblyInfo(UInt32 dwFlags, String pszAssemblyName, IntPtr pAsmInfo)
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.IsAssemblyInGAC(String assemblyNameWithArchitecture)
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.IsAssemblyInGAC()
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly()
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Boolean allowPrivate, Assembly& assembly, String description)
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String description)
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchNormalEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, Boolean fastSearch)
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreCase, Assembly& assembly, ReferenceType refType)
       at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
       at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
       at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
       at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
       at Telerik.Reporting.Design.VisualStudio.VsInterop.DTEProjectItem.<>c__DisplayClass1.<GetTypes>b__0(CodeElement codeElement)
       at Telerik.Reporting.Design.VisualStudio.VsInterop.CodeElementVisitor.Visit(CodeElements codeElements)
       at Telerik.Reporting.Design.VisualStudio.VsInterop.CodeElementVisitor.Visit(ProjectItem projectItem)
       at Telerik.Reporting.Design.VisualStudio.VsInterop.DTEProjectItem.GetTypes(IDesignerHost host, Boolean recursive, TypeSearchCallback searchCallback)
       at Telerik.Reporting.Design.VisualStudio.ReportTypeResolver.GetReportType(IDesignerHost host)
       at Telerik.Reporting.Design.Common.ExpressionBuilder.CategoryAdapter.CreateHierarchy(IDesignerHost host, Boolean isFieldsTreeVisible)
       at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.LoadCategories(IDesignerHost host)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
       at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
       at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.LoadCategoriesDelegate.EndInvoke(IAsyncResult result)
       at Telerik.Reporting.Design.Common.ExpressionBuilder.ExpressionBuilderDialog.OnLoadCategoriesComplete(IAsyncResult result)
       at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
       at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
  InnerException:

7 Answers, 1 is accepted

Sort by
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 15 Nov 2012, 02:31 PM
Had similar problems with other 3rd party products and only repair of my Visual Studio repair/preinstallation helped (do not remember which one I did)...
0
Ben
Top achievements
Rank 1
answered on 15 Nov 2012, 05:43 PM
Thanks, I'll try a VS repair.  Repairing my Telerik install did not seem to help any.
0
Ben
Top achievements
Rank 1
answered on 16 Nov 2012, 02:39 PM
Unfortunately, neither the VS Repair or the Telerik Reporting repair worked.
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 16 Nov 2012, 02:46 PM
I might have done reinstall of VS, do not remember. Try reporting on another computer, if the same issue, give steps, if not then reinstall VS.
0
Nihal
Top achievements
Rank 1
answered on 19 Dec 2012, 03:53 PM
i have the same problem . have you found any solution for it ?
0
Lasse
Top achievements
Rank 1
answered on 10 Sep 2015, 06:22 AM

I have the same issue - Telerik will you please get into this ASAP?

We are paying big bucks for your products, so any kind of assistance here would be much appreciated!

0
Lasse
Top achievements
Rank 1
answered on 10 Sep 2015, 08:36 AM
Resolved the issue by reinstalling Telerik Reporting.
Tags
General Discussions
Asked by
Ben
Top achievements
Rank 1
Answers by
Massimiliano Bassili
Top achievements
Rank 1
Ben
Top achievements
Rank 1
Nihal
Top achievements
Rank 1
Lasse
Top achievements
Rank 1
Share this question
or