|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
有的时候用户需要自己使用Visual Studio来编辑四班系统RDL报告模板,但是当尝试预览报告的时候,会发现如下图的错误信息。"An error occurred during local report processing.
The definition of the report 'InvSsii' is invalid.
Error while loading code module: 'SoftBrands.FourthShift.RDLShared, Version=7.5.0.0, Culture=neutral,
PublicKeyToken=541b4aff0f04b60a'. Details: Could not load file or assembly 'SoftBrands.FourthShift.RDLShared,
Version=7.5.0.0, Culture=neutral, PublicKeyToken=541b4aff0f04b60a' or one of its dependencies. The located assembly's
manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)" 原因:在报告模板中参考所指定的SoftBrands.FourthShift.RDLShared.dll版本与实际文件的版本不匹配。
方法
- 在Visual Studio中,点击菜单中的Report,选择Report Properties;
- 在References标签中,将已经存在的SoftBrands.FourthShift.RDLShared参考删除;
- 点击浏览按钮,找到C:\Program Files\Fourth Shift\Managed目录下的SoftBrands.FourthShift.RDLShared.dll文件,让其作为报告参考;
- 打开两个Windows的浏览窗口,一个打开C:\Program Files\Fourth Shift\Managed,另外一个打开C:\WINDOWS\assembly。将 SoftBrands.FourthShift.RDLShared.dll从C:\Program Files\Fourth Shift\Managed拖拽至C:\WINDOWS\assembly中;
- 重新预览报告。
|
|