Problem with the internet transfer control

From: Bonj (a_at_b.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 18:02:07 -0000

Hi
I am creating a project that needs to get the title of a bunch of web pages.
e.g., I have the string "http:// intranet / webapp1 / thepage.asp"
I need to send that request off to the web server, get the html back, parse
the "<title>TheTitle</title>" out using a regex, and retrieve the "TheTitle"
as my answer.

Aswell as the title, I also need to get the page's creation date, so the
process needs to run on the web server - in order that it can access the
actual asp file. This means that my VB program that is retrieving these two
pieces of information needs to run on the web server itself. The other
reason it needs to run on the web server itself is that it is a nightly job
and a PC that gets switched off at night wouldn't be reliable enough.

I've tested the function that gets the title on my own machine, and it works
fine. This is via a hidden form with the internet transfer control ocx on
it. However, when I run it on the web server (a windows 2000 advanced
server) I get the error " class does not support automation or expected
interface ". I get this no matter whether I regsvr32 the .ocx for the
internet transfer control manually, or with the P&D W.

If I try and do createobject("inetctls.inet") from a .vbs, I get a license
error.

Has anyone got any suggestions as to what might be up with the Inet on
theweb server?



Relevant Pages

  • RE: Problem with the internet transfer control
    ... I have a similar licensing problem with using the inet control from Excel ... can tell certain probucts like VB and Office Development install the ocx ... > I need to send that request off to the web server, get the html back, parse ... This is via a hidden form with the internet transfer control ocx on ...
    (microsoft.public.vb.general.discussion)
  • Re: How to send a simple HTTP request
    ... Do you have the Internet Transfer Control that was included in the ... > 1- I have a small service running on my server with a little web server. ... > 2-In the same case how can I retreive the HTTP response from the web ...
    (microsoft.public.fox.programmer.exchange)
  • Inet PUT doesnt upload the file to web server
    ... I'm trying to upload a file using Internet Transfer Control. ... I can upload it to my local web server: ... when I try to upload it to a web server on our intranet the file doesn't show up there. ...
    (microsoft.public.vb.controls.internet)
  • Re: Application pool terminated unexpectedly
    ... Things that can be responding to the request include: ... pool 'DefaultAppPool' terminated unexpectedly. ... We have always used Nessus for this. ... condition where almost every scan I run against the rebuilt web server ...
    (microsoft.public.inetserver.iis)
  • Re: The server committed a protocol violation
    ... Response -> ... instead sending a new request right away. ... One potential gotcha here is that the web server does one sendfor ... application can access the web service without any problems. ...
    (microsoft.public.windowsce.embedded)