请教asp调用FlashPaper不能使用问题?
这两天在使用asp调用FlashPaper制作在线电子书,部署在Windows 2003+IIS 6下,怎么也不能转换成功。网上查阅了大量资料,我是按下面步骤做的,请大家帮忙看看有何问题?
1.Internet信息管服务理器→应用程序池→DefaultAppPool→属性→标识→预定义账户→本地系统;
2.Internet匿名账户IUSR_****和IWAM_****已加入到administrators组;
3.管理工具→组件服务→计算机→我的电脑→DCOM配置→Microsoft Word文档→属性→常规→身份验证级别设置为无;“安全”里面都设置了自定义,且包含了administrators组;
4.flashpaper生成新文件的目录的权限也给了administrators组、system和Everyone所有权限。
asp程序代码如下:
<% Response.Charset="utf-8" Dim objShell Dim intSecceed Dim strCmd strCmd = "C:\FlashPaper\FlashPrinter.exe e:\course\t\1.doc -o e:\course\t\1.swf" Set objShell = Server.CreateObject("WScript.Shell") intSecceed = objShell.Run(strCmd ,1,true) If intSecceed = 0 Then Response.Write("命令成功执行,返回码:" & intSecceed) Else Response.Write("命令执行失败,返回码:" & intSecceed) End If set objShell = nothing%>