Hi!
I get HTTP/1.1 400 Bad Request when I try to access a aspx-page running on
server 2003 SP1 from internet explorer 6 running on the same machine.
Here is the URL I am using:
http://www.myserver.co m/20th-Century-Design/1900-talsdesign/Interior-design/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/Modern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-chair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.aspx
If I reduce the length of the URL below 260 bytes, then I get a page missing
error (which is good, since it indicates that it passes through whatever
check is preventing it from working)
I get the impression that the aspx-engine never kicks in and that the 400
response is generated from within IIS. As far as I know an URL should be
able to be over 2k bytes.
I know that the URLScan utility (which is not installed) has a limitation on
the URL on 260 bytes...
the URL has been URL-Encoded (Server.URLEnco de) so no invalid characters
should be in the URL. (I get the same error if I remove the '-character)
/Håkan 6 3573
long url's usually have long arguments. you are probably hitting limits on
the max length of a directory name or filename (255).
-- bruce (sqlwork.com)
"Håkan" <no***@nowhere. comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
Hi!
I get HTTP/1.1 400 Bad Request when I try to access a aspx-page running on
server 2003 SP1 from internet explorer 6 running on the same machine.
Here is the URL I am using:
http://www.myserver.co m/20th-Century-Design/1900-talsdesign/Interior-design/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/Modern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-chair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.aspx
If I reduce the length of the URL below 260 bytes, then I get a page
missing error (which is good, since it indicates that it passes through
whatever check is preventing it from working)
I get the impression that the aspx-engine never kicks in and that the 400
response is generated from within IIS. As far as I know an URL should be
able to be over 2k bytes.
I know that the URLScan utility (which is not installed) has a limitation
on the URL on 260 bytes...
the URL has been URL-Encoded (Server.URLEnco de) so no invalid characters
should be in the URL. (I get the same error if I remove the '-character)
/Håkan
It is not a real path on the disk. I am using Context.Rewrite Path(), so the
path has nothing to do with the physical layout of the disk. The file
requested does not even exist as a physical file on the file system, and it
works fine as long as the request does not go over 260 bytes
/H
"bruce barker (sqlwork.com)" <b_************ *************@s qlwork.comwrote
in message news:eR******** ******@TK2MSFTN GP05.phx.gbl...
long url's usually have long arguments. you are probably hitting limits on
the max length of a directory name or filename (255).
-- bruce (sqlwork.com)
"Håkan" <no***@nowhere. comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
>Hi!
I get HTTP/1.1 400 Bad Request when I try to access a aspx-page running on server 2003 SP1 from internet explorer 6 running on the same machine.
Here is the URL I am using:
http://www.myserver.co m/20th-Century-Design/1900-talsdesign/Interior-design/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/Modern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-chair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.aspx
If I reduce the length of the URL below 260 bytes, then I get a page missing error (which is good, since it indicates that it passes through whatever check is preventing it from working)
I get the impression that the aspx-engine never kicks in and that the 400 response is generated from within IIS. As far as I know an URL should be able to be over 2k bytes. I know that the URLScan utility (which is not installed) has a limitation on the URL on 260 bytes...
the URL has been URL-Encoded (Server.URLEnco de) so no invalid characters should be in the URL. (I get the same error if I remove the '-character)
/Håkan
Check the metabase values for these settings:
AspMaxRequestEn tityAllowed
MaxRequestEntit yAllowed
And also check the registry key
HKLM/CurrentControlS et/Services/HTTP/Parameters
for these values:
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
Mark
"Håkan" <no***@nowhere. comwrote in message
news:er******** *****@TK2MSFTNG P05.phx.gbl:
It is not a real path on the disk. I am using Context.Rewrite Path(), so
the
path has nothing to do with the physical layout of the disk. The file
requested does not even exist as a physical file on the file system, and
it
works fine as long as the request does not go over 260 bytes
/H
"bruce barker (sqlwork.com)" <b_************ *************@s qlwork.com>
wrote
in message news:eR******** ******@TK2MSFTN GP05.phx.gbl...
long url's usually have long arguments. you are probably hitting
limits on
the max length of a directory name or filename (255).
-- bruce (sqlwork.com)
"Håkan" <no***@nowhere. comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
Hi!
I get HTTP/1.1 400 Bad Request when I try to access a aspx-page
running
on server 2003 SP1 from internet explorer 6 running on the same
machine.
>
Here is the URL I am using:
http://www.myserver.com/20th-Century...n/Interior-des
ign/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/M
odern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-c
hair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.as
px
>
If I reduce the length of the URL below 260 bytes, then I get a page
missing error (which is good, since it indicates that it passes
through
whatever check is preventing it from working)
I get the impression that the aspx-engine never kicks in and that the
400
response is generated from within IIS. As far as I know an URL should
be
able to be over 2k bytes.
I know that the URLScan utility (which is not installed) has a
limitation
on the URL on 260 bytes...
the URL has been URL-Encoded (Server.URLEnco de) so no invalid
characters
should be in the URL. (I get the same error if I remove the
'-character)
>
/Håkan
Here are the values:
METABASE
AspMaxRequestEn tityAllowed="20 4800"
MaxRequestEntit yAllowed [Does not exist in the metabase]
REGISTRY
None of these parameters exist under the key:
HKLM/System/CurrentControlS et/Services/HTTP/Parameters
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
Nothing of this seams to limit the URL to 260 bytes...
/H
"M. Burnett" <mb@xato.netwro te in message
news:Oh******** ******@TK2MSFTN GP02.phx.gbl...
Check the metabase values for these settings:
AspMaxRequestEn tityAllowed
MaxRequestEntit yAllowed
And also check the registry key
HKLM/CurrentControlS et/Services/HTTP/Parameters
for these values:
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
Mark
"Håkan" <no***@nowhere. comwrote in message
news:er******** *****@TK2MSFTNG P05.phx.gbl:
>It is not a real path on the disk. I am using Context.Rewrite Path(), so the path has nothing to do with the physical layout of the disk. The file requested does not even exist as a physical file on the file system, and it works fine as long as the request does not go over 260 bytes
/H
"bruce barker (sqlwork.com)" <b_************ *************@s qlwork.com> wrote in message news:eR******** ******@TK2MSFTN GP05.phx.gbl...
long url's usually have long arguments. you are probably hitting
limits on
the max length of a directory name or filename (255).
-- bruce (sqlwork.com)
"Håkan" <no***@nowhere. comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
>Hi!
I get HTTP/1.1 400 Bad Request when I try to access a aspx-page
running
>on server 2003 SP1 from internet explorer 6 running on the same
machine.
>> Here is the URL I am using:
http://www.myserver.com/20th-Century...n/Interior-des ign/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/M odern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-c hair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.as px
>> If I reduce the length of the URL below 260 bytes, then I get a page missing error (which is good, since it indicates that it passes
through
>whatever check is preventing it from working)
I get the impression that the aspx-engine never kicks in and that the
400
>response is generated from within IIS. As far as I know an URL should
be
>able to be over 2k bytes. I know that the URLScan utility (which is not installed) has a
limitation
>on the URL on 260 bytes...
the URL has been URL-Encoded (Server.URLEnco de) so no invalid
characters
>should be in the URL. (I get the same error if I remove the
'-character)
>> /Håkan
>
There are various API's that have hard-coded path limits of 260 bytes.
It might just be that IIS is limiting the path based on the buffer
allocated for those API calls. It might just be easier to shorten your
paths.
Mark
"Håkan" <no***@nowhere. comwrote in message
news:ul******** ******@TK2MSFTN GP04.phx.gbl:
Here are the values:
METABASE
AspMaxRequestEn tityAllowed="20 4800"
MaxRequestEntit yAllowed [Does not exist in the metabase]
REGISTRY
None of these parameters exist under the key:
HKLM/System/CurrentControlS et/Services/HTTP/Parameters
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
Nothing of this seams to limit the URL to 260 bytes...
/H
"M. Burnett" <mb@xato.netwro te in message
news:Oh******** ******@TK2MSFTN GP02.phx.gbl...
Check the metabase values for these settings:
AspMaxRequestEn tityAllowed
MaxRequestEntit yAllowed
And also check the registry key
HKLM/CurrentControlS et/Services/HTTP/Parameters
for these values:
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
Mark
"Håkan" <no***@nowhere. comwrote in message
news:er******** *****@TK2MSFTNG P05.phx.gbl:
It is not a real path on the disk. I am using Context.Rewrite Path(),
so
the
path has nothing to do with the physical layout of the disk. The
file
requested does not even exist as a physical file on the file system,
and
it
works fine as long as the request does not go over 260 bytes
/H
"bruce barker (sqlwork.com)"
<b_************ *************@s qlwork.com>
wrote
in message news:eR******** ******@TK2MSFTN GP05.phx.gbl...
long url's usually have long arguments. you are probably hitting
limits on
the max length of a directory name or filename (255).
-- bruce (sqlwork.com)
"Håkan" <no***@nowhere. comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
Hi!
I get HTTP/1.1 400 Bad Request when I try to access a aspx-page
running
on server 2003 SP1 from internet explorer 6 running on the same
machine.
>
Here is the URL I am using:
>
http://www.myserver.com/20th-Century...n/Interior-des
>
ign/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/M
>
odern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-c
>
hair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.as
px
>
If I reduce the length of the URL below 260 bytes, then I get a
page
missing error (which is good, since it indicates that it passes
through
whatever check is preventing it from working)
I get the impression that the aspx-engine never kicks in and that
the
400
response is generated from within IIS. As far as I know an URL
should
be
able to be over 2k bytes.
I know that the URLScan utility (which is not installed) has a
limitation
on the URL on 260 bytes...
the URL has been URL-Encoded (Server.URLEnco de) so no invalid
characters
should be in the URL. (I get the same error if I remove the
'-character)
>
/Håkan
Hello All,
This is not an IIS limitation. It is an ASP.NET limitation (and ASPI.NET, I
believe, inherits it from the CLR.) Unfortunately, it is hard coded.
Thank you,
-Wade A. Hilmo,
-Microsoft
"M. Burnett" <mb@xato.netwro te in message
news:uc******** ******@TK2MSFTN GP03.phx.gbl...
There are various API's that have hard-coded path limits of 260 bytes.
It might just be that IIS is limiting the path based on the buffer
allocated for those API calls. It might just be easier to shorten your
paths.
Mark
"Håkan" <no***@nowhere. comwrote in message
news:ul******** ******@TK2MSFTN GP04.phx.gbl:
Here are the values:
METABASE
AspMaxRequestEn tityAllowed="20 4800"
MaxRequestEntit yAllowed [Does not exist in the metabase]
REGISTRY
None of these parameters exist under the key:
HKLM/System/CurrentControlS et/Services/HTTP/Parameters
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
Nothing of this seams to limit the URL to 260 bytes...
/H
"M. Burnett" <mb@xato.netwro te in message
news:Oh******** ******@TK2MSFTN GP02.phx.gbl...
Check the metabase values for these settings:
AspMaxRequestEn tityAllowed
MaxRequestEntit yAllowed
>
And also check the registry key
HKLM/CurrentControlS et/Services/HTTP/Parameters
for these values:
>
MaxRequestBytes
UrlSegmentMaxLe ngth
UrlSegmentMaxCo unt
MaxFieldLength
>
>
>
Mark
>
>
>
>
>
"Håkan" <no***@nowhere. comwrote in message
news:er******** *****@TK2MSFTNG P05.phx.gbl:
>
>It is not a real path on the disk. I am using Context.Rewrite Path(),
so
>the
>path has nothing to do with the physical layout of the disk. The
file
>requested does not even exist as a physical file on the file system,
and
>it
>works fine as long as the request does not go over 260 bytes
>>
>/H
>>
>"bruce barker (sqlwork.com)"
<b_************ *************@s qlwork.com>
>wrote
>in message news:eR******** ******@TK2MSFTN GP05.phx.gbl...
>>
long url's usually have long arguments. you are probably hitting
>limits on
the max length of a directory name or filename (255).
>
-- bruce (sqlwork.com)
>
>
>
"Håkan" <no***@nowhere. comwrote in message
news:u7******** ******@TK2MSFTN GP04.phx.gbl...
>>
>Hi!
>>
>I get HTTP/1.1 400 Bad Request when I try to access a aspx-page
>running
>on server 2003 SP1 from internet explorer 6 running on the same
>machine.
>>
>Here is the URL I am using:
>>
>>
>>
http://www.myserver.com/20th-Century...n/Interior-des
>>
ign/Mid-century-modern/midcentury/Mid-century-design/midcentury-modern/M
>>
odern-Design/Modernism/Vintage-design/Img/508_1_632651758 409835000/Arm-c
>>
hair-Barbera-d'Argento-Designed-by-Paolo-Pallucco-for-Pallucco-Italia.as
>px
>>
>If I reduce the length of the URL below 260 bytes, then I get a
page
>missing error (which is good, since it indicates that it passes
>through
>whatever check is preventing it from working)
>>
>I get the impression that the aspx-engine never kicks in and that
the
>400
>response is generated from within IIS. As far as I know an URL
should
>be
>able to be over 2k bytes.
>I know that the URLScan utility (which is not installed) has a
>limitation
>on the URL on 260 bytes...
>>
>the URL has been URL-Encoded (Server.URLEnco de) so no invalid
>characters
>should be in the URL. (I get the same error if I remove the
>'-character)
>>
>/Håkan
>>
>
>>
>
>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: turnit \(removethis\) |
last post by:
I have a login form that uses the post method to carry the
information to the next page. The form works just fine in
ie6.0, but fails in mozilla and fails in ie5.2 on a
mac. "HTTP/1.1 400 Bad Request" was the original error msg
now that I reinstalled iislockdown and urscan I get "The
parameter is incorrect." If I use the get method with this...
|
by: PerryG |
last post by:
We have a .NET 1.1 client which is sending a gzipped soap request using
HttpWebRequest to an Apache server. The Apache server is using a the
'mod_deflate' server to decompress the incoming message, and to also compress
the response (GZIP).
The mod_deflate filter requires the 'Content-Length' header contained within
the incoming request to...
|
by: Paul M |
last post by:
Hi
Sorry if this is posted in the wrong group but I'm brand new to this
area. Basically I've got to post some XML documents to an external
server using HTTP web request (POST, not GET) and be able to receive
files back. I've got the XML file generated and checked over, but I
just dont know how to go about the post process. I've got a feeling...
|
by: Stig-Arne Basberg |
last post by:
I am working on a project where I want to send at file from a Win CE device
to a receiving PC using the HTTP protocol.
For testing purpose I made a simple test app on my PC (code below).
The problem is that only the first 8760 bytes of the file is transfered. I
have tried several times and the received file is always 8760 bytes.
I have...
|
by: Kai Huener |
last post by:
Hello All,
I want to send a HttpRequest to a program running on http://localhost:8080
on my computer. I want to communicate with this programm by sending an
XML-Message and the Response will be also XML. This seams not to be very
difficult, but I cannot handle it.
How can I create such a HTTP-Connection with C#?
Are there any ideas?
| |
by: Maximus |
last post by:
Hi everyone,
I was wondering if anybody could help me with sending xml as part of an
http post. Any help will be greatly appreciated.
Thanks.
|
by: phplasma |
last post by:
Hey,
I am currently attempting to implement a multi-threaded C# socket,
using SSL (.pem file/certification/private key combo) server using
Visual Studio C# Express.
I have successfully made the client application establish a connection,
and send data, which appears in plain, de-crypted text on the server -
this works.
|
by: Eric |
last post by:
I'm trying to test code to post xml to a web page in anticipation of a new
project. I wanted to try a simple test first, but I get a (405) Method Not
Allowed error no matter what I try.
I have tried posting to the same machine as well as a different machine.
Anonymous access is enabled for the virtual directory.
I have added Allow POST for...
|
by: shlim |
last post by:
Currently I'm using VB.Net to perform a http/https multipart form post to a servlet. I'm able to perform the post using HttpWebrequest via GetRequestStream(). However, the servlet returned me with "The remote server returned an error: (500) Internal Server Error". Obviously, this means that I have not posted all the parameters as the servlet...
|
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...
|
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. ...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |