Hi Can anybody tell me how I can go about being able to view an "asp" file when uploaded to my server.I get this message Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method /index.asp, line 4 <% Dim objXmlHttp Dim strHTML objXmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP") objXmlHttp.open "GET", "http://telalinks.com/system/get.cgi?u=diallo45&id=19320&c=53&this=" & Request("this"), False objXmlHttp.send strHTML = objXmlHttp.responseText Response.Write(strHTML) objXmlHttp = Nothing %> Thanks
I think your issue is the request. Maybe you mean Request("this") to be Request.QueryString("this") ? First do a response.write "http://telalinks.com/system/get.cgi?u=diallo45&id=19320&c=53&this=" & Request("this") and see if it outputs what you want.
It should work, for further information follow this link http://www.asp101.com/samples/viewasp.asp?file=http.asp