My Cart (0)  |  My Orders  |  My Downloads  |  My Auction  |  My Account  |  Help


Login |Register        Search

Settings in dotnetnuke web.config file

                Print      Add To Favorite     Add To Watch List     Contact Author

Creator: host   8/27/2012 4:48:28 AM    Author: Sibabrata Dash   Source: http://www.mindfiresolutions.com/Config-file-settings-in-DotNetNuke-Website-1310.php   Views: 2789    0    0  
Tags:
Dotnetnuke Settings Web.config dnn config

There are lots of settings present in web.config file of dotnetnuke website which needs to be modified according to the  requirement.
 
Here I am explaining a few:

1. Decryption method:
 
<system.web>
        <machineKey validationKey="D19225F094CADDC99D298B5549EA1575572F483E" decryptionKey="E2FD0052F2BA2A3A67F791099FA459F77E3FC96B8D6B314B" decryption="3DES" validation="SHA1" />
</system.web>
In the machinekey tag the decryption method and decryption key is mentioned. This set automatically done while we setup a dnn site.
This is used for decrypting the user password. So this settings is required while we are moving a complete website or db to another location.
2. Maxrequestlength:
 
<system.web>
<httpRuntime maxRequestLength="8192" />
</system.web>
 
Here maxRequestLength is referring to the maximum size of file you can upload in dnn website. By default it is set as 8 MB. If require then you can increase the file upload size.
 
3. Debug settings:
 
<system.web>
<compilation debug="false" strict="false">
</system.web>
 
In dnn website the debug property is by default false. If you wants to debug your custom module then you can set it to true.
And remember if you are moving your whole development website to production server, you should revert back the debug property to false.

Rating People: 17   Average Rating:     

     DnnModule.com is built to provide DNN quality modules and DNN skins, some of them are free, some not. We wish these stuffs (free or not ) can be useful to you.

     Besides that, we also provide a full range of professional services, ranging from web site build, seo, system management, administration, support, senior consultancy and security services. We act as if your development project or network was ours, with care and respect. We are not satisfied until it works the way you want it to, and we don't silently ignore found issues as somebody else's problem.