问题表现:在创建业务数据上心的过程中,系统出现中断,翻看后台日志,会有线程被强制中止的异常信息。
原因:站点文件操作触发IIS自动重启,导致站点中断退出。
解决方案:
1. 将 {安装目录}\kingdee\k3cloud\MangeSite\CommonFileServer 目录下的所有文件(含子文件夹) 复制到 {安装目录}\kingdee\k3cloud\CommonFileServer,然后删除 {安装目录}\kingdee\k3cloud\MangeSite\CommonFileServer;
2. 打开IiS管理器,在ManageSite站点中创建虚拟目录CommonFileServer
3.修改{安装目录}\MangeSite\App_Data\KDEnvironment.xml
将下述结点
<FTPFileServer HostName="{机器名}">
<AbsolutePath>/K3CloudFileServer/</AbsolutePath><Port>21</Port><LocalMapDirectory>{安装目录}\kingdee\k3cloud\ManageSite\CommonFileServer</LocalMapDirectory></FTPFileServer>
<FileSite HostName="{机器名}"><AbsolutePath>/CommonFileServer/</AbsolutePath><Port>8000</Port><LocalMapDirectory>{安装目录}\kingdee\k3cloud\ManageSite\CommonFileServer</LocalMapDirectory></FileSite>
更改为
<FTPFileServer HostName="{机器名}">
<AbsolutePath>/K3CloudFileServer/</AbsolutePath><Port>21</Port><LocalMapDirectory>{安装目录}\kingdee\k3cloud\CommonFileServer</LocalMapDirectory></FTPFileServer>
<FileSite HostName="{机器名}"><AbsolutePath>/CommonFileServer/</AbsolutePath><Port>8000</Port><LocalMapDirectory>{安装目录}\kingdee\k3cloud\CommonFileServer</LocalMapDirectory></FileSite>
4. 重启IIS
注意:安装包6.2安装后CommonFileServer文件的位置略有不同,所以针对v6.2,第一步操作更改为:安装目录\Kingdee\K3Cloud\ManageSite\App_Data\CommonFileServer目录下的所有文件(含子文件夹) 复制到 安装目录\Kingdee\K3Cloud\CommonFileServer,然后删除 安装目录\Kingdee\K3Cloud\ManageSite\App_Data\CommonFileServer
第三步修改配置中也修改为对应的位置
推荐阅读