When I open an existing component containing an OleDbDataAdapter, or when I
try to add an OleDbDataAdapter to a component, I receive the following error
message. Up til today, this has worked flawlessly. I am using C# in VS.NET
2005 beta 2.
Error HRESULT E_FAIL has been returned from a call to a COM component.
at EnvDTE.OutputGroup.get_FileCount()
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.GetProjectOutputs(Project
project)
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.EnsureAssemblyReferenced(List`1&
newReferences, AssemblyName name)
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.System.ComponentModel.Design.ITypeResolutionSe rvice.ReferenceAssembly(AssemblyName
name)
at
Microsoft.VisualStudio.Editors.SettingsGlobalObjec ts.SettingsFileGlobalObject.BuildType()
at
Microsoft.VisualStudio.Editors.SettingsGlobalObjec ts.SettingsFileGlobalObject.GetObjectType()
at Microsoft.VisualStudio.Shell.Design.GlobalType.get _ObjectType()
at Microsoft.VisualStudio.Shell.Design.GlobalObject.G etHashCode()
at
Microsoft.VisualStudio.Shell.Design.GlobalObjectSe rvice.GlobalKey.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer` 1.GetHashCode(T obj)
at System.Collections.Generic.Dictionary`2.FindEntry( TKey key)
at System.Collections.Generic.Dictionary`2.ContainsKe y(TKey key)
at
Microsoft.VisualStudio.Shell.Design.GlobalObjectSe rvice.GetGlobalObjects(Type
baseType)
at
Microsoft.VisualStudio.Shell.Design.GlobalObjectSe rvice.GetGlobalObjects()
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetTypeFromGlobal Objects(String
name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetType(String
name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetType(String
name)
at
System.ComponentModel.Design.DesignerHost.System.C omponentModel.Design.IDesignerHost.GetType(String
typeName)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.EnsureDocument(IDesignerSerializati onManager
manager)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager
serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.DeferredLoadHandler.Micr osoft.VisualStudio.TextManager.Interop.IVsTextBuff erDataEvents.OnLoadCompleted(Int32
fReload)
Does anyone know what I could do about it?
Thanks,
Eyvind.