Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft.Internal.Assumes+InternalErrorException: Internal error occurred

I have been encountering this error while trying to load Visual studio 2012, An exception has been encountered.This may be caused by an extension and was given a location for additional information in C:\Users\~\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml and in checking the location I have the following as error I clearly don't understand it:

 Microsoft.Internal.Assumes+InternalErrorException: Internal error occurred. 
Additional information: ''. at    System.ComponentModel.Composition.Hosting.ImportEngine.InPrerequisiteLoop() at 
System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part) at 

System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports) at 
System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImports(ComposablePart part) at 
    System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition) at 
System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart) at 
System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore() at System.ComponentModel.Composition.Primitives.Export.get_Value() at 
System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export) at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass4`2.<CreateStronglyTypedLazyOfTM>b__1() at System.Lazy`1.CreateValue() at 
System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter,IContentType dataContentType, Object errorSource)

has anyone ever encountered this error?

like image 610
Jack M Avatar asked Jul 13 '13 10:07

Jack M


2 Answers

Remove all entries under these HKEY_CURRENT_USER\Software\Microsoft\VSCommon
HKEY_CURRENTUSER\Software\Microsoft\VisualStudio _ Upon restarting Visual Studio, it ran me through the 'first time' processes, which means my user profile was completely reset. That resolved my issues.

I too had this problem and took 1 week+ to find out this solution for the problem... :)

like image 135
Anand Varkey Philips Avatar answered Oct 03 '22 14:10

Anand Varkey Philips


I had the same error before as well. In Visual Studio, try going to TOOLS then Extensions and Updates... and check to see if you need any updates. That worked for me.

Also check out this thread on one of the MSDN forums. The guy asking the question said he solved this problem by re-installing VS 2012 Update 1.

like image 39
Alan006 Avatar answered Oct 03 '22 15:10

Alan006