I have just started at new company and am trying to create a development environment replicating the stuff currently on the production webserver.

I have an ASP page containing the code below which is supposed to run an ActiveX DLL (SMSListener.dll).

Initially when I typed in the <filename>.asp in web browser, it gave error about not having permissions. I then realised I have to register the DLL with REGSVr32.

Now the ASP page is not throwing an error, but it is entering the 'else' part of the if statement below, and dosn't seem to create the ActiveX object (SMSListener.dll).

Can you suggest an easy way to debug what the ASP page is doing?

thanks (and no hurry, as I've now given up for the minute & I'm off home for the day!)
kester


<% Response.Buffer = true

Set objMsg = Server.CreateObject("SMSListener.clsMessageHandler")

objMsg.update Request.QueryString("message")


if objMsg.Response <> "" then
response.write("<b>" & objMsg.Response & "</b>")
else
response.write("<b>Failure</b><br>" & objMsg.Response & "<br>" & err.description)
response.write(" Message = " & request("message"))
response.write(" QSMessage = " & Request.Querystring("message"))
end if

%>