ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1727
Number of posts: 3292

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Problem with application in 2.0 (with 3.5 installed) Posted by kruti kansara on 5 Dec 2008 at 2:07 AM
Hi,

I have windows server 2003 and .NET 2.0. Earlier i had installed SQL Server 2005. I have a utility for file upload/download developed in .NET 2.0. It was working well and i set upload limit to 1GB by changing in machine.config file as follows.

"<configuration>
<system.web>
<httpRuntime executionTimeout="2400" maxRequestLength="1073741824"
</system.web>
</configuration>"

Now i have to change my server with following configuration.
-Windows server 2003
-.NET 2.0
-SQL Server 2008
-.NET 3.5 (need for SQL Server 2008)

Now, i want to change upload limit in machine.config file as earlier (as above). But by placing such text in machine.config file, it gives an error in my .NET application.
Further more, by changing 'AspMaxRequestEntityAllowed' in metabase.xml file, IIS Service failed to resume.

Anybody have any idea!!?

Thanks in advance
Report
Re: Problem with application in 2.0 (with 3.5 installed) Posted by Brutes on 14 Jan 2009 at 4:39 AM
Hi,

Did you try to maintain these values in the config file of your application?




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.