如何解决这个错误"Could not load file or assembly 'DevExpress.Web.ASPxPivotGrid.v15.2"?
How to solve this error "Could not load file or assembly 'DevExpress.Web.ASPxPivotGrid.v15.2"?
我正在尝试在我自己的 IIS 服务器 (Windows 服务器 2008 R2) 上部署我的网站。
起初它抛出目标框架配置错误。然后我安装了.Net Framework 4.5,我安装了.Net Framework 4.5后,不是它抛出以下错误
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'DevExpress.Web.ASPxPivotGrid.v15.2, Version=15.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 35:
Line 36:
Line 37:
Line 38:
Line 39:
Source File: C:\inetpub\wwwReport\web.config Line: 37
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DevExpress.Web.ASPxPivotGrid.v15.2, Version=15.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
在我google它之后,我也用这种方式在融合上创建了Enable Log 1。
在管理员上打开 cmd
运行命令"reg add HKLM\Software\Microsoft\Fusion /v EnableLog /t REG_DWORD /d 1"
3."Operation completed successfully"
要解决此问题,您实际上已经通过启用 属性 复制到本地=true 来构建项目,
然后你会得到那个程序集,你必须把 DevExpress.Web.ASPxPivotGrid.v15.2 放在你部署那个特定项目的 bin 文件夹中,即 (Windows server 2008 R2)
您可以按照以下步骤启用 属性 本地复制:
- 在 DLL 文件上右击鼠标。
- 在属性windows中可以看到;复制本地并在另一个单元格上将值从 False 更改为 True。
我正在尝试在我自己的 IIS 服务器 (Windows 服务器 2008 R2) 上部署我的网站。
起初它抛出目标框架配置错误。然后我安装了.Net Framework 4.5,我安装了.Net Framework 4.5后,不是它抛出以下错误
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'DevExpress.Web.ASPxPivotGrid.v15.2, Version=15.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 35: Line 36: Line 37: Line 38: Line 39:
Source File: C:\inetpub\wwwReport\web.config Line: 37
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DevExpress.Web.ASPxPivotGrid.v15.2, Version=15.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' could not be loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
在我google它之后,我也用这种方式在融合上创建了Enable Log 1。
在管理员上打开 cmd
运行命令"reg add HKLM\Software\Microsoft\Fusion /v EnableLog /t REG_DWORD /d 1"
3."Operation completed successfully"
要解决此问题,您实际上已经通过启用 属性 复制到本地=true 来构建项目, 然后你会得到那个程序集,你必须把 DevExpress.Web.ASPxPivotGrid.v15.2 放在你部署那个特定项目的 bin 文件夹中,即 (Windows server 2008 R2)
您可以按照以下步骤启用 属性 本地复制:
- 在 DLL 文件上右击鼠标。
- 在属性windows中可以看到;复制本地并在另一个单元格上将值从 False 更改为 True。