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

W

Wayne Deleersnyder

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 8.0.0.0


Inside the primary page, the auto-post back code looks like this:
// ddl_QuickView_SelectedIndexChanged
// Description: calls up the necessary software to show based on
what is selected
protected void ddl_QuickView_SelectedIndexChanged(object sender,
EventArgs e)
{
Session.Clear();
Session["SoftwareIndex"] =
ddl_QuickView.SelectedValue.ToString();
iframe_DisplayPage.Attributes["src"] = @".\softwareView.aspx";

}

The 'softwareView.aspx' file... without going into too much code, then
redirects using this code:
Response.Redirect("~/ContentPages/View/SoftwareDescription.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
dropped.
Source File: http://localhost:1350/TestSite/ContentPages/View/.\softwareView.aspx
Line: 14

But... clicking on the link reveals this on line 14:
.expandable { text-decoration:underline; 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.

Thanks,
Wayne D.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top