水晶报表发布出现问题
我的机器装的是2005,是开发环境,运行正常。把系统移植另一台机器上,在没有加水晶报表前运行正常,加上后不能运行。(这台机器原来装的2003,又装上了2005运行环境),从网上下载了Crystal Reports 10 安装后仍然存在这个问题。
错误信息:
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=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 ' or one of its dependencies. 系统找不到指定的文件。
Source Error:
Line 27: <assemblies>
Line 28: <add assembly= "System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A " />
Line 29: <add assembly= "CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 " />
Line 30: <add assembly= "CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 " />
Line 31: <add assembly= "CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 " />
Source File: C:\zwxxgl_web\web.config Line: 29
Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.2.3600.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].
------解决方案--------------------俺也遇到了这个问题,咋办?
------解决方案--------------------水晶报表是需要部署的,你需要建一个安装项目,把水晶报表的几个必要文件添加到合并模块中,如:CrystalReportsRedist2005_x64.msm
------解决方案--------------------没有安装项目,只是把发布后的文件直接copy到服务器,服务器没有开发环境,只安装了frame work。
------解决方案--------------------你的开发用的是VS2005自带的10.2版本,那么发布应该使用VS2005的合并模块,直接安装CR10是不可以的~
------解决方案--------------------楼上的,麻烦详细说说好吗?
------解决方案--------------------