User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,519 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,696 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2367 | Replies: 2
Reply
Join Date: Mar 2006
Location: london
Posts: 23
Reputation: soso30 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
soso30 soso30 is offline Offline
Newbie Poster

ActiveXObject Problem

  #1  
Jun 23rd, 2007
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"));

%>
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2006
Location: United States
Posts: 612
Reputation: binoj_daniel is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 15
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: ActiveXObject Problem

  #2  
Aug 14th, 2007
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
Reply With Quote  
Join Date: Dec 2006
Location: United States
Posts: 612
Reputation: binoj_daniel is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 15
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: ActiveXObject Problem

  #3  
Sep 9th, 2007
Hope you tried my steps. let me know.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 6:32 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC