473,547 Members | 2,553 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Request objects working fine locally on IIS, but not on my live site

I'm cannot seem to get my request objects posted from a form on a
previous page to show up on the page I'm posting to. When I try it
locally on my IIS webserver, it works fine. But the form posting does
not seem to work when I do it live (on Windows 2000). Below is the
series of statements I'm using.

<%' QUERY POST stuff
dim req
if request("DBCode ") = "LY-YrToDate" or request("DBCode ") = "YrToDate"
then
req = 1
elseif request("DBCode ") = "LY-Last8wk" or request("DBCode ") =
"Avg(YrTD-LY)" or request("DBCode ") = "Rolling-6wk" then
req = 2
end if
'''''''''''''sq l ''''''''''''''' '''''''''
dim sqlstr
sqlstr = "SELECT season,gameweek ,dbcode,gamedat a FROM tblNFLGameData
WHERE season = '" & request("season ") & "' and gameweek = '" &
request("gamewe ek") & "' and DBCode = '" & req & "'"

Set rf = Server.CreateOb ject("ADODB.Rec ordset")
rf.Open sqlstr,sqlc,3
''''''''''''''' ''''''''''''''' ''''''''''''
'get date from the week queried
'dim datsunday, datgamedate
'datgamedate = rf("gamedate")

%>
<%
If rf.BOF and rf.EOF Then
response.write "<b><h3>The re are no games for this query!</h3></b>" &
req & "?" %>

As you see, I am testing the output of the variable "req" in my
response.write . The variable (either 1 or 2)shows up fine when doing
this locally on IIS, but the variable, or the posted data, doesn't show
up when doing it live. I even tried using Request.form("m yvariables")
object.

???
Muench

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
0 1288

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

Similar topics

8
10629
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad Request" was the original error msg now that I reinstalled iislockdown and urscan I get "The parameter is incorrect." If I use the get method with this...
38
3688
by: Radi Radichev | last post by:
Hi! I'm making a database application and i heard from a friend that it is more proffecional and easy to do this with bussines objects. Can anyone tell me where i can find more info on bussines objects and how to implement them with c#? I would appreciate any help. Thanks.
4
1879
by: Trond Meistad | last post by:
I have a website where I run a simple asp.net web application. On Sunday night, requests to this webapplication started to time out. After much debuggeing with no result, I created a new webapplication with one aspx page that displays only a text. I uploaded this page and the dll, but requests to this page also times out. So my problem...
8
1994
by: Brad Simon | last post by:
I have written a shopping cart using ASP .NET (VB). It has been running quite successfully on a site for about a year or so. I use the SessionID as the key to hold information on the shopping cart. I have copy / pasted the code into a new site. Everything is working, EXCEPT for the shopping cart holding the SessionID. I have watched the...
2
2286
by: John Wilson | last post by:
I have an application that can access data both locally and through web services (it may be working in a disconnected mode). I have defined my data objects (e.g. ObjectA) in a separate component (e.g. DataDefiner) and placed this on the local machine and the webserver. When I get my Object A back from the webserver, Visual Studio tells...
2
20815
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not
6
1259
by: Guy Thornton | last post by:
I have an application in asp.net using vb. The asp.net portion of this application is mainly the user interface. The UI has references made to our business logic layer. And the business logic layer uses a database class to access our data environment. The business logic layer and database class is compiled into a class library. The...
5
1325
by: BSM | last post by:
Hi, I have used some validator controls in my project and itz working fine in developement enviro. But it does not work in the Live site. Help me to solve this issue. bsm
4
3257
by: BT | last post by:
I just started working with some Server Side Includes to streamline a website that I inherited. I think that I've got the SSI stuff figured out, but it is a pain to work on. When I edit an SSI, I have to upload the html file and the SSI's to my web hosting server to see what it looks like. When I do non SSI pages I can just load the local...
0
7437
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7703
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7463
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7797
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6032
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3493
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3473
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1050
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.