ASP occurs Error 80004005

Using OLE Automation API
Post Reply
Posts: 1
Joined: Tue Nov 06, 2012 7:34 pm

ASP occurs Error 80004005

Post by lychl » Tue Nov 06, 2012 7:45 pm

Source code:

set printDoc=server.CreateObject("Print2Flash3.Server")
printDoc.ConvertFile server.MapPath("\jqueryeasyui\doc\") & "\20087650090001.doc"

OS:win7 x64


Print2Flash3.Server 错误 '80004005'

Initialization failed : System Error. Code: 5. 拒绝访问。

/jqueryeasyui/test_word2swf.asp,行 12

Posts: 267
Joined: Sat Dec 15, 2007 4:48 pm

Re: ASP occurs Error 80004005

Post by staff » Wed Nov 07, 2012 2:50 am

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: ... ccount.php

Post Reply