Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Lo..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IPP problem.  
Author Message
richardshea

External


Since: Nov 26, 2003
Posts: 4



(Msg. 1) Posted: Thu Nov 27, 2003 1:00 am
Post subject: Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Long" ?
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi - I have just extended an existing URL to be 312 characters long
and now IIS 5 on W2K (SP2) is giving me a 414 in response to it. The
URL looks like this:

http://192.168.10.4/ABC/ABCReportingGraphicInHTML%2Easp%3FREPSTYLE
%3DpercentageTimeAnalysis%26REPTYPE%3Dtimebyactivity%26GRVAUTOID%3
D3%26CCEAUTOID%3D%2D1%26ACTAUTOID%3D%26REAAUTOID%3D%26SROAUTOID%3D
%2D1%26ISOTARGETFROMDATE%3D19990101%26ISOTARGETTODATE%3D20031231%2
6DDMMYYFROMDATE%3D01%2D01%2D1999%26DDMMYYTODATE%3D31%2D12%2D2003%2
6GENERICROLEDESC%3DFront+Line+Office%26COSTCENTREDESC%3DAll+Cost+Centres

Can anyone explain why the limit is said to be 128Kb but it's blowing
up on this ? I make 312 chars to be about 2.5Kb.

Having read the archives I know there is a means of reducing that
limit for security purposes but that techinque is not in place on this
server.

If anyone could provide some info I'd be grateful.

regards

richard shea.

 >> Stay informed about: Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Lo.. 
Back to top
Login to vote
jerryiii

External


Since: Aug 26, 2003
Posts: 171



(Msg. 2) Posted: Fri Nov 28, 2003 3:17 am
Post subject: Re: Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Long" ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

IE is limited to 2048 characters in the URI, that might be your problem...
you should use POST method (or GET method with request body) if you're
sending more than few characters to the server...

Jerry

"Richard Shea" <richardshea RemoveThis @fastmail.fm> wrote in message
news:282f826a.0311262200.3666dffe@posting.google.com...
 > Hi - I have just extended an existing URL to be 312 characters long
 > and now IIS 5 on W2K (SP2) is giving me a 414 in response to it. The
 > URL looks like this:
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://192.168.10.4/ABC/ABCReportingGraphicInHTML%2Easp%3FREPSTYLE</font" target="_blank">http://192.168.10.4/ABC/ABCReportingGraphicInHTML%2Easp%3FREPSTYLE</font</a>>
 > %3DpercentageTimeAnalysis%26REPTYPE%3Dtimebyactivity%26GRVAUTOID%3
 > D3%26CCEAUTOID%3D%2D1%26ACTAUTOID%3D%26REAAUTOID%3D%26SROAUTOID%3D
 > %2D1%26ISOTARGETFROMDATE%3D19990101%26ISOTARGETTODATE%3D20031231%2
 > 6DDMMYYFROMDATE%3D01%2D01%2D1999%26DDMMYYTODATE%3D31%2D12%2D2003%2
 > 6GENERICROLEDESC%3DFront+Line+Office%26COSTCENTREDESC%3DAll+Cost+Centres
 >
 > Can anyone explain why the limit is said to be 128Kb but it's blowing
 > up on this ? I make 312 chars to be about 2.5Kb.
 >
 > Having read the archives I know there is a means of reducing that
 > limit for security purposes but that techinque is not in place on this
 > server.
 >
 > If anyone could provide some info I'd be grateful.
 >
 > regards
 >
 > richard shea.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Lo.. 
Back to top
Login to vote
richardshea

External


Since: Nov 26, 2003
Posts: 4



(Msg. 3) Posted: Tue Dec 02, 2003 12:04 am
Post subject: Re: Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Long" ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi All - Thanks to you all for your responses and I'm sorry I haven't
followed up before now. Certainly what Wade says about limits was my
understanding (I'm using IIS5 and I understood I was good for 128KB on
that basis). I didn't know about MAX_PATH but surely that only relates
to that part of the URL before the first question mark ? That is it's
a limitation of the file system on which ISS is running ?

Anyway the good news is this I have resolved this issue - after
reading the various posts I decided it must be something I was doing
and sure enough it seems so. The link is generated from an ASP script
and when the link is generated the whole URL was passed through a
VBScript function 'urlencode'. My experience here makes me think that
is a bad idea and that I should only have been applying URL encode to
that part of the URL to the right of the questions mark, ie the
parameter string. Certainly when I stopped 'urlencode'ing the whole
string the problem went away.

If anyone's got any further input on this I would be glad to hear as I
don't really feel I solved it so much as 'pushed it away'.
Nevertheless it is the case that the problem has gone away.

Thanks again for your help.

regards

richard shea.


"Jerry III" <jerryiii DeleteThis @hotmail.com> wrote in message news:<u9iZbgYtDHA.2388 DeleteThis @TK2MSFTNGP12.phx.gbl>...
 > IE is limited to 2048 characters in the URI, that might be your problem...
 > you should use POST method (or GET method with request body) if you're
 > sending more than few characters to the server...
 >
 > Jerry
 >
 > "Richard Shea" <richardshea DeleteThis @fastmail.fm> wrote in message
 > news:282f826a.0311262200.3666dffe@posting.google.com...
  > > Hi - I have just extended an existing URL to be 312 characters long
  > > and now IIS 5 on W2K (SP2) is giving me a 414 in response to it. The
  > > URL looks like this:
  > >
<font color=green>  > > <a style='text-decoration: underline;' href="http://192.168.10.4/ABC/ABCReportingGraphicInHTML%2Easp%3FREPSTYLE</font" target="_blank">http://192.168.10.4/ABC/ABCReportingGraphicInHTML%2Easp%3FREPSTYLE</font</a>>
  > > %3DpercentageTimeAnalysis%26REPTYPE%3Dtimebyactivity%26GRVAUTOID%3
  > > D3%26CCEAUTOID%3D%2D1%26ACTAUTOID%3D%26REAAUTOID%3D%26SROAUTOID%3D
  > > %2D1%26ISOTARGETFROMDATE%3D19990101%26ISOTARGETTODATE%3D20031231%2
  > > 6DDMMYYFROMDATE%3D01%2D01%2D1999%26DDMMYYTODATE%3D31%2D12%2D2003%2
  > > 6GENERICROLEDESC%3DFront+Line+Office%26COSTCENTREDESC%3DAll+Cost+Centres
  > >
  > > Can anyone explain why the limit is said to be 128Kb but it's blowing
  > > up on this ? I make 312 chars to be about 2.5Kb.
  > >
  > > Having read the archives I know there is a means of reducing that
  > > limit for security purposes but that techinque is not in place on this
  > > server.
  > >
  > > If anyone could provide some info I'd be grateful.
  > >
  > > regards
  > >
  > > richard shea.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Len(URL) = 312 but we get "HTTP 414 - Request - URI Too Lo.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTTP/1.1 400 Bad Request - I have a problem with an automated system that gets updates from a web server. I have used this system for a few years now working just fine until I updated the web server to windows 2003. It is a get command that this error happens on. I ran net....

HTTP/1.1 400 Bad Request - 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 r...

IIS 6 HTTP GET Request Fails if headers have LF instead of.. - I have the following problem: I submit GET requests to an IIS 6 server. I have specific headers that are separated by linefeeds (char 10, \r). Under IIS 5, these requests are processed fine. But under IIS6, it is ignoring these headers. To get things to...

Custom error pages - how to access full HTTP request string - When a page is requested and not found (common error 404), we can get control back at IIS level and, for instance, trough an ASP page, provide the user with some hints to redirect his request. Unfortunately, the custom error page (ASP) is not given any....

SSL request problems - Hi, I have a problem regarding the response i receive after i send an HTTPS request. Instead of getting a response which im expecting, im getting response with 'HTML' content in the body. The strange thing is im sending the same request twice to the sam...
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]