win 2008 + IIS7环境下出现建库中断的问题及解决方案
金蝶云社区-天冥异
天冥异
6人赞赏了该文章 387次浏览 未经作者许可,禁止转载编辑于2018年06月22日 19:29:20


问题表现:在创建业务数据上心的过程中,系统出现中断,翻看后台日志,会有线程被强制中止的异常信息。

原因:站点文件操作触发IIS自动重启,导致站点中断退出。

解决方案:
1. 将 {安装目录}\kingdee\k3cloud\MangeSite\CommonFileServer 目录下的所有文件(含子文件夹) 复制到 {安装目录}\kingdee\k3cloud\CommonFileServer,然后删除 {安装目录}\kingdee\k3cloud\MangeSite\CommonFileServer;

2. 打开IiS管理器,在ManageSite站点中创建虚拟目录CommonFileServerCreateVDCommonfilesv.png 

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

第三步修改配置中也修改为对应的位置



赞 6