**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 11 2312
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
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********@hotmail.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
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
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*********@gmx.net> wrote in message
news:ez**************@TK2MSFTNGP11.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
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
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*********@gmx.net> wrote in message
news:%2***************@TK2MSFTNGP12.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
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
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*********@gmx.net> wrote in message
news:%2****************@tk2msftngp13.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
I woudl start by trapping errors (using either customErrors tags or
Application_OnError). 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.com> a écrit dans le message de
news:eL**************@TK2MSFTNGP09.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*********@gmx.net> wrote in message news:%2***************@TK2MSFTNGP12.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
Thanks Patrice,
I have been trying to get this to work, but the requests do not seem to be
geting as far as .net??!!
"Patrice" <no****@nowhere.com> wrote in message
news:Ov**************@TK2MSFTNGP09.phx.gbl... I woudl start by trapping errors (using either customErrors tags or Application_OnError). 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.com> a écrit dans le message de news:eL**************@TK2MSFTNGP09.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*********@gmx.net> wrote in message news:%2***************@TK2MSFTNGP12.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
OK, finally problem has been solved, the solution is .net based, the problem
is the tightend security in IIS6 (as far as i can tell & I am no expert!!)
Here goes (in my laymans terms!)
It turns out that the data in the POST body being sent across by our
suppliers contains non-encoded XML tags, IIS6 sees these as potentially
harmful scripts and returns 500 internal server error. (IIS5 does not!)
the workaround...disable request validation on the page in question by
adding [ValidateRequest="false"] (without []) to the end of your <% Page
Language=.... .... ... ValidateRequest="false" %>
Anyhow thanks everyone for your help in solving this issue that has been
bugging me on and off for 6 months!!!!, it has all helped.
"Ed Dearlove" <ed@nohost.com> wrote in message
news:eP**************@TK2MSFTNGP11.phx.gbl... **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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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;
...
|
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...
|
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...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |