473,666 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS6 POST request failing with 500 error

**Also posted in inetserver.iis newsgroup as I am unsure of where the
problem lies**

Hi,

I have a strange problem, or I may just be stupid, but wondering if anyone
can help with this one:
We receive a large number of very simple POST requests to our vb.net web
apps from our suppliers (all using php or jsp - if that has any relevance).
Historically our ,net apps have been hosted (still are!) on win2k boxes with
IIS5 with no problem, GET and POST requests work fine, from their apps,
IE5/6 ... all fine!

Now here is where the problem starts, recently put two new servers (2003 std
with IIS6) in our colo, installed the same apps, and they appear to work
fine (make GET requests from IE6 - fine) however our clients get a 500 error
when posting and when simulating a session through telnet the server
responds with 500.

All i can see in the logs is the request coming in as a POST with 500 as the
error code.

Any help much appreciated (if you need more info please let me know)

Many thanks in advance
Nov 18 '05 #1
11 2334
Ed Dearlove wrote:
**Also posted in inetserver.iis newsgroup as I am unsure of where the
problem lies**

Hi,

I have a strange problem, or I may just be stupid, but wondering if anyone
can help with this one:
We receive a large number of very simple POST requests to our vb.net web
apps from our suppliers (all using php or jsp - if that has any relevance).
Historically our ,net apps have been hosted (still are!) on win2k boxes with
IIS5 with no problem, GET and POST requests work fine, from their apps,
IE5/6 ... all fine!

Now here is where the problem starts, recently put two new servers (2003 std
with IIS6) in our colo, installed the same apps, and they appear to work
fine (make GET requests from IE6 - fine) however our clients get a 500 error
when posting and when simulating a session through telnet the server
responds with 500.

All i can see in the logs is the request coming in as a POST with 500 as the
error code.

Any help much appreciated (if you need more info please let me know)

Many thanks in advance

In IE6, turn 'Show friendly error pages' on and off and find out if it
makes any difference. Don't know exactly what the case is but that's
what I've found ou once.

//Rutger
Nov 18 '05 #2
Hi,

thanks for your thoughts, unfortunatly each time i connect to the page from
IE (Show friendly error pages on or off) it displays perfectaly. The only
way I can replicate the problem locally is to set up a manual telnet session
to the server

Ed

"Rutger" <ru********@hot mail.com> wrote in message
news:41******** *************** @news.xs4all.nl ...
Ed Dearlove wrote:
**Also posted in inetserver.iis newsgroup as I am unsure of where the
problem lies**

Hi,

I have a strange problem, or I may just be stupid, but wondering if anyone can help with this one:
We receive a large number of very simple POST requests to our vb.net web
apps from our suppliers (all using php or jsp - if that has any relevance). Historically our ,net apps have been hosted (still are!) on win2k boxes with IIS5 with no problem, GET and POST requests work fine, from their apps,
IE5/6 ... all fine!

Now here is where the problem starts, recently put two new servers (2003 std with IIS6) in our colo, installed the same apps, and they appear to work
fine (make GET requests from IE6 - fine) however our clients get a 500 error when posting and when simulating a session through telnet the server
responds with 500.

All i can see in the logs is the request coming in as a POST with 500 as the error code.

Any help much appreciated (if you need more info please let me know)

Many thanks in advance

In IE6, turn 'Show friendly error pages' on and off and find out if it
makes any difference. Don't know exactly what the case is but that's
what I've found ou once.

//Rutger

Nov 18 '05 #3
Ed Dearlove wrote:
Hi,

thanks for your thoughts, unfortunatly each time i connect to the
page from IE (Show friendly error pages on or off) it displays
perfectaly. The only way I can replicate the problem locally is to
set up a manual telnet session to the server


What request do you eumlate via telnet to reproduce the error?

Cheers,

--
Joerg Jooss
jo*********@gmx .net

Nov 18 '05 #4
Hi Joerg,

the sample app I am using is a test one, so it can accept any parameters
and just logs the details of the request into a text file.

I am not too sure what you mean by 'What request do you eumlate via telnet
to reproduce the error?' but I will give you a full list of what I do when i
telnet it!

telnet xxx.xxx.xxx.xxx 80
POST /appname/page.aspx HTTP/1.0

Host: xxx.xxx.xxx.xxx
Content-type: application/x-www-form-urlencoded
Content-length: 9

test=true

If there is any other way of testing please let me know - also is there a
telnet app that you can see the local echo?

Thanks in advance

"Joerg Jooss" <jo*********@gm x.net> wrote in message
news:ez******** ******@TK2MSFTN GP11.phx.gbl...
Ed Dearlove wrote:
Hi,

thanks for your thoughts, unfortunatly each time i connect to the
page from IE (Show friendly error pages on or off) it displays
perfectaly. The only way I can replicate the problem locally is to
set up a manual telnet session to the server


What request do you eumlate via telnet to reproduce the error?

Cheers,

--
Joerg Jooss
jo*********@gmx .net

Nov 18 '05 #5
Ed Dearlove wrote:
Hi Joerg,

the sample app I am using is a test one, so it can accept any
parameters and just logs the details of the request into a text file.
Good,

I am not too sure what you mean by 'What request do you eumlate via
telnet to reproduce the error?' but I will give you a full list of
what I do when i telnet it!
Yeah, that's I meant. You're pretending to be a web client by typing in HTTP
requests via telnet :-)
telnet xxx.xxx.xxx.xxx 80
POST /appname/page.aspx HTTP/1.0

Wait. There must be no empty line here, othwerwise your headers become the
message body.
Host: xxx.xxx.xxx.xxx
Content-type: application/x-www-form-urlencoded
Content-length: 9

test=true
You could perform another quick test here. Since you already pass a Host
header, you can safely change the protocol version to HTTP 1.1.

If there is any other way of testing please let me know - also is
there a telnet app that you can see the local echo?


You could create a test web form or build a test windows app. As far as the
local echo goes, I'd thought that any old telnet client can do that?

Cheers,

--
Joerg Jooss
jo*********@gmx .net

Nov 18 '05 #6
Hi again!

firstly thanks for all your help, with that change to the telnet session you
mentioned it works perfectly with both HTTP1.0 and 1.1.....so i am totally
confused!!


"Joerg Jooss" <jo*********@gm x.net> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Ed Dearlove wrote:
Hi Joerg,

the sample app I am using is a test one, so it can accept any
parameters and just logs the details of the request into a text file.
Good,

I am not too sure what you mean by 'What request do you eumlate via
telnet to reproduce the error?' but I will give you a full list of
what I do when i telnet it!


Yeah, that's I meant. You're pretending to be a web client by typing in

HTTP requests via telnet :-)
telnet xxx.xxx.xxx.xxx 80
POST /appname/page.aspx HTTP/1.0

Wait. There must be no empty line here, othwerwise your headers become the
message body.
Host: xxx.xxx.xxx.xxx
Content-type: application/x-www-form-urlencoded
Content-length: 9

test=true


You could perform another quick test here. Since you already pass a Host
header, you can safely change the protocol version to HTTP 1.1.

If there is any other way of testing please let me know - also is
there a telnet app that you can see the local echo?


You could create a test web form or build a test windows app. As far as

the local echo goes, I'd thought that any old telnet client can do that?

Cheers,

--
Joerg Jooss
jo*********@gmx .net

Nov 18 '05 #7
Ed Dearlove wrote:
Hi again!

firstly thanks for all your help, with that change to the telnet
session you mentioned it works perfectly with both HTTP1.0 and
1.1.....so i am totally confused!!


Where do these POST requests from your third parties actually fail? Are they
rejected by IIS 6 right away, or do they cause an exception within the
ASP.NET pipeline?

Cheers,

--
Joerg Jooss
jo*********@gmx .net

Nov 18 '05 #8
Rejected before ASP gets hold of them (I think - although I am still
checking) I have a whole load of debug code running in the .net and nothing
seems to get there
"Joerg Jooss" <jo*********@gm x.net> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Ed Dearlove wrote:
Hi again!

firstly thanks for all your help, with that change to the telnet
session you mentioned it works perfectly with both HTTP1.0 and
1.1.....so i am totally confused!!
Where do these POST requests from your third parties actually fail? Are

they rejected by IIS 6 right away, or do they cause an exception within the
ASP.NET pipeline?

Cheers,

--
Joerg Jooss
jo*********@gmx .net

Nov 18 '05 #9
I woudl start by trapping errors (using either customErrors tags or
Application_OnE rror). You can then mail this error so that you are aware of
waht's happening in your app without having to reproduce the problem...

Patrice

--

"Ed Dearlove" <ed@nohost.co m> a écrit dans le message de
news:eL******** ******@TK2MSFTN GP09.phx.gbl...
Hi again!

firstly thanks for all your help, with that change to the telnet session you mentioned it works perfectly with both HTTP1.0 and 1.1.....so i am totally
confused!!


"Joerg Jooss" <jo*********@gm x.net> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Ed Dearlove wrote:
Hi Joerg,

the sample app I am using is a test one, so it can accept any
parameters and just logs the details of the request into a text file.


Good,

I am not too sure what you mean by 'What request do you eumlate via
telnet to reproduce the error?' but I will give you a full list of
what I do when i telnet it!


Yeah, that's I meant. You're pretending to be a web client by typing in

HTTP
requests via telnet :-)
telnet xxx.xxx.xxx.xxx 80
POST /appname/page.aspx HTTP/1.0


Wait. There must be no empty line here, othwerwise your headers become the message body.
Host: xxx.xxx.xxx.xxx
Content-type: application/x-www-form-urlencoded
Content-length: 9

test=true


You could perform another quick test here. Since you already pass a Host
header, you can safely change the protocol version to HTTP 1.1.

If there is any other way of testing please let me know - also is
there a telnet app that you can see the local echo?


You could create a test web form or build a test windows app. As far as

the
local echo goes, I'd thought that any old telnet client can do that?

Cheers,

--
Joerg Jooss
jo*********@gmx .net


Nov 18 '05 #10

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

Similar topics

4
2457
by: Mark J. McGinty | last post by:
Greets, Part of the content of one of our web pages uses wingdings and Chr(239) through Chr(242) (which are little arrow outlines, though that's not really important.) It worked just fine in Windows 2000 Server, but now under Server 2003 it seems that characters above 127 get converted somehow, and our code no longer produces the desired effect.
14
2472
by: Mark B | last post by:
Our webhost (www.usbusinessweb.net) had a W2K IIS5 server crash after a scheduled hard-boot occurred during a ms-security patch install overnight. They couldn't get the server working again so they transferred our site www.orbisoft.com to a new W2003 IIS6 server they set up. That was a week ago. Since that transfer, all of our ASPX pages that use Access2000 databases have stopped working.
3
6915
by: Patrick Fogarty | last post by:
I am programming what is to be a web service client that will use an HTTP-POST to request and retrieve data. The remote server (written in java for what it's worth) requires basic authentication as per RFC 2617 (http://www.faqs.org/rfcs/rfc2617.html). My attempts to authenticate are failing. The server requires the header to be present with the request. For security reasons, it will not reply in any way if the header is not present. ...
0
2819
by: S. Berwanger | last post by:
Hallo, I have a PDA (WinCE 4.2) application which using a XML-Webservice for data exchanging. Both parts are developed with VS2003. When I'm using IIS5.1 the system runs without problems. But if I use an Win2003 Server with IIS6 for my webservice I am receiving the error: Server found request content type to be 'text/html', but expected 'text/xml'
5
2283
by: Terry Strachan | last post by:
Hi, I have an asp.net webapp that works fine on my development machine, win2k/iis5 however, when I move the site across to win2k3 / iis6 i get the following error on postback of any page; *------------------------------------------* Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
1
1776
by: RedStain | last post by:
CONTENTS summary setup error messages compensation attempts comment SUMMARY I have an IIS6.0 server which has recently been upgraded to ASP 2.0 as a result of some of the patch requirements of some products I have installed
2
2088
by: sd_eds | last post by:
I have a startdate-enddate dropdown in asp that works great on my development machine (XP Pro IIS5) but when I port it over to the web server (Win Server 2003, IIS6), I do not get the desired results. What should happen is that the start-end range should show the current week. Instead, the start-end range defaults to 2 months earlier, when the page was deployed. I have added some code below: <% dim begindate, enddate, startdate %>
0
8352
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8780
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7378
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4192
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...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
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
2
2005
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1763
bsmnconsultancy
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.