Error Using CPHandler with ASP

SaalekSaalek Member Posts: 181
edited 2004-09-13 in Navision Attain
Hello
I´m creating un ASP page with CP Handler to send XML files to a Queue

I use the same code in Visual Basic 6, Viasual Basic .Net and ASP.Net and it works fine

But if i use this code in ASP, the server returns this message

"Microsoft VBScript en RunTime Error (0x800A000D)"

I add my ASP Code

Thanks

<HTML>
<BODY>
<%
Response.buffer = true
Response.Expires=100
public Queue
public Docreceived
set Queue=server.createobject("CPHandler.CQueueHandler")
Set Docreceived = server.CreateObject("MSXML2.DOMDocument")
Docreceived.load "c:\customer.xml"
Queue.SendToLabel "InQueue",Docreceived,1,0,"SOFTWARE\Queue\",false
%>
</BODY>
</HTML>
Sign In or Register to comment.