[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

HTTP 400 Bad Request

Posted on 2011-05-04
13
Medium Priority
?
1,616 Views
Last Modified: 2012-05-11
Hello all,
I thought this would be simple but it is not.
I am trying to access a printer via web browser (http://192.168.169.222) that is on the local subnet.
Two PCs side by side.  
First PC is an older XP Pro SP2 machine with IE8 on it and it can acess this with no problem.
Second PC is a brand new (less than 2 days old) with Windows 7 Pro and all the latest updates.  When we try to access the same IP address as the first machine we get the HTTP 400 Bad Request error.
I just installed Firefox on the second machine and this IP address comes up beautifully in Firefox.
I have added the IP address to trusted intranet sites and trusted sites, brought down all security in IE to the lowest they can go and still no joy.
Any help would be greatly appreciated.
Thank you,
Kelly W.
0
Comment
Question by:K_Wilke
  • 9
  • 4
13 Comments
 
LVL 8

Expert Comment

by:TheMak
ID: 35690198
To work around this problem you have to switch off HTTP 1.1:

   1. From the menu choose View > Internet Options
   2. Select the Advanced tab
   3. Scroll to the bottom and uncheck Use HTTP 1.1
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35690272
Hello,
just tried that then rebooted the PC and still did not work.
I know that I have seen many things on this about removing .NET framework 3.x.
Windows 7 come pre-installed with 3.x so this is a no go.
Thanks,
Kelly W
0
 
LVL 8

Accepted Solution

by:
TheMak earned 1000 total points
ID: 35690435
Try this,

This registry key helps auto-generate an automatic string that goes out whenever you use Internet explorer.  It's called the "accept" string.  The string tells a web server what kind of page you prefer to get if the server is hosting two different versions of a page at a given URL. You can read all about it at this address:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

For a much simpler version, go here:

http://www.newmediacampaigns.com/page/browser-rest-http-accept-headers

Trimming this string should not cause major problems, since it's just a list of formats you prefer to get.  Usually, at the end of the string, there is a catch-all that will tell the web server to send whatever it has if it can't find documents in the format you prefer.  In fact, cutting down this string may lead to a boost in performace in Internet Explorer.

I also figured out why .NET 3.0 causes the HTTP 400 error for HP 1022n printers.  According to this website:

http://www.enhanceie.com/ie/troubleshoot.asp

this error will occur if your Accept or your User Agent strings are too long.  .Net tends to make both strings very long, causing the issue.  You can cut down your Accept string by following the instructions listed here.  To manually cut down your User Agent string go to the above website and scroll down to the part that says

Problem: Overlong headers result in HTTP/4xx or HTTP/5xx errors, particularly on devices like routers or webcams

Follow the instructions, restart Internet explorer, and your problem should be solved.  Following those instructions should solve the issure without having to uninstall .Net 3.0

http://social.technet.microsoft.com/Forums/en/itprovistaie/thread/ad46da9c-5d74-43b2-9ac9-781235a0ad74

Regards,
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
LVL 6

Author Comment

by:K_Wilke
ID: 35690500
Hello,
Have already tried those before posting this question and they do not work.
Thanks,
Kelly W.
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35709120
Any other ideas from anyone?
Oh and the registry settings, those really goof up any other programs that use .NET Framework so I would say those are bad things to do.
I really despise IE.
Thanks,
Kelly W.
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35734143
So is there any other ideas on this one?
Thanks,
Kelly W.
0
 
LVL 8

Expert Comment

by:TheMak
ID: 35737230
Which printer you are using? please provide us more detail about printer and if you know how to update Printer firmware then go ahead and update the firmware...

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1305117266342+28353475&threadId=1092740
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35739525
It is a Canon ImageRunner 1023
Thank you,
Kelly W.
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35739546
Tried all of those on the link to a previous EE link.
This is tied into .NET which is usually no big deal, BUT there is a canned EMR software that is built upon .NET and IE and when I tried anything with .NET then it corrupts access for that PC to the EMR package.
Thanks,
Kelly W.
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35817914
Any other ideas on how to fix this?
Thank you,
Kelly W.
0
 
LVL 6

Author Comment

by:K_Wilke
ID: 35870601
Any other ideas?
Thanks,
Kelly W.
0
 
LVL 6

Author Closing Comment

by:K_Wilke
ID: 35901756
Will give points since you attempted to answer this.  IE7, IE8, and IE9 will not do this with the Imagerunner 1023 and there is no firmware upgrade for this model of Canon.
The only option is to use Firefox and it works.
Like I mentioned the canned EMR software this place uses relies heavily on .NET Framework and all of these suggestions tweak .NET Framework which then renders the canned software unusable on the station.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses
Course of the Month20 days, 13 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question