Server.execute problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Poppy

    Server.execute problems

    I use the following line of code :

    server.Execute( "download.asp?f ile=" & request.QuerySt ring("file"))

    which results in :

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

    If I replace the server.execute method with response.redire ct everything is
    fine but I for a variety of reasons I dont want to do that.

    Any ideas what is wrong ?

    Thanks in Advance



  • Vilmar Brazão de Oliveira

    #2
    Re: Server.execute problems

    hi,
    try to put request.QuerySt ring("file")) inside a variable and full address
    http://serverX/download.asp...

    ««««««««»»»»»»» »»»»»»»
    Vlmar Brazão de Oliveira
    Desenvolvimento Web
    HI-TEC
    "Poppy" <paul.diamond@N OSPAMthemedialo unge.com> escreveu na mensagem
    news:#VfZdjRBEH A.3472@TK2MSFTN GP09.phx.gbl...[color=blue]
    > I use the following line of code :
    >
    > server.Execute( "download.asp?f ile=" & request.QuerySt ring("file"))
    >
    > which results in :
    >
    > "Invalid URL form or fully-qualified absolute URL was used. Use relative
    > URLs."
    >
    > If I replace the server.execute method with response.redire ct everything[/color]
    is[color=blue]
    > fine but I for a variety of reasons I dont want to do that.
    >
    > Any ideas what is wrong ?
    >
    > Thanks in Advance
    >
    >
    >[/color]


    Comment

    • J. Baute

      #3
      Re: Server.execute problems


      As far as I know you can't use querystring parameters when using
      Server.Execute.
      I always use Response.Redire ct personnally mainly because of this "problem".

      "Poppy" <paul.diamond@N OSPAMthemedialo unge.com> wrote in message
      news:#VfZdjRBEH A.3472@TK2MSFTN GP09.phx.gbl...[color=blue]
      > I use the following line of code :
      >
      > server.Execute( "download.asp?f ile=" & request.QuerySt ring("file"))
      >
      > which results in :
      >
      > "Invalid URL form or fully-qualified absolute URL was used. Use relative
      > URLs."
      >
      > If I replace the server.execute method with response.redire ct everything[/color]
      is[color=blue]
      > fine but I for a variety of reasons I dont want to do that.
      >
      > Any ideas what is wrong ?
      >
      > Thanks in Advance
      >
      >
      >[/color]


      Comment

      • Kindler Chase

        #4
        Re: Server.execute problems

        J. Baute wrote:[color=blue]
        > As far as I know you can't use querystring parameters when using
        > Server.Execute.
        > I always use Response.Redire ct personnally mainly because of this
        > "problem".[/color]

        That's correct, you cannot use a querystring with server.execute.


        --

        kindler chase

        Home of SuperInvoice: The Online Invoicing Application.
        Organize your billing process and impress your clients.

        news://news.ncubed.com/support
        n3 Support Group


        Comment

        • Imran Salahuddin Khan

          #5
          Re: Server.execute problems

          you can not pass querystring parameters to the asp file which is going
          to be executed through server.execute method...

          !mran Khan

          *** Sent via Developersdex http://www.developersdex.com ***
          Don't just participate in USENET...get rewarded for it!

          Comment

          Working...