DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   ActiveXObject Problem (http://www.daniweb.com/forums/thread81683.html)

soso30 Jun 23rd, 2007 3:46 am
ActiveXObject Problem
 
Hi,
i tried to use the ActiveXObject("CiscoURLProxy.URLGrabber"), but when i run the code it gives the following :
Error Type:
Microsoft JScript runtime (0x800A01AD)
Automation server can't create object
please help me to fix it .
here is a part of the code :

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<%
Response.ContentType = "text/xml";
function removeTags(HTMLString) {
txt = HTMLString.replace(/<[^<]*>/g, ""); // Strip all the tags in this form <tags>
txt = txt.replace(/&nbsp;/g, " "); // Replace &nbsp; to space
return txt;
}
Proxy = new ActiveXObject("CiscoURLProxy.URLGrabber");
p = String(Proxy.GetURL("http://www.hko.gov.hk/wxinfo/currwx/current.htm"));

%>

binoj_daniel Aug 14th, 2007 11:45 am
Re: ActiveXObject Problem
 
This error is a pretty generic Object Creation Failur message, but there are few things you can check.
- Check if this object is registered properly on this machine.
- Check if you have proper access permissions to that object.
- Also get the latest version of Microsoft XML Parser and install it properly.
- These should take care of the problem

binoj_daniel Sep 9th, 2007 8:19 am
Re: ActiveXObject Problem
 
Hope you tried my steps. let me know.


All times are GMT -4. The time now is 3:32 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC