I am trying to include a .asp file into another .asp file. I am using Server.Execute and I am using the following code:
Server.Execute(Request.QueryString("company") & "/" & dept & "/")
You can see that I am trying to include a file based on the variables passed via the URL. But I am receiving a "The call to Server.Execute failed while loading the page." error.
What am I doing wrong? Is Server.Execute not the best method? If now, what alternative should I use?
Thanks in advance.