• Unable to load DLL '*.dll': 内存位置访问无效。



    dotNET开发中遇到的错误提示如下:

    Unable to load DLL '*.dll': 内存位置访问无效。 (Exception from HRESULT: 0x800703E6)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.DllNotFoundException: Unable to load DLL 'ken.dll': 内存位置访问无效。 (Exception from HRESULT: 0x800703E6)


    可以说它一直困扰着我:同样的机器,同一张安装盘,却有一个机器出现这个问题。现在我仍然不知道这是为什么?但好在已知道如何解决它!

    “我的电脑”->“属性”->“高级”->“性能”->“设置”->“数据执行保护”
    选中“只为关键Windows程序和服务启用数据执行保护”,确定后重启计算机。

  • 相关阅读:
    nginx负载均衡
    Zabbix的安装和使用
    JENKINS安装和使用
    docker-compose安装
    gitlab的安装和使用
    Surging填坑记
    SQL2008R2下数据库修复一例
    SQL2000下修复某数据库的经历
    《C++ Primer Plus 第6版》学习笔记
    C++常见笔试题
  • 原文地址:https://www.cnblogs.com/zhaoguan_wang/p/1168803.html
Copyright © 2020-2023  润新知