473,498 Members | 98 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET 2.0 maximum URL length?

Using IIS7, Vista x64, ASP.NET 2.0.

I am getting HTTP 400 "Bad Request" for the following URL:
/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoeD9DJTNhJTVjRG9jd W1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2hyb29tJTVjTXkrRG9 jdW1lbnRzJTVjTXkrTXVzaWMlNWNGcmVuY2glNWNBbWVpbGUlN WNZYW5uK1RpZXJzZW4rLStMYStOb3llZS5tcDM=/SecureTunnel.axd

Here's what makes difference:
- URL length: As soon as I make this URL two chars shorter - HTTP 400 error
goes away. Note that length of the first URL segment - the application name
(HTTPVPNWebPortal) - is irrelevant. App name's length makes no different -
only the rest of the URL does. Also splitting URL into more segments by
adding '/' to it makes no difference either.
- Changing resource extension from .AXD to .HTM makes 400 go away, so looks
like it's an ASP.NET thing. Changing the extension to .ASPX brings error back.

My question is this: is it possible to configure ASP.NET to allow longer
URLs for .ASPX and .AXD resources?

Thank you,
--
Vlad Hrybok
http://UltiDev.com
Apr 30 '07 #1
11 5880
re:
!I am getting HTTP 400 "Bad Request" for the following URL:

Hi, Vlad.

What you're running into is the default 260 character URL limit.

/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoe
D9DJTNhJTVjRG9jdW1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2h yb29tJTVjTXkrRG9jdW1lbnRzJTVjTXkrTXV
zaWMlNWNGcmVuY2glNWNBbWVpbGUlNWNZYW5uK1RpZXJzZW4rL StMYStOb3llZS5tcDM=/SecureTunnel.axd

....is exactly 261 characters long.

The way to change that limit depends on which version of IIS you use.

See the section titled "IIS HTTP GET and POST Limits" in this IIS Insider article:
http://www.microsoft.com/technet/com.../iisi1205.mspx
....for instructions on how to change that limit in IIS 4.0, 5.0 and 6.0.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:79**********************************@microsof t.com...
Using IIS7, Vista x64, ASP.NET 2.0.

I am getting HTTP 400 "Bad Request" for the following URL:
/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoeD9DJTNhJTVjRG9jd W1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2hyb29tJTVjTXkrRG9 jdW1lbnRzJTVjTXkrTXVzaWMlNWNGcmVuY2glNWNBbWVpbGUlN WNZYW5uK1RpZXJzZW4rLStMYStOb3llZS5tcDM=/SecureTunnel.axd

Here's what makes difference:
- URL length: As soon as I make this URL two chars shorter - HTTP 400 error
goes away. Note that length of the first URL segment - the application name
(HTTPVPNWebPortal) - is irrelevant. App name's length makes no different -
only the rest of the URL does. Also splitting URL into more segments by
adding '/' to it makes no difference either.
- Changing resource extension from .AXD to .HTM makes 400 go away, so looks
like it's an ASP.NET thing. Changing the extension to .ASPX brings error back.

My question is this: is it possible to configure ASP.NET to allow longer
URLs for .ASPX and .AXD resources?

Thank you,
--
Vlad Hrybok
http://UltiDev.com


Apr 30 '07 #2
Juan,

According to the article you linked to MaxUrl value of 260 is limited by
URLScan - an add-on tool I have not installed. Besides, I can make the URL
longer than 260 and not get HTTP 400 as long as I make URL end with .HTML,
not ASPX/AXD, which leads me to the conclusion it is ASP.NET, and not IIS
setting that affects the behavior. Are there ASP.NET settings limiting the
length of the URL?

--
Vlad Hrybok
http://UltiDev.com
"Juan T. Llibre" wrote:
re:
!I am getting HTTP 400 "Bad Request" for the following URL:

Hi, Vlad.

What you're running into is the default 260 character URL limit.

/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoe
D9DJTNhJTVjRG9jdW1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2h yb29tJTVjTXkrRG9jdW1lbnRzJTVjTXkrTXV
zaWMlNWNGcmVuY2glNWNBbWVpbGUlNWNZYW5uK1RpZXJzZW4rL StMYStOb3llZS5tcDM=/SecureTunnel.axd

....is exactly 261 characters long.

The way to change that limit depends on which version of IIS you use.

See the section titled "IIS HTTP GET and POST Limits" in this IIS Insider article:
http://www.microsoft.com/technet/com.../iisi1205.mspx
....for instructions on how to change that limit in IIS 4.0, 5.0 and 6.0.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
Apr 30 '07 #3
re:
!According to the article you linked to MaxUrl value of 260 is limited by
!URLScan - an add-on tool I have not installed.

Install URLScan, then.
It's a recommended install for IIS 4.0 and 5.0, anyway.

Download URLScan 2.5 from :
http://www.microsoft.com/downloads/d...displaylang=en

MaxUrl specifies the maximum length of the request URL, not including the query string.

If you include the query string, that limit is 2,083 or 2,048 characters, if you're using IE.

The max length including the request Url *and*
the query string, is a browser feature, not a server feature.

re:
!which leads me to the conclusion it is ASP.NET, and not IIS
!setting that affects the behavior

It's not an ASP.NET setting. It's an IIS setting.

Btw, many users are wary of gobbledygook URLs like the one you're attempting to implement.

Do you *absolutely* need purposely obfuscated, very long, URLs ?
Hackers make use of long URLs to induce buffer overruns in unpatched clients.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:1C**********************************@microsof t.com...
Juan,

According to the article you linked to MaxUrl value of 260 is limited by
URLScan - an add-on tool I have not installed. Besides, I can make the URL
longer than 260 and not get HTTP 400 as long as I make URL end with .HTML,
not ASPX/AXD, which leads me to the conclusion it is ASP.NET, and not IIS
setting that affects the behavior. Are there ASP.NET settings limiting the
length of the URL?

--
Vlad Hrybok
http://UltiDev.com
"Juan T. Llibre" wrote:
>re:
!I am getting HTTP 400 "Bad Request" for the following URL:

Hi, Vlad.

What you're running into is the default 260 character URL limit.

/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoe
D9DJTNhJTVjRG9jdW1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2 hyb29tJTVjTXkrRG9jdW1lbnRzJTVjTXkrTXV
zaWMlNWNGcmVuY2glNWNBbWVpbGUlNWNZYW5uK1RpZXJzZW4r LStMYStOb3llZS5tcDM=/SecureTunnel.axd

....is exactly 261 characters long.

The way to change that limit depends on which version of IIS you use.

See the section titled "IIS HTTP GET and POST Limits" in this IIS Insider article:
http://www.microsoft.com/technet/com.../iisi1205.mspx
....for instructions on how to change that limit in IIS 4.0, 5.0 and 6.0.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/


Apr 30 '07 #4
I still need an answer to the question:
which setting is limiting URL length to 260 right now, with no URLScan
explicitly installed on my IIS7/Vista system?

Also, if it's IIS setting, why is it applied only to AXD and ASPX URLs, but
not to HTML? I would appreciate the explanation of the difference.

Regarding obfuscated URLs, the application acts as an intermediary and has
to pass through URLs as long as target system demands - the URL length
requirement is not up to this system's spec.

--
Vlad Hrybok
http://UltiDev.com
"Juan T. Llibre" wrote:
re:
!According to the article you linked to MaxUrl value of 260 is limited by
!URLScan - an add-on tool I have not installed.

Install URLScan, then.
It's a recommended install for IIS 4.0 and 5.0, anyway.

Download URLScan 2.5 from :
http://www.microsoft.com/downloads/d...displaylang=en

MaxUrl specifies the maximum length of the request URL, not including the query string.

If you include the query string, that limit is 2,083 or 2,048 characters, if you're using IE.

The max length including the request Url *and*
the query string, is a browser feature, not a server feature.

re:
!which leads me to the conclusion it is ASP.NET, and not IIS
!setting that affects the behavior

It's not an ASP.NET setting. It's an IIS setting.

Btw, many users are wary of gobbledygook URLs like the one you're attempting to implement.

Do you *absolutely* need purposely obfuscated, very long, URLs ?
Hackers make use of long URLs to induce buffer overruns in unpatched clients.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:1C**********************************@microsof t.com...
Juan,

According to the article you linked to MaxUrl value of 260 is limited by
URLScan - an add-on tool I have not installed. Besides, I can make the URL
longer than 260 and not get HTTP 400 as long as I make URL end with .HTML,
not ASPX/AXD, which leads me to the conclusion it is ASP.NET, and not IIS
setting that affects the behavior. Are there ASP.NET settings limiting the
length of the URL?

--
Vlad Hrybok
http://UltiDev.com

"Juan T. Llibre" wrote:
re:
!I am getting HTTP 400 "Bad Request" for the following URL:

Hi, Vlad.

What you're running into is the default 260 character URL limit.

/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoe
D9DJTNhJTVjRG9jdW1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2h yb29tJTVjTXkrRG9jdW1lbnRzJTVjTXkrTXV
zaWMlNWNGcmVuY2glNWNBbWVpbGUlNWNZYW5uK1RpZXJzZW4rL StMYStOb3llZS5tcDM=/SecureTunnel.axd

....is exactly 261 characters long.

The way to change that limit depends on which version of IIS you use.

See the section titled "IIS HTTP GET and POST Limits" in this IIS Insider article:
http://www.microsoft.com/technet/com.../iisi1205.mspx
....for instructions on how to change that limit in IIS 4.0, 5.0 and 6.0.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/

Apr 30 '07 #5
For some reason, it didn't register with me that you are using IIS 7.0.
I thought you were using IIS 5 and that's why I suggested URLScan.

Sorry for the confusion.

For IIS 7.0, the MaxUrl property in URLScan was incorporated into its configuration.

See :
http://msdn.microsoft.com/library/de...7492ad2b78.asp

re:
!Also, if it's IIS setting, why is it applied only to AXD and ASPX URLs, but
!not to HTML? I would appreciate the explanation of the difference.

Maybe the request type ?

ASP.NET uses POST. The default for HTML is GET, unless you're POSTing data.

Run this script. It will tell you what IIS 7.0's current default settings are.

Tinker with the settings until you have the length you want.

' Connect to the WMI WebAdministration namespace.
Set objWMIService = GetObject("winmgmts:root\WebAdministration")

' Get the RequestFilteringSection.
Set oRequestFilteringSection = objWMIService.Get( _
"RequestFilteringSection.Path='MACHINE/WEBROOT/APPHOST',Location=''")

' Set a variable to the RequestFilteringSection.RequestLimits property,
' which contains an array of RequestLimitsElement objects.
Set oRequestLimitsElement = oRequestFilteringSection.RequestLimits

' Display the path and list the non-array RequestLimitsElement properties.
WScript.Echo "[Request Limits]"
WScript.Echo "Path: " & oRequestFilteringSection.Path
WScript.Echo "maxAllowedContentLength: " & _
oRequestLimitsElement.maxAllowedContentLength
WScript.Echo "maxUrl: " & oRequestLimitsElement.maxUrl
WScript.Echo "maxQueryString: " & oRequestLimitsElement.maxQueryString
WScript.Echo

' List the contents of the RequestLimitsElement.HeaderLimits.HeaderLimits
' property, which contains an array of HeaderLimitsElement instances.
WScript.Echo vbtab & "[Header Limits]"
For Each oHeaderLimit In oRequestLimitsElement.HeaderLimits.HeaderLimits
WScript.Echo vbtab & "Header: " & oHeaderLimit.Header
WScript.Echo vbtab & "Header size limit: " & oHeaderLimit.sizeLimit
WScript.Echo
Next

For your IIS 7.0 questions, the IIS 7.0 Forums would be a good place to post them.

http://forums.iis.net/default.aspx?GroupID=41

All the IIS 7.0 MVPs hang out there.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:DB**********************************@microsof t.com...
>I still need an answer to the question:
which setting is limiting URL length to 260 right now, with no URLScan
explicitly installed on my IIS7/Vista system?

Also, if it's IIS setting, why is it applied only to AXD and ASPX URLs, but
not to HTML? I would appreciate the explanation of the difference.

Regarding obfuscated URLs, the application acts as an intermediary and has
to pass through URLs as long as target system demands - the URL length
requirement is not up to this system's spec.

--
Vlad Hrybok
http://UltiDev.com
"Juan T. Llibre" wrote:
>re:
!According to the article you linked to MaxUrl value of 260 is limited by
!URLScan - an add-on tool I have not installed.

Install URLScan, then.
It's a recommended install for IIS 4.0 and 5.0, anyway.

Download URLScan 2.5 from :
http://www.microsoft.com/downloads/d...displaylang=en

MaxUrl specifies the maximum length of the request URL, not including the query string.

If you include the query string, that limit is 2,083 or 2,048 characters, if you're using IE.

The max length including the request Url *and*
the query string, is a browser feature, not a server feature.

re:
!which leads me to the conclusion it is ASP.NET, and not IIS
!setting that affects the behavior

It's not an ASP.NET setting. It's an IIS setting.

Btw, many users are wary of gobbledygook URLs like the one you're attempting to implement.

Do you *absolutely* need purposely obfuscated, very long, URLs ?
Hackers make use of long URLs to induce buffer overruns in unpatched clients.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:1C**********************************@microso ft.com...
Juan,

According to the article you linked to MaxUrl value of 260 is limited by
URLScan - an add-on tool I have not installed. Besides, I can make the URL
longer than 260 and not get HTTP 400 as long as I make URL end with .HTML,
not ASPX/AXD, which leads me to the conclusion it is ASP.NET, and not IIS
setting that affects the behavior. Are there ASP.NET settings limiting the
length of the URL?

--
Vlad Hrybok
http://UltiDev.com

"Juan T. Llibre" wrote:

re:
!I am getting HTTP 400 "Bad Request" for the following URL:

Hi, Vlad.

What you're running into is the default 260 character URL limit.

/HTTPVPNWebPortal/62ccc22e-069b-441e-b9f0-83b45e7f4f1e/UdVpnSGFuZGxlcnMvQ292ZXJBcnQuYXNoe
D9DJTNhJTVjRG9jdW1lbnRzK2FuZCtTZXR0aW5ncyU1Y011c2 hyb29tJTVjTXkrRG9jdW1lbnRzJTVjTXkrTXV
zaWMlNWNGcmVuY2glNWNBbWVpbGUlNWNZYW5uK1RpZXJzZW4r LStMYStOb3llZS5tcDM=/SecureTunnel.axd

....is exactly 261 characters long.

The way to change that limit depends on which version of IIS you use.

See the section titled "IIS HTTP GET and POST Limits" in this IIS Insider article:
http://www.microsoft.com/technet/com.../iisi1205.mspx
....for instructions on how to change that limit in IIS 4.0, 5.0 and 6.0.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/


Apr 30 '07 #6
Juan,
thank you for the script. It reported maxUrl set to 4096, not 260.

Regarding difference between the behavior of the HTML URL and ASPX URL, both
were GET requests. I used Fiddler to check whether tweaking headers would
change the outcome, and found that with headers or no headers the result is
the same: HTTP 400 for ASP.NET requests and no "bad request" for HTML
requests. URL and URL only, not type of request or headers, determines
whether I get HTTP 400.

I think these two factors prove conclusively that this is not an IIS
settings limiting the lenght of the URL but some ASP.NET setting, just like I
stated in my initial post. Any ideas?
--
Vlad Hrybok
http://UltiDev.com

May 1 '07 #7
re:
Any ideas?
Fresh out of ideas. Have you posted the question to the IIS 7.0 forums ?

http://forums.iis.net/default.aspx?GroupID=41

All the IIS 7.0 MVPs hang out there.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:56**********************************@microsof t.com...
Juan,
thank you for the script. It reported maxUrl set to 4096, not 260.

Regarding difference between the behavior of the HTML URL and ASPX URL, both
were GET requests. I used Fiddler to check whether tweaking headers would
change the outcome, and found that with headers or no headers the result is
the same: HTTP 400 for ASP.NET requests and no "bad request" for HTML
requests. URL and URL only, not type of request or headers, determines
whether I get HTTP 400.

I think these two factors prove conclusively that this is not an IIS
settings limiting the lenght of the URL but some ASP.NET setting, just like I
stated in my initial post. Any ideas?
--
Vlad Hrybok
http://UltiDev.com

May 1 '07 #8
re:
!>thank you for the script. It reported maxUrl set to 4096, not 260.

There's something odd in this.

The msdn documentation has two pages with the same setting for maxUrl.

http://msdn2.microsoft.com/en-us/library/ms691401.aspx
....says that the default for maxUrl is 260 bytes.

http://msdn.microsoft.com/library/de...7a72fba0c5.asp
also says that the default for maxUrl is 260 bytes.

However, the Technet IIS 7.0 SDK docs say that it's 16K:
http://msdn.microsoft.com/library/en...7492ad2b78.asp

Now, the script tells us that your setting is 4K, so something's fishy.

One more thing:

The ms691401 page says that the info in it is specific to the .NET Framework 3.0,
however, http://msdn2.microsoft.com/en-us/lib...01(vs.90).aspx
( which is Orcas-specific, i.e. .Net Framework 3.5 ) has the same info as ms691401.

All in all, your best bet is to raise the issue in the IIS 7.0 Forums.

http://forums.iis.net/default.aspx?GroupID=41

All IIS MVPs and some of the guys in the IIS 7.0 Development Team patrol that newsgroup.
Hopefully, one of them will have an answer, or can file a bug report.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uR*************@TK2MSFTNGP05.phx.gbl...
re:
>Any ideas?

Fresh out of ideas. Have you posted the question to the IIS 7.0 forums ?

http://forums.iis.net/default.aspx?GroupID=41

All the IIS 7.0 MVPs hang out there.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:56**********************************@microsof t.com...
>Juan,
thank you for the script. It reported maxUrl set to 4096, not 260.

Regarding difference between the behavior of the HTML URL and ASPX URL, both
were GET requests. I used Fiddler to check whether tweaking headers would
change the outcome, and found that with headers or no headers the result is
the same: HTTP 400 for ASP.NET requests and no "bad request" for HTML
requests. URL and URL only, not type of request or headers, determines
whether I get HTTP 400.

I think these two factors prove conclusively that this is not an IIS
settings limiting the lenght of the URL but some ASP.NET setting, just like I
stated in my initial post. Any ideas?
--
Vlad Hrybok
http://UltiDev.com


May 1 '07 #9
Juan, thanks for the info. I noticed that Teched IIS7 article is for the Beta
of IIS7 so it may be obsolete. I don't know how to reconcile supposed maxUrl
default of 260 with my 4K.

I posted the question to IIS7 forum at
https://forums.iis.net/thread/1689747.aspx.

Thank you,
Vlad.
May 1 '07 #10
For those interested,

"The .Net Framework has a restriction of MAX_PATH (260) characters on
physical path
and so asp.net has a similar restriction on urls - there is no way to get
around this restriction.
--------------------------------------------------------------------------------
Anil Ruia
Software Design Engineer
IIS Core Server"

http://forums.iis.net/ShowThread.asp...689855#1689855

May 1 '07 #11
Well, you didn't get your problem solved, but at least you know know why.

;-)

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Vlad Hrybok" <vg*****@newsgroups.nospamwrote in message
news:E3**********************************@microsof t.com...
For those interested,

"The .Net Framework has a restriction of MAX_PATH (260) characters on
physical path
and so asp.net has a similar restriction on urls - there is no way to get
around this restriction.
--------------------------------------------------------------------------------
Anil Ruia
Software Design Engineer
IIS Core Server"

http://forums.iis.net/ShowThread.asp...689855#1689855

May 1 '07 #12

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

Similar topics

8
4714
by: Hal Vaughan | last post by:
Is there a maximum length for Javascript program lines? What about strings? Is there a limit on string length? I found some references that said the maximum string length was 256 characters,...
0
1673
by: John G | last post by:
How can I Programmatically access maximum path, file, and sum of both lengths? I am using VB.NET 2003. The PathTooLongException indicates that a path < 248 characters, filename < 260...
3
4998
by: Dave Crypto | last post by:
Hi There, SUMMARY: I need to know what the actual maximum date limit possible on a row of a MYSQL database. MORE DETAILS: For example, does a MYSQL database only allow 4032 bytes of data...
2
28520
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
12
1446
by: Steve R. Hastings | last post by:
I was looking at a Python function to find the maximum from a list. The original was more complicated; I simplified it. The built-in max() function can replace the simplified example, but not the...
1
9818
by: Alan Foxmore | last post by:
Hello all, Is it possible to use String.Format() to specify a maximum length for a formatted item? For example, let's say I have: String.Format("{0}", "FREDDY"); How can I specify that the...
3
21979
by: hug | last post by:
The valid character set for the ID= attribute of html tags is listed here (http://www.htmlhelp.com/reference/html40/attrs.html) but I am having difficulty finding the maximum allowable length of...
7
64785
by: Martin Pöpping | last post by:
Hello, does a String in C# have a maximum length? I tried to write a ToString Method of my class containing a hashtable. At the beginning of the method i defined a String "ret". In every...
0
1648
by: Ramu528 | last post by:
Friends, I am working on excel sheet. i populated gridview with excel sheet data. the gridview has one column. have to find out the maximum length of String in that column. For example:...
0
7124
marktang
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,...
0
6998
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...
0
7163
Oralloy
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,...
1
6884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7375
tracyyun
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...
1
4904
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...
0
4586
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...
0
3090
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...
0
1416
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 ...

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.