錯誤信息:內存位置訪問無效。 (Exception from HRESULT: 0x800703E6)

  • 錯誤提示:
錯誤信息:內存位置訪問無效。 (Exception from HRESULT: 0x800703E6)
異常類型:System.BadImageFormatException
堆棧跟蹤:   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstance()
   at System.Windows.Forms.AxHost.GetOcxCreate()
   at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
   at System.Windows.Forms.AxHost.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.AxHost.EndInit()
   at DCITS.ADP.CELL.Controls.CellControl.InitializeComponent()
   at DCITS.ADP.CELL.Controls.CellControl.InitForm(DeclarationForm declareinfo)
   at DCITS.JZGL.Desktop.Views.HuaBiao.HuaBiaoView.showControl(String bbzlDm)
   at DCITS.JZGL.Desktop.Views.HuaBiao.HuaBiaoView.HuaBiaoView_Loaded(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

  • 解決方案:

【個人電腦】---【屬性】---【高級】---【設置】---【數據保護】安全

Dep功能默認就是開啓的,雖然能夠對某些惡意程序起到安全保護做用。可是對於不少時候咱們作測試環境或者軟件會有必定影響,對此徹底禁用DEP功能頗有必要。服務器

打開命令行界面輸入app

Bcdedit.exe/set {current} nx alwaysoff 測試

 

 

輸入以上命令以後,須要重啓服務器系統纔會生效ui

重啓以後,再次返回打開如圖。顯示會灰色纔是徹底禁用的spa

 

若是想啓用DEP若是要啓用很簡單就是 Bcdedit.exe/set {current} nx alwayson命令行

相關文章
相關標籤/搜索