Source code:
set printDoc=server.CreateObject("Print2Flash3.Server")
printDoc.ConvertFile server.MapPath("\jqueryeasyui\doc\") & "\20087650090001.doc"
OS:win7 x64
IIS:7.5
Error:
Print2Flash3.Server 错误 '80004005'
Initialization failed : System Error. Code: 5. æ‹’ç»è®¿é—®ã€‚
/jqueryeasyui/test_word2swf.asp,行 12
ASP occurs Error 80004005
Re: ASP occurs Error 80004005
If you use Automation API from ASP, you need to use Server2 object instead of Server object. So your object creation code should look like this:
Also, you need to configure Print2Flash Service using Print2Flash Service Configuration window as specified in this help topic: http://print2flash.com/help/SettingupAu ... ccount.php
Code: Select all
set printDoc=server.CreateObject("Print2Flash3.Server2")