Re: Invalid URL form or fully-qualified absolute URL was used. Use relative URLs

xxxxx_at_hjjghgj.com
Date: 04/10/04


Date: Sat, 10 Apr 2004 14:35:41 GMT

On Sat, 10 Apr 2004 16:17:08 +0200, "Rudi Ahlers"
<SP4M_Rudi@SP4M_Bonzai.org.za_SP4M> wrote:

I didn't see all the text in your post. Yeah, you're right, it
doesn't work with query strings... I found that out early on...

What the hell good is this extra asp 3.0 function if it doesn't work
with a query string... ????

I guess It's really just a replacement for includes.

I think "transfer" is supposed to be able to use the variables
explicitly defined on the calling page? or something?

Just store the vars in a session. I throw them in a dictionary in
some of my projects.

>Not quite, server.execute doesn't work with querystrings.........
>Like I said, I tried all possible options, adding a "/" to it, having the
>whole path, etc.
>See, when it's just index.asp?n=news, then it works, but the moment I add
>something to it, like index.asp?n=news&ID=71, then it bombs out
>
>Check this URL: http://www.aspfaq.com/show.asp?id=2030
>
>What a bummer. I was hoping though somebody have a different solution?
>
>--
>
>Kind Regards
>Rudi Ahlers
>+27 (82) 926 1689
>
>Greater love has no one than this, that he lay down his life for his friends
>(John 15:13).
><xxxxx@hjjghgj.com> wrote in message
>news:4077f6fc.379777484@news.dallas.sbcglobal.net...
>On Sat, 10 Apr 2004 15:30:36 +0200, "Rudi Ahlers"
><SP4M_Rudi@SP4M_Bonzai.org.za_SP4M> wrote:
>
>I think The "page" variable needs to be a string that is like
>"/yourvirtualdirectory/nameofpage.asp" ... a "relative" url that is
>under your root web directory...
>
>currently it thinks you're trying to use a "fully qualified" url that
>could be in another domain or something...
>
>>Please help, I have tried all possible routes.
>>
>>I have a table with a layout, and in one of the cells, I have :
>><%=server.Execute(page)%>
>>
>>The code that gives me this problem is:
>>
>>newslink = request.QueryString("n")
>>IDno = request.QueryString("ID")
>>
>>
>>if newslink <> "" then
>> page = "news/" & newslink & ".asp"
>> If objFSO.FileExists("/news/" & page) = false Then
>> page = "news/news.asp"
>> End If
>> if IDno <> "" then
>> page = page & "?ID=" & IDno
>> end if
>>else
>> page = "home.asp"
>>end if
>>
>>
>>Now, when I type the following URL in,
>>http://localhost/newhp/index.asp?n=news, then it works fine
>>If, however I type in http://localhost/newhp/index.asp?n=news&ID=71, I get
>>the above error.
>>
>>all the news stuff is in a seperate folder, but that shouldn't be a
>problem.
>>Please help?
>>--
>>
>>Kind Regards
>>Rudi Ahlers
>>+27 (82) 926 1689
>>
>>Greater love has no one than this, that he lay down his life for his
>friends
>>(John 15:13).
>>
>>
>
>



Relevant Pages

  • Re: execute append query
    ... copied sql from query into strings in vba in form, ... Dim qdfAppend as querydef ... > yes i did declare the parameter in the query and yes there was a suitable ...
    (microsoft.public.access.modulesdaovba)
  • Re: execute append query
    ... It may be that adding dbFailOnError to your original Execute statement would ... > copied sql from query into strings in vba in form, ... rather than allenbrowne at mvps dot org. ...
    (microsoft.public.access.modulesdaovba)
  • Access 2003 treats embedded functions in nested queries as a reference rather than a value - Acc
    ... Microsoft Access 2003 allows one to embed "expressions" in the query ... I also make extensive use of queries that are built from queries, ... Typically the IIf and Switch functions I use return strings. ... Has this behavior changed in Microsoft Access 2007? ...
    (microsoft.public.access.queries)
  • Re: Group By, Count, and Like
    ... > Status field data type is text, and records contain values: ... > Is there a way of having a 'group by' query grouping these sort of strings ... > of records in just the three categories Used; Expired; and Void? ... > experiments with 'Like' in the query criteria haven't been successful.... ...
    (microsoft.public.access.queries)
  • Re: user-defined wildcard query
    ... query's WHERE clause, but I suspect you might not know what ... To use that in the query design grid, ... This is because strings are compared left to right ... I just thought of a way to do the conversion as long as ...
    (microsoft.public.access.queries)