It works on a different machine.
"SOC" <zxc0@yahoo.com> wrote in message
news:uUCOx6D2HHA.5160@TK2MSFTNGP05.phx.gbl...
> Apologies, having read an earlier post on this subject, I have noticed
> that the
> web cannot be browsed from this server, and therefore content cannot be
> generated from the web.
> Thanks Soc.
>
> "SOC" <zxc0@yahoo.com> wrote in message
> news:OuKgnrB2HHA.2064@TK2MSFTNGP03.phx.gbl...
>> (Further to "24hrs static content".....many thanks)
>> Currently our web site is pulling all pages from a database, dependent on
>> querystrings.
>>
>> I wish to set up different system:
>>
>> index.asp lists a selection of links to pages, but instead of
>> href="/page.asp?a=10&b=20"
>> the link will be
>> href="/10/20.html"
>>
>> This html page will not be present when the link is used for the first
>> time, so goes to custom 404.
>>
>> 404.asp extract the querystring from the page name and directory,
>> generates the html and creates the 20.html page.
>> Then it redirects to 20.html.
>> Future users will go to a html page with no need for database access.
>>
>> I'm having difficulty generating the html, I'm testing the code below. Am
>> i on the correct track?
>> Thanks.
>>
>>
>> MSXML3.dll error '80072ee7'
>>
>> The server name or address could not be resolved
>>
>> /404.asp, line 27 (...xmlHttp.Send "")
>>
>> <%
>> Response.Expires = -1
>> URLToRSS =
http://www.abcde12345xyz.com:99/anindex.html
>> Set xmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP3.0")
>> xmlHttp.Open "Get", URLToRSS, false
>> xmlHttp.Send ""
>> strHTML = xmlHttp.ResponseText
>> Set fstemp = server.CreateObject("Scripting.FileSystemObject")
>> Set filetemp = fstemp.CreateTextFile("somepage.htm", true,true)
>> filetemp.Write(strHTML)
>> filetemp.Close
>> set filetemp = nothing
>> set xmlHttp = nothing
>> response.Redirect("somepage.html")
>> %>
>>
>>
>>
>
>
>