Solved

URI too long - IIS

Posted on 2004-04-25
2
587 Views
Last Modified: 2008-03-06
Hi,
Could some one tell me what is the maximum length for the URL, which IIS permits.
If the URL exceeds a certain limit we get the 'URI too long' error.
Is there any way we can reconfigure IIS to increase the maximum length??
Thanks in advance...
0
Comment
Question by:lavan_8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Expert Comment

by:shalomc
ID: 10915733
You may have a problem with browser support for very long URLs.
Explorer supports up to 2K.

ShalomC
0
 
LVL 1

Accepted Solution

by:
dazzled1 earned 50 total points
ID: 10916451
Passing a URL (URI) via a form and using the GET method is a good way of getting around URL length restrictions...

You can post much longer urls using this method.


eg.


<FORM name="frmMyForm" action="myPage.htm" method="GET">
<INPUT type="HIDDEN" name="myVar1" value="Hello">
<INPUT type="HIDDEN" name="myVar2" value="Lavan">
<INPUT type="HIDDEN" name="myVar3" value="8">
</FORM>


Then when you come to place your link use javascript to submit the form.

EG.

<A href="javascript: document.frmMyForm.submit;">My Link</A>


This would take you to

/myPage.htm?myVar1=hello&myVar2=Lavan&myVar3=8


0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.

626 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