Page 1 of 1

ASP occurs Error 80004005

Posted: Tue Nov 06, 2012 7:45 pm
by lychl
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

Re: ASP occurs Error 80004005

Posted: Wed Nov 07, 2012 2:50 am
by staff
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:

Code: Select all

set printDoc=server.CreateObject("Print2Flash3.Server2")
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