Configuration Error 配置问题

xuyizhou898 2014-12-31 01:11:03
Server Error in '/' Application.
--------------------------------------------------------------------------------

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 'Guangye.WebApplication.Controls' or one of its dependencies. 试图加载格式不正确的程序。

Source Error:


Line 40: <compilation defaultLanguage="c#" debug="true" targetFramework="4.0">
Line 41: <assemblies>
Line 42: <add assembly="*"/>
Line 43: <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 44: </assemblies>


Source File: E:\工作——徐\松江区房屋调查成果档案系统\web.config Line: 42

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Guangye.WebApplication.Controls' 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].


我是新手 求各位大神 前辈帮帮忙
...全文
420 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
xuyizhou898 2014-12-31
  • 打赏
  • 举报
回复
报的错误是 Could not load file or assembly 'Guangye.WebApplication.Controls' or one of its dependencies. 试图加载格式不正确的程序。
exception92 2014-12-31
  • 打赏
  • 举报
回复
把 <add assembly="*"/> 这个删掉试试

17,740

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧