为什么WIN98+PWS能成功运行,但2000SEVER+IIS就不行呢?
下面的代码企图“在服务器端打开一个WORD文件,将指定的另一个WORD文件中所有内容插入打开WORD文件中”
在WIN98+PWS能成功运行,但2000SEVER+IIS就不行
<%
set wordApp=createobject("word.application")
set wordDoc=createobject("word.document")
File1=server.mappath("./1.doc")
set wordDoc=wordApp.documents.open(File1)
File2=server.mappath("./2.doc")
wordApp.selection.InsertFile File2
wordDoc.close
wordApp.quit
set wordApp=nothing %>
请问是何原因??