We've been trying get our classic ASP pages to work in VS2010 as far as the intellisense and syntax highlighting. We have everything working except 2 of our ASP files that are over 475,000 characters. If 2 bytes make up a character this puts us roughly around 1mb. Is there some type of 1mb limit on ASP files for intellisense. We tried a large .js file and a .NET file and they both work fine. We also are receiving this error message when our file exceeds 475,000 characters:
Error Editor or Editor Extension System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at Microsoft.JScript.Authoring.Interfaces.IActiveScriptAuthor.GetScriptTextAttributes(String code, UInt32 length, String delimiter, UInt32 flags, UInt16[] codeAttributes) at Microsoft.VisualStudio.Web.HTML.Implementation.CachedScriptBlockInfo.EnsureUpdated() at Microsoft.VisualStudio.Web.HTML.Implementation.CachedScriptBlockInfo.Microsoft.VisualStudio.Web.HTML.IScriptCodeAttributeProvider.GetCodeAttribute(Int32 pos, SourceOption& codeAttribute) at Microsoft.VisualStudio.Web.HTML.Implementation.ScriptColorizer.AddClassificationSpans(ILanguageBlockClientScript languageBlockClientScript, Span curSpan, IList`1 classificationSpans) at Microsoft.VisualStudio.Web.HTML.Implementation.ScriptColorizer.Microsoft.VisualStudio.Text.Classification.IClassifier.GetClassificationSpans(SnapshotSpan trackingSpan) at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTagger.<GetTags>d__0.MoveNext() at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__16.MoveNext() 236 2011/08/04 21:31:33.197
Has anyone encountered this before?