473,382 Members | 1,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Server.execute problems

I use the following line of code :

server.Execute("download.asp?file=" & request.QueryString("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.redirect everything is
fine but I for a variety of reasons I dont want to do that.

Any ideas what is wrong ?

Thanks in Advance

Jul 19 '05 #1
4 4170
hi,
try to put request.QueryString("file")) inside a variable and full address
http://serverX/download.asp...

««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
"Poppy" <pa**********@NOSPAMthemedialounge.com> escreveu na mensagem
news:#V**************@TK2MSFTNGP09.phx.gbl...
I use the following line of code :

server.Execute("download.asp?file=" & request.QueryString("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.redirect everything is fine but I for a variety of reasons I dont want to do that.

Any ideas what is wrong ?

Thanks in Advance

Jul 19 '05 #2

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

"Poppy" <pa**********@NOSPAMthemedialounge.com> wrote in message
news:#V**************@TK2MSFTNGP09.phx.gbl...
I use the following line of code :

server.Execute("download.asp?file=" & request.QueryString("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.redirect everything is fine but I for a variety of reasons I dont want to do that.

Any ideas what is wrong ?

Thanks in Advance

Jul 19 '05 #3
J. Baute wrote:
As far as I know you can't use querystring parameters when using
Server.Execute.
I always use Response.Redirect personnally mainly because of this
"problem".


That's correct, you cannot use a querystring with server.execute.
http://support.microsoft.com/default...;EN-US;q247420

--

kindler chase
http://www.ncubed.com
Home of SuperInvoice: The Online Invoicing Application.
Organize your billing process and impress your clients.

news://news.ncubed.com/support
n3 Support Group
Jul 19 '05 #4
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!
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David Morgan | last post by:
Hello In my ASP page I am trying to ascertain whether a randomly generated ID starts with certain characters that are not allowed or has been used before. When the SQL statement for latter is...
1
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0...
2
by: Jeff | last post by:
I have the following packages installed on my system: libpq3: 7.3.2r1-5 python-pygresql: 7.3.2r1-5 postgresql: 7.2.1-2woody2 postgresql-client: 7.2.1-2woody2 In my application, which is...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
3
by: Ina | last post by:
Hello all, I am newbien in VB.net and I would like to know what is going wrong with my code. Imports System Imports System.Data Imports System.Data.SqlClient
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
2
by: Sike | last post by:
Hi everyone, I've been browsing this and a few other related newsgroups trying to get my head around this problem, and so far all the trails seem to go cold, without an acceptable solution being...
5
by: =?Utf-8?B?dXNmaW5lY2F0cw==?= | last post by:
I'm new to asp.net. I'm trying to follow the tutorial walkthroughs and have got a few done. Now I'm doing the one about validating input, and I've run into some problems. In particular, I am...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.