473,883 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to find help with ASP.NET...

.... when no one here has an answer?

Does MS offer support for its programming products where that support
doesn't cost an arm and a leg, but where you can at least get a response?

I'm not trying to be a jerk, I know that support on these newsgroups is
voluntary, and I'm not jumping on anyone for not being able to answer some of
the questions that are asked here.

It just gets frustrating when a component in a MS product like ASP.NET
doesn't work as specified in the documentation, and there's no other help out
there to be found. Google returns only references to the MS documentation,
and no other ASP.NET site addresses the component in question
(maxrequestleng th) when it's used in an ASPX page itself rather than
web.config. I suppose its because this ability is new in 2.0, but still, the
documentation should have better examples, or give the correct usage. </rant>

Sep 25 '06 #1
10 1957
Most of us know how you feel. Have you tried this web search term...

maxrequestlengt h site:msdn2.micr osoft.com
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"salty" <sa***@discussi ons.microsoft.c omwrote in message
news:31******** *************** ***********@mic rosoft.com...
... when no one here has an answer?

Does MS offer support for its programming products where that support
doesn't cost an arm and a leg, but where you can at least get a response?

I'm not trying to be a jerk, I know that support on these newsgroups is
voluntary, and I'm not jumping on anyone for not being able to answer some
of
the questions that are asked here.

It just gets frustrating when a component in a MS product like ASP.NET
doesn't work as specified in the documentation, and there's no other help
out
there to be found. Google returns only references to the MS
documentation,
and no other ASP.NET site addresses the component in question
(maxrequestleng th) when it's used in an ASPX page itself rather than
web.config. I suppose its because this ability is new in 2.0, but still,
the
documentation should have better examples, or give the correct usage.
</rant>

Sep 25 '06 #2
Trust me, I do understand.

Your options vary depending on your environment.

If you are a Microsoft MSDN member, your support levels are a bit higher
in the newsgroups, but you must remember to use your assigned email suffix
(I'm assuming these busy folks have filters setup to help take care of the
MSDN members promptly). Responses are on a voluntary basis, but I've found
some of the best responses here.

If you are a preferred Microsoft customer, and have access to the Enterprise
portal, then you can open a set number of support tickets with Microsoft
developers. My experience with this has been poor, but your mileage may
vary.

From there, it becomes a balance of what an "arm and a leg" are worth. ;)
The pay-per-call incidents can help out if you have a very complicated question
or process you are working through. They're single charge and remain open
until you have the answer YOU seek. We've opened one of these up for some
tricky MCMS work and were quite satisified.

Finally, one source that may not be QUITE as useful, but has lead me down
the right path for a few occassions is O'Reilly's new code search engine
(http://labs.oreilly.com/code/) and the specialized searches through Google
(specifically Microsoft's (http://www.google.com/microsoft.html), through
Clinton's example can provide the same results if you know the site).

Past that, as I said, I do understand and ask if you find the shining font
of knowledge, to please share. :D

-dl

--
David Longnecker
Web Developer
Wichita Public Schools, USD 259
... when no one here has an answer?

Does MS offer support for its programming products where that support
doesn't cost an arm and a leg, but where you can at least get a
response?

I'm not trying to be a jerk, I know that support on these newsgroups
is voluntary, and I'm not jumping on anyone for not being able to
answer some of the questions that are asked here.

It just gets frustrating when a component in a MS product like ASP.NET
doesn't work as specified in the documentation, and there's no other
help out there to be found. Google returns only references to the MS
documentation, and no other ASP.NET site addresses the component in
question (maxrequestleng th) when it's used in an ASPX page itself
rather than web.config. I suppose its because this ability is new in
2.0, but still, the documentation should have better examples, or give
the correct usage. </rant>

Sep 25 '06 #3
Not that exact search, but similar. It gives me the same pages I've already
read. Three times. :^)

Thanks, Clinton.
"clintonG" wrote:
Most of us know how you feel. Have you tried this web search term...

maxrequestlengt h site:msdn2.micr osoft.com
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"salty" <sa***@discussi ons.microsoft.c omwrote in message
news:31******** *************** ***********@mic rosoft.com...
... when no one here has an answer?

Does MS offer support for its programming products where that support
doesn't cost an arm and a leg, but where you can at least get a response?

I'm not trying to be a jerk, I know that support on these newsgroups is
voluntary, and I'm not jumping on anyone for not being able to answer some
of
the questions that are asked here.

It just gets frustrating when a component in a MS product like ASP.NET
doesn't work as specified in the documentation, and there's no other help
out
there to be found. Google returns only references to the MS
documentation,
and no other ASP.NET site addresses the component in question
(maxrequestleng th) when it's used in an ASPX page itself rather than
web.config. I suppose its because this ability is new in 2.0, but still,
the
documentation should have better examples, or give the correct usage.
</rant>


Sep 25 '06 #4
Do you have a specific question ?

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"salty" <sa***@discussi ons.microsoft.c omwrote in message
news:31******** *************** ***********@mic rosoft.com...
... when no one here has an answer?

Does MS offer support for its programming products where that support
doesn't cost an arm and a leg, but where you can at least get a response?

I'm not trying to be a jerk, I know that support on these newsgroups is
voluntary, and I'm not jumping on anyone for not being able to answer some of
the questions that are asked here.

It just gets frustrating when a component in a MS product like ASP.NET
doesn't work as specified in the documentation, and there's no other help out
there to be found. Google returns only references to the MS documentation,
and no other ASP.NET site addresses the component in question
(maxrequestleng th) when it's used in an ASPX page itself rather than
web.config. I suppose its because this ability is new in 2.0, but still, the
documentation should have better examples, or give the correct usage. </rant>

Sep 25 '06 #5
"Juan T. Llibre" wrote:
Do you have a specific question ?
Yes. I asked it on the 21st, and got no responses.

But since you asked... :) I'll repost it here.

It was titled, "Setting MaxRequestLengt h in the page."

I'm running into the notorious 4MB upload limit. I see where one answer is
to set a higher limit to the httpRunTime MaxRequestLengt h setting in
web.config. However this affects the whole application, and if I'm going to
increase this limit, I'd rather only increase it for the one page that needs
it, the one with the FileUpload controls.

So it was great to see the .NET Framework 2.0 now allegedly supports this in
the page. I tried it (the application is set to the 2.0 Framework,, and
I'm using VS2005). I removed the setting in web.config so that all pages
would default to the 4MB limit. Then, on my page with the FileUpload
controls, I added the following code:

<%@ import Namespace="Syst em.Web.Configur ation" %>

Dim httpConfig As HttpRuntimeSect ion = New HttpRuntimeSect ion

Sub Page_Load()
httpConfig.MaxR equestLength = 8192
... other code to handle the uploading ...
End Sub

However, it doesn't seem to work. I still get the "Maximum request length
exceeded" errors when I upload a file larger than 4MB.

Am I implementing this properly, or am I missing something?

-Robert-

Sep 25 '06 #6
re:
So it was great to see the .NET Framework 2.0 now allegedly supports this in the page.
I'm not so sure that's true.

AFAIK, you can only set MaxRequestLengt h in :

1. Machine.config
2. Root-level Web.config
3. Application-level Web.config
4. Virtual or physical directory-level Web.config

Where did you read that changing the
httpRuntime's MaxRequestLengt h can be done at the page level ?


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"salty" <sa***@discussi ons.microsoft.c omwrote in message
news:7E******** *************** ***********@mic rosoft.com...
"Juan T. Llibre" wrote:
>Do you have a specific question ?

Yes. I asked it on the 21st, and got no responses.

But since you asked... :) I'll repost it here.

It was titled, "Setting MaxRequestLengt h in the page."

I'm running into the notorious 4MB upload limit. I see where one answer is
to set a higher limit to the httpRunTime MaxRequestLengt h setting in
web.config. However this affects the whole application, and if I'm going to
increase this limit, I'd rather only increase it for the one page that needs
it, the one with the FileUpload controls.

So it was great to see the .NET Framework 2.0 now allegedly supports this in
the page. I tried it (the application is set to the 2.0 Framework,, and
I'm using VS2005). I removed the setting in web.config so that all pages
would default to the 4MB limit. Then, on my page with the FileUpload
controls, I added the following code:

<%@ import Namespace="Syst em.Web.Configur ation" %>

Dim httpConfig As HttpRuntimeSect ion = New HttpRuntimeSect ion

Sub Page_Load()
httpConfig.MaxR equestLength = 8192
... other code to handle the uploading ...
End Sub

However, it doesn't seem to work. I still get the "Maximum request length
exceeded" errors when I upload a file larger than 4MB.

Am I implementing this properly, or am I missing something?

-Robert-


Sep 25 '06 #7
How to control the size of file uploaded to the web server?
While uploading a file to the web server, we have a limit of 4MB by default. We can either decrease or increase this value. The
value is set in the key, maxRequestLengt h of machine config file.

There is a maxRequestLengt h limit in the machine.config file (look for the <system.websect ion), in the httpRuntime settings that
you need to alter/raise if you want to accept anything larger than 4Mb. These are the standard settings for the httpRuntime:

<httpRuntime executionTimeou t="90" maxRequestLengt h="4096"
useFullyQualifi edRedirectUrl=" false" minFreeThreads= "8"
minLocalRequest FreeThreads="4" appRequestQueue Limit="100"/>

"salty" <sa***@discussi ons.microsoft.c omwrote in message news:7E******** *************** ***********@mic rosoft.com...
"Juan T. Llibre" wrote:
>Do you have a specific question ?

Yes. I asked it on the 21st, and got no responses.

But since you asked... :) I'll repost it here.

It was titled, "Setting MaxRequestLengt h in the page."

I'm running into the notorious 4MB upload limit. I see where one answer is
to set a higher limit to the httpRunTime MaxRequestLengt h setting in
web.config. However this affects the whole application, and if I'm going to
increase this limit, I'd rather only increase it for the one page that needs
it, the one with the FileUpload controls.

So it was great to see the .NET Framework 2.0 now allegedly supports this in
the page. I tried it (the application is set to the 2.0 Framework,, and
I'm using VS2005). I removed the setting in web.config so that all pages
would default to the 4MB limit. Then, on my page with the FileUpload
controls, I added the following code:

<%@ import Namespace="Syst em.Web.Configur ation" %>

Dim httpConfig As HttpRuntimeSect ion = New HttpRuntimeSect ion

Sub Page_Load()
httpConfig.MaxR equestLength = 8192
... other code to handle the uploading ...
End Sub

However, it doesn't seem to work. I still get the "Maximum request length
exceeded" errors when I upload a file larger than 4MB.

Am I implementing this properly, or am I missing something?

-Robert-

Sep 26 '06 #8
"Juan T. Llibre" wrote:
re:
So it was great to see the .NET Framework 2.0 now allegedly supports this in the page.

I'm not so sure that's true.

[...]

Where did you read that changing the
httpRuntime's MaxRequestLengt h can be done at the page level ?
Here:
http://msdn2.microsoft.com/en-us/lib...estlength.aspx

MaxRequestLengt h is a public property of the HttpRuntimeSect ion Class
described here:
http://msdn2.microsoft.com/en-us/lib...n_members.aspx

Unless I'm completely misunderstandin g what I'm reading, in which case my
complaint about MS's documentation remains.

Sep 26 '06 #9
Thank you, Jon. But I don't want to increase the file upload sizes for the
whole web site, or even for the whole application, just a single page. And
according to the MS documentation for ASP.NET 2.0 (please see the links I
gave in my reply above to Juan), it can be done in the page. Or am I reading
that incorrectly? It sure looks like VB code to me, and not web.config XML
code.

-Robert-
"Jon Paal" wrote:
How to control the size of file uploaded to the web server?
While uploading a file to the web server, we have a limit of 4MB by default. We can either decrease or increase this value. The
value is set in the key, maxRequestLengt h of machine config file.

There is a maxRequestLengt h limit in the machine.config file (look for the <system.websect ion), in the httpRuntime settings that
you need to alter/raise if you want to accept anything larger than 4Mb. These are the standard settings for the httpRuntime:

<httpRuntime executionTimeou t="90" maxRequestLengt h="4096"
useFullyQualifi edRedirectUrl=" false" minFreeThreads= "8"
minLocalRequest FreeThreads="4" appRequestQueue Limit="100"/>

"salty" <sa***@discussi ons.microsoft.c omwrote in message news:7E******** *************** ***********@mic rosoft.com...
"Juan T. Llibre" wrote:
Do you have a specific question ?
Yes. I asked it on the 21st, and got no responses.

But since you asked... :) I'll repost it here.

It was titled, "Setting MaxRequestLengt h in the page."

I'm running into the notorious 4MB upload limit. I see where one answer is
to set a higher limit to the httpRunTime MaxRequestLengt h setting in
web.config. However this affects the whole application, and if I'm going to
increase this limit, I'd rather only increase it for the one page that needs
it, the one with the FileUpload controls.

So it was great to see the .NET Framework 2.0 now allegedly supports this in
the page. I tried it (the application is set to the 2.0 Framework,, and
I'm using VS2005). I removed the setting in web.config so that all pages
would default to the 4MB limit. Then, on my page with the FileUpload
controls, I added the following code:

<%@ import Namespace="Syst em.Web.Configur ation" %>

Dim httpConfig As HttpRuntimeSect ion = New HttpRuntimeSect ion

Sub Page_Load()
httpConfig.MaxR equestLength = 8192
... other code to handle the uploading ...
End Sub

However, it doesn't seem to work. I still get the "Maximum request length
exceeded" errors when I upload a file larger than 4MB.

Am I implementing this properly, or am I missing something?

-Robert-


Sep 26 '06 #10

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

Similar topics

3
2082
by: Mike | last post by:
I'm not sure what to call what I want, but I will describe my intent, hoping that someone will offer a resource for a ready-built solution. I sell construction products to a group of about 50 subcontractors. Some of them have their own websites, but many do not. I want to offer my clients a central site that can host sub-sites, one for each client. All will be under my domain: my-domain.com/customer1 my-domain.com/customer2 etc.
5
1871
by: windandwaves | last post by:
Hi Folk I was wondering if it is possible to find out what people click on, using PHP. For example, I have a PHP page with an email link and some third party links (e.g. www.someone-else.com). I want to know where people go. My own solution would be to make the link not to an email or a third-party website, but to another page along the lines of
2
2107
by: David List | last post by:
I posed a MySQL C API question a few days back here, and got zero answers. I assume it is because this is not the right place to ask such questions. Does anyone here know where I could ask C API questions? I haven't been able to find a mailing list or newsgroup specifically dealing with the MySQL C API. -- Med venlig hilsen / Best regards
15
3345
by: Viviana Vc | last post by:
How can I programatically do the equivalent of the following: cacls "C:\Program Files\test" /T /G Everyone:f ? Thanks, Viv
10
8993
by: MLH | last post by:
I have a database named credifree. I did it with mysql's create command. Yet, I can find no files on my linux box except for a\ directory and a gif file that have the name credifree. Why? What's the name mysql might have made a database file under? Where is it stored? Just curious. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx mlh@appserver mlh $ mysql / -u root -p
4
25724
by: Tom Walker | last post by:
I cannot get the WHERE statement to work correctly unless I use a literal with the LIKE. I want to use a working storage data name so that I can vary the WHERE statement. Example that works: WHERE DSNAME LIKE 'ABC%' Example that does not work:
14
2345
by: Stegano | last post by:
I am learning C Programming after working with Java for 5 years. I want to know where can I find the source files for C language itself. For example strcat is a function, which concatenates two strings. I want to read how this function is implemented in its native form, where can I find its corresponding .c file. I am using gcc version 3.3.1 (Thread model POSIX) on cygwin with Eclipse IDE. A grep on a function name lists many .h and .c...
10
1673
by: Ray Stevens | last post by:
I am attempting to test a VeriSign account and the setup instructions stated that the certs file needed to go into the Windows\System32 folder. I am getting an error from the code-behind assebly stating it cannot find it in the certs chain and is pointing to a path in C:\Program Files\Microsoft Visual Studio 8\Common 7\IDE. Where should I put the certs folder?
0
1415
by: Jim | last post by:
I am trying to tell Python where it can find some modules it will need when embedded in my app. The convenient way would be to plop a .pth file somewhere Python can find it. I found that the doc is wrong when it says this kind of filecan go anywhere on the python path. It is not found if it goes into the python root dir, or python\lib -- the only place I found it would work was in lib\site-packages. So the next question is, how do I...
22
2372
by: Christopher Nelson | last post by:
I have a little menu system which essentially takes HTML like: <div id='foo'></div> and retrieves foo.shtml from the server and inserts it inside the <div>. But sometimes I'd like foo.shtml to look like: <script language='JavaScript'> ...do something AJAX-y </script>
0
9933
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, 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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11118
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10732
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10836
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10407
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 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9564
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7960
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7114
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5982
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.