473,714 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTP Error 400 - Bad Request. for Firefox, but good for IE

Hi All,

I'm hoping to try to solve this error. I'm currently putting together
a little web app, but I need it to work under both IE6, IE7, Mozilla,
etc... Although the formatting is off for some pages, I suspect that's
due to issues with IE6. I'm hoping to use the app on the company
network, and most of our computers have to stay at IE6 until the
powers that be say we can upgrade to IE7.

Anyways, here's the BIG error in my case. On one of the pages I have
a drop-down list, that drop-down list does an Auto-Post Back, and then
changes an IFRAME based on what was selected. The IFRAME will
redirect to an aspx file, which will then generate a PDF using the
Crystal Reports tool. The bugger is that IE6 works fine but Firefox
will give me the following error.

Server Error in '/TestSite' Application.
HTTP Error 400 - Bad Request.
Version Information: ASP.NET Development Server
Inside the primary page, the auto-post back code looks like this:
// ddl_QuickView_S electedIndexCha nged
// Description: calls up the necessary software to show based on
what is selected
protected void ddl_QuickView_S electedIndexCha nged(object sender,
EventArgs e)
Session.Clear() ;
Session["SoftwareIn dex"] =
ddl_QuickView.S electedValue.To String();
iframe_DisplayP age.Attributes["src"] = @".\softwareVie w.aspx";


The 'softwareView.a spx' file... without going into too much code, then
redirects using this code:
Response.Redire ct("~/ContentPages/View/SoftwareDescrip tion.pdf");
So ideally I can redirect to the generated PDF, and the browser will
pull up the file using the Acrobat plug-in. But, like I said, this
works with IE6, but for some reason crashes with Firefox.
One of the weird things I notice in Firefox when I view the Error
Console (Tools->Error Console) is this message:
Warning: Error in parsing value for property 'cursor'. Declaration
Source File: http://localhost:1350/TestSite/Conte...twareView.aspx
Line: 14

But... clicking on the link reveals this on line 14:
.expandable { text-decoration:unde rline; font-weight:bold;
color:navy; cursor:hand; }
This must be code ASP.NET inserts... I never defined this.

Once again... sorry for not throwing ALL the code in, otherwise this
post would be HUGE. Has anyone run into this error before or heard of
it? Is this one of those quarky differences with how Firefox handles
things? Any help would be appreciated.

Wayne D.

Feb 21 '07 #1
0 7827

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

Similar topics

by: jacob c. | last post by:
When I request a URL using urllib2, it appears that urllib2 always makes the request using HTTP 1.0, and not HTTP 1.1. I'm trying to use the "If-None-Match"/"ETag" HTTP headers to conserve bandwidth, but if I'm not mistaken, these are HTTP 1.1 headers, so I can't reasonably expect a web server to respond correctly to my requests. (In my limited testing, it looks like some servers respond correctly with an HTTP 304 status, while some...
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page). Turning off 'show friendly http error messages' alleviates this. (Unfortunately this is the Windows default setting!) Whats going on?!?!
by: mike | last post by:
regards: What is the precise URL(or URI) in a HTTP Request @@.? Any positive suggestion is welcome. thank you May goodness be with you all
by: Nightshade | last post by:
I have an HTML form using JavaScript that seems to function properly in IE but not in Mozilla Firefox 1.5 or in Netscape 8.1 (based on Firefox). The error in Firefox/Netscape is "testForIt() not defined." Following is the JavaScript code: <script language="JScript"> <!-- var request = false; var useImage = false; var useFrame = false; var inqnum, compname = 0;
by: webEater | last post by:
Hey, I am writing a file that reads in an external file in the web and prints it out including the response header of the http protocol. I do this to enable cross domain XMLHttpRequests. I implemented it via fsockopen, like this: <? $url = $_REQUEST; // take the param as $uri //... more ...
by: Boldgeek | last post by:
I am trying to develop an app that will allow automatic updating of a web form which uses multipart/form-data enctype (as it MIGHT be sending an image) I have an example form, which when submitted displays the results as you would expect. However when I send the same data using the PHP script I get a 400 error: Bad Request
by: figelwump | last post by:
All, I am writing an HTTP 1.1 compliant proxy in c#.NET, for use as a proxy server for any web browser (IE, firefox, etc). I've got it working fine for GET requests. However, when a POST request is issued by IE, I find that sometimes IE does not render the page, even though my proxy reports that it successfully sent the response from the server back to IE. So, in IE a blank page is rendered. If I use a plugin like IEWatch, it seems...
by: rpjanaka | last post by:
Hi all, I am using AJAX to submit a data from a web page, it is properly working on the local host (when test with the local machine it is ok).also when access from another machine the pages are properly lord. But when send data it gives an http request error. The following is the error message. it include several suggestions, but i cant exactly deiced what it is.? pls anyone can help me to find the reason for this... ERROR The...
by: beau.moore | last post by:
Hi all, I need some help, I am trying to access a service that binds to the loopback address on my linux FC8 server. I think PHP functions but I am unable to get any response back from the fgets() command below. The service is GoogleDesktop for Linux, I am aware of all of the restrictions in place to prevent what I am trying to do but I want to try anyway. It seems to me that my http request should look just like an http request from...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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 most users, this new feature is actually very convenient. If you want to control the update process,...
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.