sql server 2008啓動錯誤

無法將類型爲“System.__ComObject”的 COM 對象強制轉換爲接口類型“System.Speech.Internal.SapiInterop.ISpDataKey”。此操作失敗的原因是對 IID 爲“{140565
 this.speecher.SpeakAsync(textToSpeak); // 報錯


無法將類型爲“System.__ComObject”的 COM 對象強制轉換爲接口類型“System.Speech.Internal.SapiInterop.ISpDataKey”。此操作失敗的原因是對 IID 爲“{14056581-E16C-11D2-BB90-00C04F8EE6C0}”的接口的 COM 組件調用 QueryInterface 因以下錯誤而失敗: 不支持此接口 (異常來自 HRESULT:0x80004002 (E_NOINTERFACE))。


 故障信息
===================================


無法將類型爲“System.__ComObject”的 COM 對象強制轉換爲接口類型“Microsoft.VisualStudio.OLE.Interop.IServiceProvider”。此操作失敗的原因是對 IID 爲“{6D5140C1-7436-11CE-8034-00AA006009FA}”的接口的 COM 組件調用 QueryInterface 因以下錯誤而失敗: 不支持此接口 (異常來自 HRESULT:0x80004002 (E_NOINTERFACE))。 (Microsoft.VisualStudio.OLE.Interop)


------------------------------
程序位置:


   在 Microsoft.VisualStudio.OLE.Interop.IServiceProvider.QueryService(Guid& guidService, Guid& riid, IntPtr& ppvObject)
   在 Microsoft.VisualStudio.Shell.ServiceProvider.GetService(Guid guid, Type serviceType)
   在 Microsoft.VisualStudio.Shell.ServiceProvider.GetService(Type serviceType)
   在 Microsoft.VisualStudio.Shell.WindowPane.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerToolWindow.GetService(Type serviceType)
   在 Microsoft.VisualStudio.Shell.WindowPane.System.IServiceProvider.GetService(Type serviceType)
   在 System.ComponentModel.Design.ServiceContainer.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorerControl.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorerControl.System.IServiceProvider.GetService(Type serviceType)
   在 System.ComponentModel.Design.ServiceContainer.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.RootNavigableItem.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NodeContext.GetService(Type serviceType)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.<GetColumnsFromNavigationService>d__f.MoveNext()
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.AddFields(List`1 list, IEnumerable`1 fields, IDictionary`2 allValidFields, AddFieldsFlags flags)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.GetFields(INodeInformation source, Dictionary`2& allValidColumns)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)
解決方法 1:
你好,,你可以試一下執行這個,
32 bit
regsvr32 "C:\Program Files\Internet Explorer\ieproxy.dll"
64 bit
regsvr32 "C:\Program Files (x86)\Internet Explorer\ieproxy.dll"
======
如果還不行,請再執行
C:\windows\system32\regsvr32.exe /u actxprxy.dll
發佈了31 篇原創文章 · 獲贊 59 · 訪問量 17萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章