Pages

Tuesday, December 6, 2011

Scott Hanselman Blog

 

Please verify the following website. It will give you lot of information on the Software development.

http://www.hanselman.com/blog/

I have explored more about following link and it has lot of useful tools for the development effort. Thanks to Scott.

http://www.hanselman.com/blog/ScottHanselmans2011UltimateDeveloperAndPowerUsersToolListForWindows.aspx

Don’t miss them Smile

Thanks,

Gowdhaman

Thursday, November 24, 2011

Configure IIS for large amount of data


IIS have some restriction will able to process only 30000000 bytes(28 MB) of data by default. What will happen if we need to process / handle 2 GB?
IIS will not reply or do any log in windows event or IIS. Use the following steps to solve this kind of problem. 


Steps:
1.       Go to IIS(Internet Information Service)
 
1.       In Http Features section, you will find “Request Filtering”.
2.       Click on the “Request Filtering”, you will get something as follows.

In Action pane, Click on “Edit Feature settings”. You will get the following screen.
 

1.       In Request limits, You can see the Maximum allowed content length 30000000 bytes(default value).
2.       Change Maximum allowed content length to 2147483648 bytes (2 GB).
3.       Click “Ok”
Now you can able to process up to 2 GB of data using IIS.
Web.config / App.config change:
App.config / web.config should be tuned at client side and server side as follows.
<configuration>
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="30000000" />
      </requestFiltering>
    </security>
  </system.webServer>
</configuration>

Reference:
http://social.msdn.microsoft.com/Forums/en/wcf/thread/e6e21132-ad3f-4135-8ab9-77923b099907

Thanks,
Gowdhaman