Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Error Creating Web Applications

$
0
0

when I create a web application in VS 2010 and then go to edit the aspx file, I get the following error:

Visual Studio has encountered an exception. this may be caused by an extension. You can get more information by running the application together with the /log parameter...

After running VS with the /log parameter, I get these two errors and have not found a solution in Google on how to fix them yet. Does anyone have any suggestions or fixes?

When I get this error, I cannot edit html files at all and can only edit aspx files as if I were using notepad...as if I am not using VS 2010 at all.

I did try uninstalling and re-installing VS.

273 ERROR
System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.Web.ComponentModelServiceProvider.GetBestService[TServiceAndInterfaceType](IEnumerable`1 exports, Version newestAllowedVersion) at Microsoft.VisualStudio.Web.Exports.ScriptClassifierProvider.Microsoft.VisualStudio.Text.Classification.IClassifierProvider.GetClassifier(ITextBuffer textBuffer) at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTaggerProvider.<>c__DisplayClass1`1.<CreateTagger>b__0(IClassifierProvider provider) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter, IContentType dataContentType, Object errorSource)   Editor or Editor Extension 2013/07/19 16:20:42.470

274 ERROR
System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information. 1) Object reference not set to an instance of an object. Resulting in: An exception occurred while calling the 'OnImportsSatisfied' method on type 'Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName'. Resulting in: Cannot activate part 'Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName'. Element: Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName --> Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName Resulting in: Cannot get export 'Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName (ContractName="Microsoft.VisualStudio.Text.Classification.EditorFormatDefinition")' from part 'Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName'. Element: Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName (ContractName="Microsoft.VisualStudio.Text.Classification.EditorFormatDefinition") --> Microsoft.VisualStudio.Web.Exports.ExportedClassificationFormatHTMLAttributeName 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.InstantiateExtension[TExtension](Object errorSource, Lazy`1 provider)



Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>