系统运行时出错。 [英] error on system running .

查看:69
本文介绍了系统运行时出错。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

行:37是错误行。如何解决此错误。



Line: 37 is error line.how to fix this error.

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 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:


Line 35:<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 36:<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 37:<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Line 38: <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Line 39: <add assembly="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>


Source File: D:\MAP_ANTRON\PAL\PAL\web.config    Line: 37

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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].


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 

推荐答案

检查项目中的引用; 'CrystalDecisions.Web'引用应该有问题并报告带有感叹号图标。



删除'CrystalDecisions.Web'引用,然后重新添加。然后重新编译/部署。



请注意,如果您的开发计算机和IIS服务器不是同一台计算机,则必须确保它们都具有完全相同的版本引用的dll。

或者,您可以在Visual Studio中选择引用,并将其Local Copy属性设置为true;这样,所述dll将与您自己项目的dll一起复制到目标目录中。
Check for the references in your project; the 'CrystalDecisions.Web' reference should have a problem and be reported with an exclamation-mark icon.

Delete the 'CrystalDecisions.Web' reference, and add it again. Then recompile/deploy.

Note that if your development computer and your IIS server are not the same machine, you have to make sure both of them have the exact same version of the referenced dll.
Or, you can select the reference in Visual Studio, and set its 'Local Copy' property to true; this way, the said dll will be copied along with your own project's dll in destination directory.


首先在项目中设置启动页面
first set the startup page in your project


这篇关于系统运行时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆