Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Getting Error while running a script.

$
0
0
I just installed InDesign Server to our Server and then<br />I ran a simple script "hello world" which is embbeded to ASP web programming<br />test.asp<br /><%<br />Set myInDesignServer = CreateObject("InDesignServer.Application.CS3") <br />Set myDocument = myInDesignServer.Documents.Add <br />Set myPage = myDocument.Pages.Item(1) <br />Set myTextFrame = myPage.TextFrames.Add <br />myTextFrame.GeometricBounds = Array("6p0", "6p0", "18p0", "18p0") <br />myTextFrame.Contents = "Hello World!" <br />myDocument.Save server.MapPath(".") & "\HelloWorld.indd" <br />myInDesignServer.Documents.Item(1).Close<br />set myInDesignServer = nothing<br />%><br /><br />and found this error:<br />Microsoft VBScript runtime (0x800A01AD)<br />ActiveX component can't create object:<br />'InDesignServer.Application.CS3'<br />/test/test.asp, line 3<br /><br />anyone knows about the error?<br />Please, help me.<br /><br />Thanks.

Viewing all articles
Browse latest Browse all 20709

Trending Articles