Invalid path for child request

Discussion in 'ASP .Net' started by Gürkan Demirci, Aug 5, 2005.

  1. Hi,

    i am trying to execute (Server.Execute) an aspx file out of the main aspx
    file.
    The aspx file which i am trying to execute is in an subfolder
    "plugins/header.aspx".
    The line Server.Execute("plugins/header.aspx?id=0") gives me the error:
    Invalid path for child request 'plugins/header.aspx?id=0'. A virtual path is
    expected.

    I am realy new to asp and don't know what to do. Can anybody help me please
    ?

    regards,

    gürkan
    Gürkan Demirci, Aug 5, 2005
    #1
    1. Advertising

  2. Hi Gurkan,

    with Server.Execute you can't specify the folder name as well as the
    querystring.

    -- Vijay Pote

    "Gürkan Demirci" wrote:

    > Hi,
    >
    > i am trying to execute (Server.Execute) an aspx file out of the main aspx
    > file.
    > The aspx file which i am trying to execute is in an subfolder
    > "plugins/header.aspx".
    > The line Server.Execute("plugins/header.aspx?id=0") gives me the error:
    > Invalid path for child request 'plugins/header.aspx?id=0'. A virtual path is
    > expected.
    >
    > I am realy new to asp and don't know what to do. Can anybody help me please
    > ?
    >
    > regards,
    >
    > gürkan
    >
    >
    >
    =?Utf-8?B?VmlqYXkgUG90ZSAoTUNQLCBNQ0FELCBNQ1NELUlu, Aug 5, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Birtle
    Replies:
    2
    Views:
    2,017
    John Saunders
    Oct 16, 2003
  2. Keith-Earl
    Replies:
    1
    Views:
    1,968
    Peter O'Reilly
    May 3, 2004
  3. =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?=

    Help on error : Invalid path for child request ???

    =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?=, Mar 24, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    8,625
    =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?=
    Mar 27, 2006
  4. Patrick.O.Ige
    Replies:
    1
    Views:
    1,956
    Patrick.O.Ige
    Jul 2, 2006
  5. Jeff Rodriguez
    Replies:
    23
    Views:
    1,116
    David Schwartz
    Dec 9, 2003
Loading...

Share This Page