找回密码
 立即注册

QQ登录

只需一步,快速开始

zj602788658
金牌服务用户   /  发表于:2016-3-22 11:09  /   查看:10321  /  回复:23

Server Error in '/SettleMent' 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 'FarPoint.Web.Spread, Version=9.40.20153.0, Culture=neutral, PublicKeyToken=327c3516b1b18457' or one of its dependencies. The system cannot find the file specified.

Source Error:



Line 40:     <compilation targetFramework="4.0">
Line 41:       <assemblies>
Line 42:         <add assembly="FarPoint.Web.Spread, Version=9.40.20153.0, Culture=neutral, PublicKeyToken=327C3516B1B18457"/>
Line 43:         <add assembly="FarPoint.CalcEngine, Version=9.35.20153.0, Culture=neutral, PublicKeyToken=327C3516B1B18457"/>
Line 44:         <add assembly="FarPoint.Web.Chart, Version=9.40.20153.0, Culture=neutral, PublicKeyToken=327C3516B1B18457"/>



.NET 4.0环境。


23 个回复

倒序浏览
zj602788658
金牌服务用户   /  发表于:2016-3-22 11:10:31
沙发

Source File:  D:\173GroupWare\SettleMent\web.config    Line:  42

Assembly Load Trace: The following information can be helpful to determine why the assembly 'FarPoint.Web.Spread, Version=9.40.20153.0, Culture=neutral, PublicKeyToken=327c3516b1b18457' 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].


回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-3-22 13:10:46
板凳
回复 使用道具 举报
zj602788658
金牌服务用户   /  发表于:2016-3-22 13:30:15
地板
dexteryao 发表于 2016-3-22 13:10
应该是缺少dll文件,你参考下 http://blog.gcpowertools.com.cn/post/2012/11/14/how-to-deploy-spreadaspn ...

按照上述操作进行修改以后,未能处理该问题。
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-3-22 14:22:42
5#
zj602788658 发表于 2016-3-22 13:30
按照上述操作进行修改以后,未能处理该问题。

您好,首先您需要仔细检查发布包中bin是否包含FarPoint.Web.Spread.dll等dll。其次检查dll版本是否和开发版本一致。
查看dll版本方法,右键-属性-详细信息
dll版本.png
回复 使用道具 举报
zj602788658
金牌服务用户   /  发表于:2016-3-22 14:55:02
6#
发布网站以后,需要引用的文件列表麻烦提供一下,样式也不对了。合计行也没有。双击单元格也不能修改。
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-3-22 15:56:58
7#
就是和您开发时候使用的一样,下图中第一个红框中就是您使用dll,这些都是要copy的。建议您将引用的属性参照第二个红框都设置成true,这样发布时就会自动打包到bin中了。 5C14.tmp.png

还有参考我之前发您的博客记着将开发机器的 fp_client 文件夹(默认安装在 \Program Files\Common Files\FarPoint Technologies 文件夹下)和它的子文件夹
都拷贝到web根目录,然后web config中添加
  1. <appSettings>


  2. <add key="fp_client" value="fp_client" />


  3. </appSettings>
复制代码


回复 使用道具 举报
zj602788658
金牌服务用户   /  发表于:2016-3-22 16:09:15
8#
dexteryao 发表于 2016-3-22 15:56
就是和您开发时候使用的一样,下图中第一个红框中就是您使用dll,这些都是要copy的。建议您将引用的属性参 ...

已经按照上述操作做了,但是还是不行。合计行,在360的极速模式下,会显示在上面。兼容模式下不显示。
回复 使用道具 举报
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2016-3-22 16:25:58
9#
有没有外网地址可以访问,方便我们调查。
回复 使用道具 举报
zj602788658
金牌服务用户   /  发表于:2016-3-23 08:09:03
10#
dexteryao 发表于 2016-3-22 16:25
有没有外网地址可以访问,方便我们调查。

已经发送消息。
回复 使用道具 举报
123下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部