Invalid path for child request

  • Thread starter Thread starter Gürkan Demirci
  • Start date Start date
G

Gürkan Demirci

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
 
Hi Gurkan,

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

-- Vijay Pote
 
Back
Top