error in page ChangePassword

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/26/2012 12:28:07 PM
Gravatar
Total Posts 17

error in page ChangePassword

Server Error in '/' Application.

Invalid property specification for TextStrengthDescriptions property. Must be a string delimited with ';', contain a minimum of 2 entries, and a maximum of 10.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Invalid property specification for TextStrengthDescriptions property. Must be a string delimited with ';', contain a minimum of 2 entries, and a maximum of 10.

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
 

[ArgumentException: Invalid property specification for TextStrengthDescriptions property. Must be a string delimited with ';', contain a minimum of 2 entries, and a maximum of 10.] AjaxControlToolkit.PasswordStrength.set_TextStrengthDescriptions(String value) +410 mojoPortal.Web.UI.Pages.ChangePassword.PopulateLabels() +1549 System.Web.UI.Control.OnLoad(EventArgs e) +132 mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +21 System.Web.UI.Control.LoadRecursive() +66 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428

and security Settings

  • Max Invalid Password Attempts  10
  • Password Attempt Window in Minutes 5
  • Minimum Password Length  7
  • Minimum Password Non-Alphanumeric Characters Required: 0
     

Thanks;

Mohamed

12/26/2012 12:56:45 PM
Gravatar
Total Posts 18439

Re: error in page ChangePassword

The only thing I know of that can cause this error is if you are forcing resource fallback to use something other than English when keys are missing in the non English resource files.

ie you need to have this in web.config:

 <globalization culture="auto:en-US" uiCulture="auto:en-US"...

because English is the only language guaranteed to not have missing keys.

You should not change this setting, you can still force another language by other settings but this <globalization setting should never be changed.

1/2/2013 6:55:36 AM
Gravatar
Total Posts 17

Re: error in page ChangePassword

Hello!!

my web.config :-

------------------------------------------------------------------------------------------------------------------

<?xml version="1.0"?>

<configuration>
    <configSections>
        <!-- Comment this out in Medium Trust 
    <section name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload" allowLocation="true" requirePermission="false" />
    -->
        <!-- 3.5 .NET -->
        <sectionGroup name="system.web"></sectionGroup>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <!-- application specific settings -->
    <!-- 
  More information about config settings here: http://www.mojoportal.com/webconfig.aspx
  Ideally, any settings from the appSettings section that you customise should go into user.config
  if you create a user.config file and put it in the root
    of the web, you can put custom app settings like connections strings there
    and they won't be overwritten by updating from the repository or by upgrades. user.config is not under source control
    there is a sample user.config.sample you can use as a basis but don't raname this file, 
    create your own
    user.config and copy from the sample 
     
    settings in user.config will take precedence over settings in web.config
    but changes to user.config will not be detected automatically or cause app to restart
    so if you make a change there, enter a space in web.config and save to make it pickup
    your change in user.config
        -->
    <appSettings file="user.config">
        <!-- after initial installation its a good idea to set this to true. If you sign in as admin before doing upgrades you can leave this as false.-->
        <add key="DisableSetup" value="false"/>
        <add key="ShowConnectionErrorOnSetup" value="true"/>
        <add key="AlwaysUrlEncode" value="false"/>
        <!-- <add key="UseClosestAsciiCharsForUrls" value="true" /> can help for languages that use similar alphabets to English -->
        <add key="UseClosestAsciiCharsForUrls" value="false"/>
        <!-- ******* Database Settings *********************************** -->
        <!-- Note that each db platform  has its own connection string, but the database used depends on which data dlls are in the bin folder
          it is not determined by configuration settings.
    -->
        <!-- MS SQL Database Settings *************************************** -->
        <add key="MSSQLConnectionString" value="server=yourservername;UID=yourdatabaseusername;PWD=yourdatabaseuserpassword;database=yourdatabasename"/>
        <!-- 
        For using MS SQL set this to true for best performance but if running the web on mono you may need to set this to false. -->
        <add key="CacheMSSQLParameters" value="true"/>
        <!-- do not change this unless you understand the workings of the code
              and have a reason to change it. -->
        <add key="MSSQLOwnerPrefix" value="[dbo]."/>
        <!-- end MS SQL Database Settings *************************************** -->
        <add key="PostgreSQLConnectionString" value="Server=localhost;Port=5432;Encoding=unicode;User Id=mojouser;Password=mojo123;Database=mojoportal;Pooling=false;CommandTimeout=120;"/>
        <add key="MySqlConnectionString" value="Data Source=localhost;Database=mojoportal;User ID=mojouser;Password=mojo123;Charset=utf8;"/>
        <add key="FirebirdConnectionString" value="Data Source=localhost;Server Type=0;Port Number=3050;Database=C:\Users\JoeAudette\devprojects\mojoportal\mojoportal.fdb;Dialect=3;Charset=UTF8;Pooling=True;Min Pool Size=0;Max Pool Size=200;Connection Timeout=10;Connection Lifetime=60;Fetch Size=200;User Id=SYSDBA;Password=masterkey"/>
        <add key="SqliteConnectionString" value="defaultdblocation"/>
        <!--
            you can use a fully qualified file path as shown below
            or if you are using the default db at /Data/sqlitedb/mojo.db.config
            just leave this set to "defaultdblocation"
        <add key="SqliteConnectionString" value="version=3,URI=file:C:\\Projects\mojoportal\Web\Data\sqlitedb\mojoportal.db" />
        -->
        <!-- ******* End Database Settings *********************************** -->
        <!-- ******* global security settings -->
        <!-- if true you can use built in database authentication, then fall back to LDAP (if LDAP is configured and enabled) if database login fails -->
        <add key="UseLDAPFallbackAuthentication" value="false"/>
        <!-- Use SSL for LDAP authentication -->
        <add key="UseSSLForLDAP" value="false"/>
        <add key="EnableOpenIDAuthentication" value="true"/>
        <!-- these settings can override sitesettings -->
        <add key="UseOpenIdRpxSettingsFromWebConfig" value="false"/>
        <add key="OpenIdRpxApiKey" value=""/>
        <add key="OpenIdRpxApplicationName" value=""/>
        <add key="OpenIdRpxUseMappings" value="true"/>
        <add key="AllowClosingSites" value="true"/>
        <add key="RolesThatCanAccessClosedSites" value="Admins;Content Administrators;"/>
        <!-- This file contains the RSA key used for our CryptoHelper. For best security, you should 
         generate your own RSA key in a different file, and then set the path to the file here. 
         You should do this before encrypting any data, because if you change the key you won't be 
         able to decrypt anything that was encrypted with the previous key. 
         you can generate a key for .NET 4 as follows:
         C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -pc "MyKeys" -exp
          C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -px "MyKeys" "c:\temp\keys.xml" -pri
         -->
        <add key="mojoCryptoHelperKeyFile" value="~/mojoEncryption.config"/>
        <!-- note that the above encryption key file is only needed for legacy crypto helper , use of the legacy crypto helper is set true here for backward compatibility with existing sites
    but it is set to false in user.config.sample so that new installations do not use it.
    The new crypto helper implementation uses the same encryption as for encrypted passwords which is base don the machine key
    -->
        <add key="UseLegacyCryptoHelper" value="true"/>
        <!-- 
    if true then when using email for sign in, on the registration page new users don't have to choose a username 
    less form fields to fill out may be more user friendly
    -->
        <add key="AutoGenerateAndHideUserNamesWhenUsingEmailForLogin" value="false"/>
        <!-- you can specify a regular expression to constrain what characters may be used for the User ID
    which is also used for the Display Name when a user registers. If you leave it balnk no validation will occur.
    If you wanted to limit it to alpha numerci characters and underscore you could use an expression like ^[a-zA-Z0-9_]{5,20}$
    this requires a user id with minumum length 5 and max length 20 that can only use alpha numerci characters and underscore.
    Make sure you do not enter an invalid regular expression or it can cause an error. Also make sure the UserNameValidationWarning has 
    a message that can help the user correct the problemif they enter something invalid.
    -->
        <add key="UserNameValidationExpression" value=""/>
        <add key="UserNameValidationWarning" value="User ID must use only alpha numeric characters and underscores"/>
        <add key="EnableWindowsLiveAuthentication" value="true"/>
        <!-- live messenger web toolkit no longer works http://msdn.microsoft.com/en-us/library/dd570035.aspx -->
        <add key="GloballyDisableMemberUseOfWindowsLiveMessenger" value="true"/>
        <add key="AllowPersistentLoginCookie" value="true"/>
        <add key="AllowPasswordFormatChange" value="true"/>
        <!-- SSLIsAvailable is a global setting that means all sites in the installation can use SSL 
    if you want to enable SSL in only specific sites use
    <add key="Site1-SSLIsAvailable" value="true" />
    where the numeric part corresponds to the SiteID
    -->
        <add key="SSLIsAvailable" value="false"/>
        <add key="MaskPasswordsInUserAdmin" value="true"/>
        <!-- these characters will be used when generating random passwords -->
        <add key="PasswordGeneratorChars" value="abcdefgijkmnopqrstwxyzABCDEFGHJKLMNPQRSTWXYZ23456789*$"/>
        <!-- this is how long generated passwords will be -->
        <add key="PasswordGeneratorLength" value="7"/>
        <!-- these settings affect the password strength meter if used -->
        <add key="PasswordStrengthMinimumLowerCaseCharacters" value="1"/>
        <add key="PasswordStrengthMinimumUpperCaseCharacters" value="1"/>
        <!-- List of semi-colon separated numeric values used to determine the weighting of a strength characteristic. There must be 4 values specified which must total 100. 
        The default weighting values are defined as 50;15;15;20. This corresponds to password length is 50% of the strength calculation, 
        Numeric criteria is 15% of strength calculation, casing criteria is 15% of calculation, and symbol criteria is 20% of calculation. 
        So the format is 'A;B;C;D' where A = length weighting, B = numeric weighting, C = casing weighting, D = symbol weighting. -->
        <add key="PasswordStrengthCalculationWeightings" value="25;25;25;25"/>
        <!-- valid options are BarIndicator and Text -->
        <add key="PasswordStrengthIndicatorType" value="Text"/>
        <!-- valid options are RightSide, LeftSide, AboveLeft, AboveRight, BelowLeft, BelowRight -->
        <add key="PasswordStrengthDisplayPosition" value="RightSide"/>
        <!-- if you create custom roles that you don't want to be deleteable then enter them here semi colon separated with no extra white space -->
        <add key="RolesThatCannotBeDeleted" value=""/>
        <add key="AllowUserProfilePage" value="true"/>
        <add key="AllowUserThreadBrowsing" value="true"/>
        <add key="EnforceContentVersioningGlobally" value="false"/>
        <add key="HideModuleSettingsGeneralAndSecurityTabsFromNonAdmins" value="false"/>
        <!-- a comma separated list of email addresses to exclude when sending
    administrative emails including registration notifications and content workflow submissions
    this is for when you have admin user accounts that you do not want to receive these emails
    -->
        <add key="EmailAddressesToExcludeFromAdminNotifications" value=""/>
        <add key="DisableWorkflowNotification" value="false"/>
        <add key="EnableLogViewer" value="true"/>
        <add key="ShowForumPostsInMemberList" value="true"/>
        <!-- this should generally be false on public sites but on an intranet you may wish to show the user email -->
        <add key="ShowEmailInMemberList" value="false"/>
        <add key="ShowLoginNameInMemberList" value="false"/>
        <add key="ShowUserIDInMemberList" value="false"/>
        <add key="DisableFileManager" value="false"/>
        <add key="AllowFileManagerInChildSites" value="true"/>
        <add key="AllowedMediaFileExtensions" value=".flv|.swf|.wmv|.mp3|.mp4|.m4a|.m4v|.oga|.ogv|.webma|.webmv|.webm|.wav|.fla|.asf|.asx|.avi|.mov|.mpeg|.mpg"/>
        <add key="AudioFileExtensions" value=".wma|.mp3|.m4a|.m4a|.oga|.webma|.webm|.wav|.asf|.asx|.fla"/>
        <add key="VideoFileExtensions" value=".flv|.swf|.wmv|.mp4|.m4v|.ogv|.webmv|.webm|.avi|.mov|.mpeg|.mpg"/>
        <add key="AllowedUploadFileExtensions" value=".gif|.jpg|.jpeg|.png|.flv|.swf|.wmv|.mp3|.mp4|.m4a|.m4v|.oga|.ogv|.webma|.webmv|.webm|.wav|.fla|.tif|.asf|.asx|.avi|.mov|.mpeg|.mpg|.zip|.pdf|.doc|.docx|.xls|.xlsx|.ppt|.pptx|.pps|.csv|.txt|.htm|.html"/>
        <add key="AllowedLessPriveledgedUserUploadFileExtensions" value=".gif|.jpg|.jpeg|.png|.zip|.pdf|.htm|.html"/>
        <add key="AllowedSkinFileExtensions" value=".master|.skin|.css|.jpg|.jpeg|.png|.gif|.ico|.txt|.config|.js|.swf|.flv|.fla|.html"/>
        <add key="ForceLowerCaseForFolderCreation" value="true"/>
        <add key="ForceLowerCaseForUploadedFiles" value="true"/>
        <add key="ResizeImageDefaultMaxWidth" value="550"/>
        <add key="ResizeImageDefaultMaxHeight" value="550"/>
        <add key="AllowAdminsToUseDataFolder" value="false"/>
        <add key="ForceAdminsToUseMediaFolder" value="false"/>
        <add key="UserFolderDiskQuotaInMegaBytes" value="300"/>
        <add key="MediaFolderDiskQuotaInMegaBytes" value="6000"/>
        <add key="AdminDiskQuotaInMegaBytes" value="12000"/>
        <add key="UserFolderMaxSizePerFileInMegaBytes" value="10"/>
        <add key="MediaFolderMaxSizePerFileInMegaBytes" value="30"/>
        <add key="AdminMaxSizePerFileInMegaBytes" value="2000"/>
        <add key="UserFolderMaxNumberOfFiles" value="1000"/>
        <add key="MediaFolderMaxNumberOfFiles" value="10000"/>
        <add key="AdminMaxNumberOfFiles" value="100000"/>
        <add key="UserFolderMaxNumberOfFolders" value="50"/>
        <add key="MediaFolderMaxNumberOfFolders" value="500"/>
        <add key="AdminMaxNumberOfFolders" value="1000"/>
        <!-- if a user is in a role that allows both uploading and deleting then they will have access to the main file manager
    in some cases you may want to allow users who can only upload to user specific folders to delete files from the editor file browser
    without giving them access to the general File Manager, to do that you could set this to true
    -->
        <add key="AllowDeletingFilesFromUserFolderWithoutDeleteRole" value="false"/>
        <!-- 
    <add key="ImageGalleryUseMediaFolder" value="false" />
    this is false for backward compatibility with existing galleries located at
    /Data/Sites/[SiteID]/GalleryImages
    the preferred setting for new installations is true and this stores the images under
    /Data/Sites/[SiteID]/media/GalleryImages which is better for making the images available for borwsing in the editor
    you can change this to true in user.config and copy files from the old location to make an existing site use the new preferred location
    -->
        <add key="ImageGalleryUseMediaFolder" value="false"/>
        <add key="EnableDeveloperMenuInAdminMenu" value="true"/>
        <add key="EnableQueryTool" value="true"/>
        <!-- you should not change this unless you implemented your own custom login page -->
        <add key="LoginPageRelativeUrl" value="/Secure/Login.aspx"/>
        <!-- this key makes the Register link point to a custom registration page. leave blank to use the built in registration page.
    <add key="CustomRegistrationPage" value="/path/to/your/customregistration.aspx"/>
    Set RedirectRegistrationPageToCustomPage to true to force a redirect from the built in registration page to the custom url
    -->
        <add key="CustomRegistrationPage" value=""/>
        <add key="RedirectRegistrationPageToCustomPage" value="false"/>
        <!-- 
    Set Enable ForceSingleSessionPerUser to true only if it is a security requirement of your app to prevent
    a user having multiple browser sessions with the same user.
    This uses session variables and therefore uses more server memory so it is disabled by default.
    -->
        <add key="ForceSingleSessionPerUser" value="false"/>
        <!-- 
    Generally you should leave this blank and let mojoportal handle the redirecting after a user signs in.
    However if you want to force redirecting to some specific page you can force it with this setting:
    <add key="PageToRedirectToAfterSignIn" value="/yourcustompage.aspx" />
    Warning! Do not use this in a multi site installation. This is a global setting and will affect all sites.
    -->
        <add key="PageToRedirectToAfterSignIn" value=""/>
        <!-- 
    Generally you should leave this blank and let mojoportal handle the redirecting after a user registers.
    However if you want to force redirecting to some specific page you can force it with this setting:
    <add key="PageToRedirectToAfterRegistration" value="/yourcustompage.aspx" />
    Warning! Do not use this in a multi site installation. This is a global setting and will affect all sites.
    -->
        <add key="PageToRedirectToAfterRegistration" value=""/>
        <!-- 
    if set to true query parser errors in the search engine will trigger banning of ip
    address of the host causing the error. These are usually spambots posting a lot of 
    garbage into the search form, only real concern
    about setting this to true is if the spambots are spoofing ip addresses then we are 
    banning the wrong address.
    -->
        <add key="AutoBanSpambotsOnSearchErrors" value="false"/>
        <add key="DisableSearchIndex" value="false"/>
        <!-- if there are any searchable fetures installed that you don't want to appear in the filter list you can
    enter comma separated featureGuids here.
    -->
        <add key="SearchableFeatureGuidsToExclude" value=""/>
        <!-- these next 3 settings have defaults that are backward compatible so the search will still work correctly on 
    upgraded sites
    <add key="EnableSearchResultsHighlighting" value="false" />
    <add key="DisableSearchFeatureFilters" value="true" />
    <add key="SearchUseBackwardCompatibilityMode" value="true" />
    
    for new installations or if you rebuild the search index, then you can change to these settings:
    <add key="EnableSearchResultsHighlighting" value="true" />
    <add key="DisableSearchFeatureFilters" value="false" />
    <add key="SearchUseBackwardCompatibilityMode" value="false" />
    
    keep in mind that if you EnableSearchResultsHighlighting, then it stores a copy of all content in the search index
    which makes it much larger on disk but is the only way to be able to supp0ort results highlighting
    
    -->
        <add key="EnableSearchResultsHighlighting" value="false"/>
        <add key="DisableSearchFeatureFilters" value="true"/>
        <add key="SearchUseBackwardCompatibilityMode" value="true"/>
        <add key="SearchResultsFragmentSize" value="300"/>
        <add key="ShowRebuildSearchIndexButtonToAdmins" value="false"/>
        <add key="ShowModuleTitleInSearchResultLink" value="false"/>
        <!-- DisableTaskQueue - if you are running multiple sites from different physical installations but using the same database
    it can cause problems because each installation is trying to process the task queue. 
    In this case you should disable it in all except 1 of the installations.
    -->
        <add key="DisableTaskQueue" value="false"/>
        <!-- 
    You can change this setting to customize the message body for the password recovery email.
    <add key="PasswordRecoveryEmailTemplateFileNamePattern" value="PasswordEmailMessage.config" />
    Your actual file must exist in the /Data/MessageTemplates folder and the actual file must 
    be named with the default culture as a prefix to this setting. So for the default setting
    PasswordEmailMessage.config, the actual file name will be en-US-PasswordEmailMessage.config
    if the default cutlure is en-US
    Whenever you upgrade mojoportal this file will be overwritten so if you customize it, you should
    use a custom file name. So for example you could set the setting like this:
    <add key="PasswordRecoveryEmailTemplateFileNamePattern" value="MyCustomPasswordEmailMessage.config" />
    and the actual file name would be en-US-MyCustomPasswordEmailMessage.config, assuming you are using
    en-US for the default site culture.
   
    -->
        <add key="PasswordRecoveryEmailTemplateFileNamePattern" value="PasswordEmailMessage.config"/>
        <!-- 
            If true will update user lastactivity time at the end of each authenticated request.
            The default is true, but if you are seeking max performance you can disable it.
        -->
        <add key="TrackAuthenticatedRequests" value="true"/>
        <add key="TrackIPForAuthenticatedRequests" value="false"/>
        <add key="UseNeatHtmlForXSSPrevention" value="true"/>
        <add key="UseClientSideNeatHtml" value="true"/>
        <!-- when using windows authentication on an intranet environment, 
    mojoPortal users are automatically created for windows users the first time they visit the site
    There is not a way to know the user's email address but you can enable it to guess and make it username@domain.com
    If .com is not correct you can specify that part as well.
    -->
        <add key="GuessEmailForWindowsAuth" value="false"/>
        <add key="WindowsAuthDomainExtension" value=".com"/>
        <!-- ******* end global security settings -->
        <!-- ******* multi site installation settings -->
        <add key="AllowMultipleSites" value="true"/>
        <add key="AllowDeletingChildSites" value="true"/>
        <add key="DeleteSiteFolderWhenDeletingSites" value="true"/>
        <!--      
    UseRelatedSiteMode means all sites in a multi site installation use the same users
    all users must have a site id so in this mode we use the same site id for all users
    -->
        <add key="UseRelatedSiteMode" value="false"/>
        <add key="RelatedSiteID" value="0"/>
        <add key="RelatedSiteModeHideRoleManagerInChildSites" value="true"/>
        <add key="AllowPasswordFormatChangeInChildSites" value="false"/>
        <add key="ShowSystemInformationInChildSiteAdminMenu" value="true"/>
        <add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="true"/>
        <add key="DisallowedVirtualFolderNames" value="Admin;ClientScript;Controls;Data;FCKeditor;Modules;NeatHtml;NeatUpload;Secure;Services;Setup;SiteOffice;WebStore"/>
        <!--   
    if you want to have different smtp settings per site, set EnableSiteSettingsSmtpSettings to true
    and smtp settings will appear in SiteSettings. otherwise use the smtp settings below
    -->
        <add key="EnableSiteSettingsSmtpSettings" value="false"/>
        <add key="MaskSmtpPasswordInSiteSettings" value="true"/>
        <add key="ShowSmtpEncodingOption" value="false"/>
        <!-- ******* end multi site installation settings -->
        <!-- ******* email settings  -->
        <add key="SMTPServer" value="localhost"/>
        <add key="SMTPRequiresAuthentication" value="false"/>
        <add key="SMTPUseSsl" value="false"/>
        <add key="SMTPPort" value="25"/>
        <add key="SMTPUser" value="UserName"/>
        <add key="SMTPPassword" value="UPassword"/>
        <add key="SMTPTimeoutInMilliseconds" value="30000"/>
        <!-- leave this blank for ascii encoding -->
        <add key="SmtpPreferredEncoding" value=""/>
        <!-- ******* end email settings -->
        <!-- ******* general global settings -->
        <!-- you can log to the database instead of the file system by setting UseSystemLogInsteadOfFileLog to true
    and uncommenting the <appender-ref ref="mojoSystemLogAppender" /> in log4net.config
    -->
        <add key="UseSystemLogInsteadOfFileLog" value="false"/>
        <add key="ShowFileLogInAdditionToSystemLog" value="false"/>
        <add key="SystemLogPageSize" value="10"/>
        <add key="SystemLogSortAscending" value="false"/>
        <add key="SystemLogDateTimeFormat" value="yyyy'-'MM'-'dd' 'HH':'mm':'ss'.'fff"/>
        <add key="SystemLogDeleteOldEventsOnApplicationStart" value="true"/>
        <add key="SystemLogApplicationStartDeleteOlderThanDays" value="20"/>
        <!-- Clock Hours = 12 or 24 affects only the jsCalendar DatePicker -->
        <add key="ClockHours" value="12"/>
        <!-- this should be the preferred timezone offset to display for unauthenticated users -->
        <add key="PreferredGreenwichMeantimeOffset" value="-5.00"/>
        <!-- this setting allows you to force specific cultures for specific sites
              I recommend that you don't do this unless you have a specific reason to.
            You would also need to know the siteid of each site and specify it here like this:
                <add key="site1culture" value="en-US" />
                <add key="site2culture" value="nl-NL" />
              -->
        <add key="UseCultureOverride" value="true"/>

       
        <add key="site1culture" value="ar-EG"/>
    <add key="site1uiculture" value="ar-EG"/>
        <add key="site2culture" value="ar-EG"/>
        <add key="site2uiculture" value="ar-EG"/>
        <add key="site3culture" value="ar-EG"/>
        <add key="site3uiculture" value="ar-EG"/>
        <add key="site4culture" value="ar-EG"/>
        <add key="site4uiculture" value="ar-EG"/>
        <add key="site5culture" value="ar-EG"/>
        <add key="site5uiculture" value="ar-EG"/>
        <add key="site6culture" value="ar-EG"/>
        <add key="site6uiculture" value="ar-EG"/>
        <add key="site7culture" value="ar-EG"/>
        <add key="site7uiculture" value="ar-EG"/>
        <add key="site8culture" value="ar-EG"/>
        <add key="site8uiculture" value="ar-EG"/>
        <add key="site9culture" value="ar-EG"/>
        <add key="site9uiculture" value="ar-EG"/>
        <add key="site10culture" value="ar-EG"/>
        <add key="site10uiculture" value="ar-EG"/>
        <add key="site11culture" value="fr-FR"/>
        <add key="site11uiculture" value="fr-FR"/>
        <add key="site12culture" value="ar-EG"/>
        <add key="site12uiculture" value="ar-EG"/>
        <add key="site13culture" value="ar-EG"/>
        <add key="site13uiculture" value="ar-EG"/>
        <add key="site14culture" value="ar-EG"/>
        <add key="site14uiculture" value="ar-EG"/>
        <add key="site15culture" value="ar-EG"/>
        <add key="site15uiculture" value="ar-EG"/>
        <add key="UseCustomHandlingForPersianCulture" value="false"/>
        <add key="DefaultCountry" value="US"/>
        <add key="EnableNewsletter" value="true"/>
        <!-- you can throttle the sending of the newsletter 0 = unlimited/no throttling -->
        <add key="NewsletterMaxToSendPerMinute" value="0"/>
        <add key="Forum:NotificationMaxToSendPerMinute" value="0"/>
        <!-- if true shows a button instead of immediately opting out when the user clics the unsubscribe link in newsletter -->
        <add key="PromptBeforeUnsubscribeNewsletter" value="false"/>
        <!-- if you don't have the forum installed you can/should set this to false -->
        <add key="ShowForumUnsubscribeLinkInUserManagement" value="true"/>
        <add key="MemberListPageSize" value="15"/>
        <add key="SearchResultsPageSize" value="10"/>
        <add key="FolderGalleryPreviewWidth" value="500"/>
        <!-- only named colors like White, Black, Blue etc can be used here -->
        <add key="FolderGalleryImageBackColor" value="Black"/>
        <add key="FolderGalleryImageBorderColor" value="Black"/>
        <add key="UseSiteNameForRootBreadcrumb" value="false"/>
        <add key="HideMenusOnLoginPage" value="false"/>
        <add key="HideMenusOnRegisterPage" value="false"/>
        <add key="HideMenusOnPasswordRecoveryPage" value="false"/>
        <add key="HideMenusOnChangePasswordPage" value="false"/>
        <add key="HideAllMenusOnProfilePage" value="false"/>
        <add key="HidePageMenuOnProfilePage" value="false"/>
        <add key="MyPageIsInstalled" value="false"/>
        <add key="HideAllMenusOnMyPage" value="false"/>
        <add key="HideMenusOnSiteMap" value="false"/>
        <add key="HidePageMenusOnSiteMap" value="false"/>
        <!-- format for page titles, valid options: TitleOnly, SitePlusTitle, TitlePlusSite  -->
        <add key="PageTitleFormatName" value="TitlePlusSite"/>
        <add key="PageTitleSeparatorString" value=" - "/>
        <add key="ModuleTitleTag" value="h2"/>
        <add key="EnableEditingModuleTitleElement" value="false"/>
        <!-- showing css validation link makes people think there are important errors 
    because we use some vendor specific and some CSS 3 (which is not yet finalized but is supported to extent in browsers) -->
        <add key="DisableCssValidatorLink" value="false"/>
        <add key="DisableHtmlValidatorLink" value="false"/>
        <!-- 
    If you route/rewrite requests for robots.txt to robots.ashx, then you can have a different robots file for ssl
    by default it wil block indexing of all secure pages assuming it is respected by the crawler and the crawler
    actually requests robots.txt for https separately from http
    -->
        <add key="RobotsConfigFile" value="~/robots.config"/>
        <add key="RobotsSslConfigFile" value="~/robots.ssl.config"/>
        <!--  
    Set AutoSetContentType to false if you would rather add the meta ContentType yourself in layout.master file of your skin
    if true the MetaContentControl will render it according to the ContentMimeType and ContentEncoding settings
    Changed the default from application/xhtml+xml to text/html as of mojoportal version 2.3.1.3 Html 5 now seems the future rather than Xhtml
    -->
        <add key="AutoSetContentType" value="true"/>
        <add key="ContentMimeType" value="text/html"/>
        <add key="ContentEncoding" value="utf-8"/>
        <!-- if you would like to append the date to your blog post urls in format yyyy-mm-dd 
    set this to true. This can also be useful if you are hsoting alot of blogs because it can help
    avoid url collisions if more than one blog uses the same post title (unless they post it on the same day too)
    -->
        <add key="AppendDateToBlogUrls" value="false"/>
        <!-- 
    if enabled supporting ecommerce features (like WebStore and Event Calendar Pro) may display a button that allows
    rebuilding the data in the mp_CommerceReport table for the given module instance.
    it will only be visible to admin users.
    Generally this table should stay in sync and not need rebuilding.
    This table also provides the data for the user order history in MyAccount, so use this button judiciously.
    If data is not correctly rebuilt the user may no longer be able to download or see purchase history.
    The main reason for the existence of the button at all is for upgrading from previous versions when you already have order history
    that occurred before the mp_CommerceReport feature was added to mojoportal core.
    -->
        <add key="ShowRebuildReportsButton" value="false"/>
        <!-- 
    if set to true, users in the siteSettings.CommerceReportRoles will be able to see user revenue total in forums
    next to a user's posts
    -->
        <add key="ShowRevenueInForums" value="false"/>
        <!-- 
    woopra has to approve your account before you should add the woopra code to the page 
    you can enable woopra in site settings. enabling it here supercedes the site settings setting
    -->
        <add key="EnableWoopraGlobally" value="false"/>
        <add key="DisableWoopraGlobally" value="false"/>
        <!-- Gravatars 
    http://www.gravatar.com/ is a service that allows users to have the same Avatar across different sites.
    I implemented support for this in mojoPortal 2008-08-13
    I added this setting as a kill switch so that Gravatars can be disabled installation wide
    in case there is ever a security or performance problem due to using this external service.
    I don't expect any problems but just in case you can disable it here.
    RatingType { G, PG, R, X } determine what rating is acceptable. Users rate their Avatars like movies.
    -->
        <add key="GravatarMaxAllowedRating" value="G"/>
        <add key="AvatarsCanOnlyBeUploadedByAdmin" value="false"/>
        <add key="ForceSquareAvatars" value="true"/>
        <add key="AvatarMaxWidth" value="90"/>
        <add key="AvatarMaxHeight" value="90"/>
        <!-- 
    original images uploaded for avatars 
    larger than the maxoriginal settings will be resized even before cropping to avoid mega large images being stored
    -->
        <add key="AvatarMaxOriginalWidth" value="800"/>
        <add key="AvatarMaxOriginalHeight" value="800"/>
        <add key="DefaultBlogPageSize" value="10"/>
        <add key="DefaultInitialSkin" value="artisteer31-green"/>
        <!--- 
    You can oveeride the configuration of Vertigo Silverlight slideshow, used in the Image Gallery and Flikr module
    by specifying the name of a config file that exists in the /ClientBin folder, we have an example file there.
    <add key="VertigoSlideShowOverrideXmlConfigFile" value="VertigoConfiguration.xml"/>
    note that if you do override it here it is global and this trumps the theme setting which would normally control the configuration
    leave this blank to be able to use one of the 3 pre-existing themes.
    -->
        <add key="VertigoSlideShowOverrideXmlConfigFile" value=""/>
        <!-- 
             <add key="mojoProfileConfigFileName" value="mojoProfile.config" />
                        
             This file needs tobe in the root of the web folder, but you can use an
             alternate file with your own profile options or edit the mojoProfile.config file
            to use your own custom options. See http://www.mojoportal.com/userprofileconfiguration.aspx
                        
            There is also a setting below in the system.web section for
            <mojoProfile configSource="mojoProfile.config"></mojoProfile>
            if you set that to the same value as the setting immediately below
            then the web application will recycle automatically if you edit the
            specified file. This will ensure your customizations are used right away.
      
      for multi site installations if you need different profile customizations per site.
      create settings like this:
      
      <add key="mojoProfileConfigFileName-2" value="mojoProfile2.config"/>
      where the -2 means for siteid 2, put the site id of the one you want to customize
      you can create settngs for each site
      
             -->
        <add key="mojoProfileConfigFileName" value="mojoProfile.config"/>
        <!-- 
             In general practice english letters are used for urls
            and domain names must be in english letters.
            For cultures that do no use english letters you
            may wish to disable the friendly url autosuggestion
            feature by setting this variable to false. 
             -->
        <add key="AutoSuggestFriendlyUrls" value="true"/>
        <add key="ForceFriendlyUrlsToLowerCase" value="true"/>
        <add key="RedirectHomeFromSetupPagesWhenSystemIsUpToDate" value="true"/>
        <!-- When page level skinning is enabled, if this is true, then pages created 
              beneath a page that has a specific skin assigned
              will use the same skin by default
              -->
        <add key="AssignNewPagesParentPageSkinByDefault" value="true"/>
        <!-- 
            Disabling viewstate at the page level can reduce the size of the page
            which improves performance. Modules that do postback usually need 
            ViewState Enabled so in the Page_Load event of modules that postback
            I add a line of code like this
            Page.EnableViewState = true;
            This works fine for all the built in modules but I've had at least one
            developer tell me it did not work for his custom modules so I added this
            setting here which you can set to false if you find it breaks any functionality
            in your custom modules. If it doesn't break anything I recommend leaving this
            set to true
        -->
        <add key="DisablePageViewStateByDefault" value="false"/>
        <add key="DisableHelpSystem" value="false"/>
        <!-- 
            AllowChangingFriendlyUrlPattern should almost always be false
            which means friendly urls will end with .aspx which is required in
            most configuration under IIS 6. The only time this would ever be changed to true is
      when using IIS 7.x with integrated pipeline mode http://www.mojoportal.com/extensionless-urls.aspx
            or when running on Mono if Mono is set to handle all requests then page names don't
            have to end with .aspx
        -->
        <add key="AllowChangingFriendlyUrlPattern" value="false"/>
        <add key="RSSCSS" value="/Data/style/rss1.css"/>
        <add key="RSSXsl" value="/Data/style/rss1.xsl"/>
        <!-- leave this true as we really don't have moderation implemented yet -->
        <add key="PostsApprovedByDefault" value="True"/>
        <add key="UseUrlReWriting" value="true"/>
        <add key="UseUrlReWritingForStaticFiles" value="false"/>
        <add key="UseShortcutKeys" value="false"/>
        <add key="UseIconsForAdminLinks" value="true"/>
        <add key="UsePageImagesInSiteMap" value="false"/>
        <add key="UseTextLinksForFeatureSettings" value="true"/>
        <add key="NumberOfWebPartsToShowInMiniCatalog" value="15"/>
        <add key="AssembliesNotSearchedForWebParts" value="AjaxControlToolkit.dll Argotic.Common.dll Argotic.Core.dll Argotic.Extensions.dll Blacklight.Silverlight.Controls.dll Brettle.Web.NeatHtml.dll Brettle.Web.NeatHtmlTools.dll Brettle.Web.NeatUpload.dll Brettle.Web.NeatUpload.GreyBoxProgressBar.dll CookComputing.XmlRpcV2.dll CSSFriendly.dll DayPilot.dll DotNetOpenAuth.dll DotNetOpenMail.dll GCheckout.dll Jayrock.dll Jayrock.Json.dll log4net.dll Lucene.Net.dll MetaDataExtractor.dll Microsoft.Web.Preview.dll mojoPortal.Business.dll mojoPortal.Business.WebHelpers.dll mojoPortal.Data.dll mojoPortal.Net.dll mojoPortal.Web.Controls.dll mojoPortal.Web.dll mojoPortal.Web.Editor.dll mojoPortal.Web.Framework.dll MySql.Data.dll Newtonsoft.Json.dll Novell.Directory.Ldap.dll OpenPOP.dll Org.Mentalis.Security.dll mojoPortal.Features.Business.dll mojoPortal.Features.Data.dll mojoPortal.Features.UI.dll Recaptcha.dll RSS.NET.dll SharpMimeTools.dll SiteOffice.Business.dll SiteOffice.Data.dll SiteOffice.ExternalMail.dll SiteOffice.UI.dll sqlite3.dll Subkismet.dll System.Web.Extensions.dll WebStore.Business.dll WebStore.Data.dll WebStore.UI.dll FirebirdSql.Data.FirebirdClient.dll Mono.Data.Sqlite.dll Mono.Security.dll Npgsql.dll TimelineNet.dll ZedGraph.dll ZedGraph.Web.dll"/>
        <add key="SiteStatistics_ShowMemberStatistics_Default" value="true"/>
        <add key="SiteStatistics_ShowOnlineStatistics_Default" value="true"/>
        <add key="SiteStatistics_ShowOnlineMembers_Default" value="true"/>
        <!--   
    if you have a low traffic site (if 20 minutes may go by between requests for pages)
    then what happens is the application pool shuts down the web application after 20 minutes
    goes by with no request for any pages.
    Then when you get a new request all the JIT compilation must happen again
    and this causes a slow response.
    You can mitigate this for a slow site by setting this to true. A background thread will be spawned that
    makes a request to the site often enough to keep the application pool from shutting down the application
    due to lack of traffic.
    For sites that are getting enough traffic its best to leave this as false.
    If using IIS 7 with Integrated Pipeline mode then you must specify the url to the root of your site in
    AppKeepAliveUrl like http://yoursiteroot/Default.aspx
    -->
        <add key="UseAppKeepAlive" value="false"/>
        <add key="AppKeepAliveUrl" value=""/>
        <add key="GetAlphaPagerCharsFromResourceFile" value="false"/>
        <add key="AlphaPagerChars" value="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
        <add key="CombineCSS" value="true"/>
        <!-- MinifyCSS Only Applies when server caching of CSS is also enabled, the minifying process is a little expensive so we don't want to do it on every request -->
        <add key="MinifyCSS" value="true"/>
        <add key="CacheCssOnServer" value="true"/>
        <add key="CacheCssInBrowser" value="true"/>
        <add key="UseGoogleCDN" value="true"/>
        <add key="GoogleCDNjQueryVersion" value="1.8.2"/>
        <add key="GoogleCDNjQueryUIVersion" value="1.9.0"/>
        <add key="DisableASPThemes" value="false"/>
        <add key="DisablejQuery" value="false"/>
        <add key="jQueryBasePath" value="~/ClientScript/jquery132/"/>
        <add key="jQueryUIBasePath" value="~/ClientScript/jqueryui16b/"/>
        <add key="SwfObjectUrl" value="~/ClientScript/SwfObject/2.2/swfobject.js"/>
        <add key="jQueryUIAvailableThemes" value="base,black-tie,blitzer,cupertino,dark-hive,dot-luv,eggplant,excite-bike,flick,hot-sneaks,humanity,le-frog,mint-choc,overcast,pepper-grinder,redmond,smoothness,south-street,start,sunny,swanky-purse,trontastic,ui-darkness,ui-lightness,vader"/>
        <add key="FCKeditor:Debug" value="false"/>
        <add key="FCKeditor:CustomConfigPath" value="~/ClientScript/mojofckconfig.js"/>
        <add key="FCKeditor:StylesXmlPath" value="/Services/EditorStyles.ashx"/>
        <add key="FCKeditor:BasePath" value="~/ClientScript/fckeditor266/"/>
        <!-- valid options for FCKeditor:Skin are default, office2003, silver -->
        <add key="FCKeditor:Skin" value="default"/>
        <add key="CKEditor:BasePath" value="~/ClientScript/ckeditor365/"/>
        <add key="CKEditor:ConfigPath" value="~/ClientScript/ckeditor-mojoconfig.js"/>
        <!-- valid options for CKeditor:Skin are kama, v2, office2003-->
        <add key="CKEditor:Skin" value="v2"/>
        <add key="EditAreaBasePath" value="~/ClientScript/edit_area082/"/>
        <add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce357/"/>
        <add key="TinyMCE:Schema" value="html5"/>
        <!--- valid options for the TinyMCE skin are: default, o2k7default, o2k7silver, o2k7black -->
        <add key="TinyMCE:Skin" value="default"/>
        <add key="TinyMCE:ConfigFile" value="mojoTinyMCE.config"/>
        <!--- valid options for the RAD Editor skin are: Default, Black, Forest, Hay, Office2007, Outlook, Simple, Sitefinity, Sunset, Telerik, Vista, Web20, WebBlue, Windows7 -->
        <add key="RadEditorSkin" value="Default"/>
        <!-- leave this blank to use the skin css in the editor which is generally the best approach 
    but if you need to you can specify a different url for css to use in the editor
    -->
        <add key="EditorCssUrlOverride" value=""/>
        <add key="GoogleAnalyticsMemberLabel" value="member-type"/>
        <add key="GoogleAnalyticsMemberTypeAnonymous" value="anonymous"/>
        <add key="GoogleAnalyticsMemberTypeAuthenticated" value="member"/>
        <add key="GoogleAnalyticsMemberTypeCustomer" value="customer"/>
        <add key="GoogleAnalyticsMemberTypeAdmin" value="admin"/>
        <add key="mojoEditorConfigFileName" value="mojoEditor.config"/>
        <add key="SiteOfficeConfigFolder" value="~/SiteOffice/Config/"/>
        <add key="SetupHeaderConfigPath" value="~/Setup/SetupHeader.config"/>
        <!--   
        2007-12-04 this is global so it doesn't work for multi site installations of mojoPortal.
        On my to do list is to add a site setting for this so it can be used in multi site installations easily.
        If you want to be able to use google maps in your site uing the LocationMap control, you need to get
        a google maps api key for your site from here:
        http://code.google.com/apis/maps/signup.html
         
        -->
        <add key="GoogleMapsAPIKey" value=""/>
        <!-- ******* end general global settings -->
        <!-- ******* Begin WebStore Settings 
     Settings are site specific and prefixed per site with 'Site' + SiteID.ToString() + '-' ie Site1-, Site2-, Site3-
    -->
        <add key="PaymentGatewayConfigFileName" value="mojoPaymentGateway.config"/>
        <!-- set to false for production use -->
        <add key="Site1-PaymentGatewayUseTestMode" value="false"/>
        <!-- options: Authorize.NET, PlugNPay, PayPalDirect, PayPalStandard, GoogleCheckout-->
        <add key="Site1-PrimaryPaymentGateway" value=""/>
        <add key="Site1-PayPalUsePayPalStandard" value="true"/>
        <!-- sandbox -->
        <add key="Site1-AuthorizeNetSandboxAPILogin" value=""/>
        <add key="Site1-AuthorizeNetSandboxAPITransactionKey" value=""/>
        <add key="Site1-PlugNPaySandboxAPIPublisherName" value=""/>
        <add key="Site1-PlugNPaySandboxAPIPublisherPassword" value=""/>
        <add key="Site1-PayPalSandboxAPIUsername" value=""/>
        <add key="Site1-PayPalSandboxAPIPassword" value=""/>
        <add key="Site1-PayPalSandboxAPISignature" value=""/>
        <add key="Site1-PayPalStandardSandboxEmail" value=""/>
        <add key="Site1-PayPalStandardSandboxPDTId" value=""/>
        <add key="Site1-GoogleSandboxMerchantID" value=""/>
        <add key="Site1-GoogleSandboxMerchantKey" value=""/>
        <!-- end sandbox -->
        <!-- Production -->
        <add key="Site1-AuthorizeNetProductionAPILogin" value=""/>
        <add key="Site1-AuthorizeNetProductionAPITransactionKey" value=""/>
        <add key="Site1-PlugNPayProductionAPIPublisherName" value=""/>
        <add key="Site1-PlugNPayProductionAPIPublisherPassword" value=""/>
        <add key="Site1-PayPalProductionAPIUsername" value=""/>
        <add key="Site1-PayPalProductionAPIPassword" value=""/>
        <add key="Site1-PayPalProductionAPISignature" value=""/>
        <add key="Site1-PayPalStandardProductionEmail" value=""/>
        <add key="Site1-PayPalStandardProductionPDTId" value=""/>
        <add key="Site1-GoogleProductionMerchantID" value=""/>
        <add key="Site1-GoogleProductionMerchantKey" value=""/>
        <!-- end production -->
        <!--
  This is temprary until I implement something better. The file must be located at
  /Data/MessageTemplates and must be prefixed with a culture like en-US- even though that part is not
  specifiied here. So even though we have entered DefaultOrderConfirmationPlainTextEmailTemplate.config, the 
  actual file must be named en-US-DefaultOrderConfirmationPlainTextEmailTemplate.config where en-US is the default
  culture for the site as specified in Web.config globalization element
  -->
        <add key="Site1-ConfirmationEmailPlainTextTemplate" value="DefaultOrderConfirmationPlainTextEmailTemplate.config"/>
        <add key="Site1-ConfirmationEmailSubjectTemplate" value="DefaultOrderConfirmationEmailSubjectTemplate.config"/>
        <!-- these are used when the order has been receivedby PayPal or Google Checkout but paymet has not cleared yet -->
        <add key="Site1-OrderReceivedEmailPlainTextTemplate" value="DefaultOrderReceivedPlainTextEmailTemplate.config"/>
        <add key="Site1-OrderReceivedEmailSubjectTemplate" value="DefaultOrderReceivedEmailSubjectTemplate.config"/>
        <!-- ******* end WebStore Settings -->
        <!-- ******* general web configuration -->
        <add key="Custom404Page" value="/PageNotFound.aspx"/>
        <add key="EnableGoogle404Enhancement" value="true"/>
        <add key="SuppressMenuOnBuiltIn404Page" value="true"/>
        <!-- 
            if users will be accessing your site on a port other
            than port 80
            set MapAlternatePort to true so that links will
            include the port.
            set MapAlternatePort to false if you are using a proxy server 
            that doesn't add X-Forwarded-Host headers (most do).
            This setting has no effect if you are using port 80,
            the standard web port.
            this must also be true for debugging with the VS Web server 
            as it uses alternate ports    
        -->
        <add key="MapAlternatePort" value="true"/>
        <add key="MapAlternateSSLPort" value="true"/>
        <add key="AlternateSSLPort" value="443"/>
        <!-- if using a proxy and it prevents detection of ssl
        it can cause an infinite loop in the SiteUtils.ForceSSL function
        set this to true to prevent that if you encounter this problem
        -->
        <add key="ProxyPreventsSSLDetection" value="false"/>
        <!-- 
    AllowForcingPreferredHostName, if set to true a new Site Setting appears (only in root site or IsServerAdminSite)
    for entering a preferred host name. The reason this is disabled by default and only available from within the
    server admin site is because putting an invalid host name in this site setting can make the site inaccessible
    as it will keep redirecting to an incorrect host name. So this is only for expert use, but is useful in cases where
    you may have a site that responds to multiple host names like mojoportal.org, mojoportal.com, www.mojoportal.com
    and you want to always force a specific one. For example, my ssl certificate only matches www.mojoportal.com
    so I want to force the sue of that host name by redirecting to it if a request comes in for a different host name.
    -->
        <add key="AllowForcingPreferredHostName" value="false"/>
        <add key="SiteSettingsCacheDurationInSeconds" value="360"/>
        <add key="WebPageInfoCacheMinutes" value="20"/>
        <!-- ******* end general web configuration -->
        <!-- ******* settings you should leave alone -->
        <add key="FolderGalleryRequiredPath" value="FolderGalleries"/>
        <add key="FolderGalleryCachePath" value="~/Data/systemfiles"/>
        <!-- these settings may not be used in future versions -->
        <add key="EditContentImage" value="pencil.gif"/>
        <add key="DeleteLinkImage" value="delete.gif"/>
        <add key="EditPropertiesImage" value="edit.gif"/>
        <add key="NewPageImage" value="page_add.gif"/>
        <add key="CancelUploadImage" value="cancel.png"/>
        <add key="RefreshImage" value="refresh.png"/>
        <add key="StopRefreshImage" value="stop_refresh.png"/>
        <add key="RSSImageFileName" value="xml.gif"/>
        <add key="ForumThreadImage" value="thread.gif"/>
        <!-- 
    this tells mono to leave out these files from JIT compilation 
    we need this because WebParts are not implemented in Mono
    -->
        <add key="MonoAspnetBatchCompileIgnorePaths" value="~/MyPage.aspx,~/Modules/WebPartModule.ascx,~/Admin/WebPartAdmin.aspx,~/Admin/WebPartEdit.aspx,~/Admin/WebPartModuleEdit.aspx"/>
        <!-- ******* end settings you should leave alone -->
    </appSettings>
    <location inheritInChildApplications="false">
        <system.web>
            <!-- 
            It is extremely important that you replace this machine key with one you generate. If you 
           use encrypted passwords, don't change the machine key after that or you will not be able 
           to decrypt passwords. There is a tool built into mojoPortal for generating a machine key
           visit Administration > Security Advisor and you will see the tool to generate a machine key.
    
        -->
            <machineKey validationKey="066C5FF7E3B368D6F966CF313C4508EB607C340D887412C78B257B6FE2DBD96B9DE583F410210EB20EC6D2EB920E67A5BBA4AEAB2E745EAD004A771AD66628B7" decryptionKey="DE26449E690E20D1525CB5773D123F6E2AEBB30D4A548887E3428E6F062DC968" validation="SHA1" decryption="AES"/>
            <xhtmlConformance mode="Strict"/>
            <!--
        example culture settings
         
        af-ZA Africaans South Africa
        bg-BG Bulgarian Bulgaria - need to fix the datepicker .js file
        zh-CN Chinese China - need to fix the datepicker .js file
        zh-CHS Simplified Chinese
        cs-CZ Czech
        en-US English US
        en-GB English United Kingdom
        es-ES Spanish Spain
        es-MX Spanish Mexico
        el-GR Greek Greece 
        da-DK Danish Denmark
        de-DE German Germany
        fi-FI Finnish Finland
        fr-FR French France
        fr-CA French Canada
        he-IL Hebrew Israel - need to fix the datepicker .js file
        it-IT Italian Italy
        ko-KR Korean Korea - need to fix the datepicker .js file
        nl-NL Dutch Netherlands
        nl-BG Dutch Belgium
        pt-BR Portuguese Brazil
        pl-PL Polish Poland
        sv-SE Swedish Sweden
        sv-FI Swedish Finland
        ru-RU Russian Russia
        tr-TR Turkish Turkey
   
        more complete list here
        http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx
         
        auto:en-US causes asp.net to try and find resources for the prefered language
        in the browser settings with fallback to the default culture, en-US in this example
    the default culture must not have any missing keys in the resource files
    en-US is the only language with no missing keys in the resource files so you should
    leave the default as en-US
        -->
            <globalization culture="auto:en-US" uiCulture="auto:en-US" requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="iso-8859-15"/>
            <siteMap configSource="mojoSiteMap.config"/>
            <webParts>
                <personalization defaultProvider="mojoPersonalizationProvider">
                    <providers>
                        <clear/>
                        <add name="mojoPersonalizationProvider" type="mojoPortal.Web.mojoPersonalizationProvider"/>
                    </providers>
                    <authorization>
                        <allow roles="Admins" verbs="enterSharedScope"/>
                    </authorization>
                </personalization>
            </webParts>
            <membership defaultProvider="mojoMembershipProvider" userIsOnlineTimeWindow="20">
                <providers>
                    <clear/>
                    <add name="mojoMembershipProvider" type="mojoPortal.Web.mojoMembershipProvider"/>
                </providers>
            </membership>
            <roleManager enabled="true" defaultProvider="mojoRoleProvider">
                <providers>
                    <clear/>
                    <add name="mojoRoleProvider" type="mojoPortal.Web.mojoRoleProvider"/>
                </providers>
            </roleManager>
            <pages validateRequest="false" enableViewStateMac="false" viewStateEncryptionMode="Auto" maxPageStateFieldLength="500">
                <namespaces>
                    <add namespace="System.Globalization"/>
                    <add namespace="mojoPortal.Business"/>
                    <add namespace="mojoPortal.Business.WebHelpers"/>
                    <add namespace="mojoPortal.Web"/>
                    <add namespace="mojoPortal.Web.Controls"/>
                    <add namespace="mojoPortal.Web.Framework"/>
                    <add namespace="mojoPortal.Web.UI"/>
                </namespaces>
                <controls>
                    <add tagPrefix="portal" namespace="mojoPortal.Web.UI" assembly="mojoPortal.Web"/>
                    <add tagPrefix="mp" namespace="mojoPortal.Web.Controls" assembly="mojoPortal.Web.Controls"/>
                    <add tagPrefix="mpe" namespace="mojoPortal.Web.Editor" assembly="mojoPortal.Web.Editor"/>
                    <add tagPrefix="goog" namespace="mojoPortal.Web.Controls.google" assembly="mojoPortal.Web.Controls"/>
                    <add tagPrefix="portal" tagName="ChildPageMenu" src="~/Controls/ChildPageMenu.ascx"/>
                    <add tagPrefix="portal" tagName="Breadcrumbs" src="~/Controls/BreadcrumbsControl.ascx"/>
                    <add tagPrefix="portal" tagName="SearchInput" src="~/Controls/SearchInput.ascx"/>
                    <add tagPrefix="portal" tagName="SiteMenu" src="~/Controls/SiteMenu.ascx"/>
                    <add tagPrefix="portal" tagName="StyleSheet" src="~/Controls/StyleSheet.ascx"/>
                    <add tagPrefix="portal" tagName="StyleSheetCombiner" src="~/Controls/StyleSheetCombiner.ascx"/>
                    <add tagPrefix="portal" tagName="MetaContent" src="~/Controls/MetaContent.ascx"/>
                    <add tagPrefix="portal" tagName="PageMenu" src="~/Controls/PageMenu.ascx"/>
                    <add tagPrefix="portal" tagName="MembershipStatistics" src="~/Controls/MembershipStatisticsControl.ascx"/>
                    <add tagPrefix="portal" tagName="OnlineStatistics" src="~/Controls/OnlineStatisticsControl.ascx"/>
                    <add tagPrefix="portal" tagName="OnlineMemberList" src="~/Controls/OnlineMemberListControl.ascx"/>
                    <add tagPrefix="portal" tagName="ModuleWrapper" src="~/Controls/ModuleWrapper.ascx"/>
                    <add tagPrefix="portal" tagName="OpenIDLoginControl" src="~/Controls/OpenIDLoginControl.ascx"/>
                    <add tagPrefix="portal" tagName="WindowsLiveLoginControl" src="~/Controls/WindowsLiveLoginControl.ascx"/>
                    <add tagPrefix="portal" tagName="SubscriberPreferences" src="~/Controls/SubscriberPreferencesControl.ascx"/>
                    <add tagPrefix="portal" tagName="GCheckoutLogList" src="~/Controls/GCheckoutLogList.ascx"/>
                    <add tagPrefix="portal" tagName="OrderStatusSetting" src="~/Controls/OrderStatusSetting.ascx"/>
                    <add tagPrefix="portal" tagName="PaymentAcceptanceMark" src="~/Controls/PaymentAcceptanceMark.ascx"/>
                    <add tagPrefix="portal" tagName="SignInOrRegisterPrompt" src="~/Controls/SignInOrRegisterPrompt.ascx"/>
                    <add tagPrefix="portal" tagName="PageLastModified" src="~/Controls/PageLastModified.ascx"/>
                    <add tagPrefix="portal" tagName="mojoRating" src="~/Controls/mojoRating.ascx"/>
                    <add tagPrefix="portal" tagName="ColorSetting" src="~/Controls/ColorSetting.ascx"/>
                    <add tagPrefix="portal" tagName="GMapTypeSetting" src="~/Controls/GMapTypeSetting.ascx"/>
                    <add tagPrefix="portal" tagName="GMapZoomLevelSetting" src="~/Controls/GMapZoomLevelSetting.ascx"/>
                    <add tagPrefix="portal" tagName="Woopra" src="~/Controls/WoopraScript.ascx"/>
                    <add tagPrefix="portal" tagName="ImageCropper" src="~/Controls/ImageCropper.ascx"/>
                    <add tagPrefix="portal" tagName="Subscribe" src="~/Controls/Subscribe.ascx"/>
                    <add tagPrefix="portal" tagName="BingSearchControl" src="~/Controls/Microsoft/BingSearchControl.ascx"/>
                    <add tagPrefix="portal" tagName="SkinList" src="~/Controls/SkinSetting.ascx"/>
                    <add tagPrefix="portal" tagName="CommentsWidget" src="~/Controls/CommentSystems/CommentsWidget.ascx"/>
                    <add tagPrefix="portal" tagName="CommentEditor" src="~/Controls/CommentSystems/Controls/CommentEditor.ascx"/>
                    <add tagPrefix="portal" tagName="EmailTemplateEditor" src="~/Controls/EmailTemplates/EmailTemplateEditor.ascx"/>
                    <add namespace="Brettle.Web.NeatUpload" assembly="Brettle.Web.NeatUpload" tagPrefix="NeatUpload"/>
                    <add namespace="Brettle.Web.NeatUpload" assembly="Brettle.Web.NeatUpload.GreyBoxProgressBar" tagPrefix="GreyBoxUpload"/>
                    <add namespace="Brettle.Web.NeatHtml" assembly="Brettle.Web.NeatHtml" tagPrefix="NeatHtml"/>
                    <add namespace="DayPilot.Web.Ui" assembly="DayPilot" tagPrefix="dp"/>
                    <add namespace="TimelineNet" assembly="TimelineNet" tagPrefix="tl"/>
                    <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
                    <add namespace="AjaxControlToolkit.HTMLEditor" assembly="AjaxControlToolkit" tagPrefix="HTMLEditor"/>
                    <add namespace="ZedGraph.Web" assembly="ZedGraph.Web" tagPrefix="zgw"/>
                    <!-- AJAX Extensions support -->
                    <!-- 3.5 .NET -->
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                </controls>
                <tagMapping>
                    <!-- this tag mapping is only needed under .NET 3.5 to use the 3.5 version of the AjaxControlToolkit
        Pages using controls from AJAX Control Tookit .NET 3.5 must use the ToolkitScriptManager, rather than the ASP.NET ScriptManager.
        -->
                    <add tagType="System.Web.UI.ScriptManager" mappedTagType="AjaxControlToolkit.ToolkitScriptManager"/>
                    <!-- uncomment this if you have the MyPage Feature installed -->
                    <add tagType="System.Web.UI.WebControls.WebParts.WebPartManager" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager"/>
                    <add tagType="System.Web.UI.WebControls.WebParts.WebPartZone" mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartZone"/>
                </tagMapping>
            </pages>
            <!-- for testing purposes only
        Some hosted environments enforce Medium trust
        this setting in the machine.config will override any setting made here
         <trust level="Medium" originUrl="" />
     For server side web requests to work we need the origin url like this:
     <trust level="Medium" originUrl=".*" />
             
        -->
            <!-- Handlers for IIS 6.0 and IIS 7.0 Classic mode -->
            <httpHandlers>
                <!-- AJAX Extensions support -->
                <remove verb="*" path="*.asmx"/>
                <!-- 3.5 .NET -->
                <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
                <add verb="*" path="TinyMCEHandler.ashx" type="mojoPortal.Web.Editor.TinyMceHttpHandler, mojoPortal.Web" validate="false"/>
                <add verb="*" path="*CaptchaImage.ashx" type="Subkismet.Captcha.CaptchaImageHandler, Subkismet"/>
                <add verb="*" path="*thumbnailservice.ashx" type="mojoPortal.Web.Controls.Album, mojoPortal.Web.Controls"/>
                <add verb="*" path="*scripthandler.ashx" type="mojoPortal.Web.Framework.ScriptHandler, mojoPortal.Web.Framework"/>
                <add verb="*" path="*csshandler.ashx" type="mojoPortal.Web.UI.CssHandler, mojoPortal.Web"/>
                <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web"/>
                <add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet"/>
                <!-- for use with Telerik RAD Editor
      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
      <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
      <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>
      -->
            </httpHandlers>
            <!-- Modules for IIS 6.0 and IIS 7.0 Classic mode -->
            <httpModules>
                <!-- Comment the this out if running in Medium Trust and NeatUpload is not installed in the GAC on the server 
        <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload, Version=1.3.4099.14420, Culture=neutral, PublicKeyToken=dd134ea1c3727369"/>
        -->
                <add name="GCheckoutBasicAuthenticationModule" type="mojoPortal.Web.GCheckoutBasicAuthenticationModule, mojoPortal.Web"/>
                <add name="BannedIPBlockingHttpModule" type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web"/>
                <add name="mojoUrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web"/>
                <add name="UrlRoutingModule" type="mojoPortal.Web.Routing.RoutingModule, mojoPortal.Web"/>
                <add name="AuthHandlerHttpModule" type="mojoPortal.Web.AuthHandlerHttpModule, mojoPortal.Web"/>
                <add name="PageNotFoundHandler" type="mojoPortal.Web.PageNotFoundHttpModule, mojoPortal.Web"/>
                <!-- comment this out out if running in Medium Trust -->
                <add name="CultureHelperHttpModule" type="mojoPortal.Web.CultureHelperHttpModule, mojoPortal.Web"/>
                <!-- AJAX Extensions support -->
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <!-- for use with Telerik RAD Editor
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
      -->
            </httpModules>
            <!-- set debugmode to false for production -->
            <compilation debug="false" defaultLanguage="C#">
                <assemblies>
                    <!-- if using Medium trust install NeatUpload in the GAC and un-comment this  -->
                    <!-- 
                <add assembly="Brettle.Web.NeatUpload, Version=1.3.3520.16252, Culture=neutral, PublicKeyToken=c95290d92c5893c8"/>
                -->
                    <!-- AJAX Extensions suport -->
                    <!-- uncomment this if you have the MyPage Feature installed -->
                    <add assembly="Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                    <!-- 3.5 .NET -->
                    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                </assemblies>
            </compilation>
            <!--mojoPortal supports either Forms authentication (Internet)
            or Windows authentication (for intranets).  Forms Authentication is
            the default.  To change to Windows authentication, comment the 
            <authentication mode="Forms"> section below, and uncomment the 
            <authentication mode="Windows"> section. 
            
            For using Active Directory or OpenLDAP use Forms authentication
      
      <authentication mode="Forms">
      <forms
                name=".mojochangeme"
                protection="All"
                timeout="50000000"
                path="/"
                
                />
    </authentication>
    
     
    <authentication mode="Windows" />
        <authorization>
            <deny users="?" />
        </authorization>
         
     <authentication mode="Forms">
            <forms loginUrl="Secure/Login.aspx" name=".mojochangeme" protection="All" timeout="50000000" path="/" cookieless="UseCookies" />
        </authentication>
    <authorization>
      <deny users="?" />
    </authorization>
    
     
            -->
            <authentication mode="Forms">
                <!-- timeout value is in minutes determines how long the authentication cookie is valid
        default 20160 is 2 weeks 1440 minutes per day x 14 days, mainly affects persistent cookie when rmember me is checked at login time
        since otherwise the cookie is a session cookie and also expires when the browser is closed
        however it does affect both persistent and non persistent cookies since the browser could be kept open for 2 weeks
        -->
                <forms name=".mojochangeme" protection="All" timeout="20160" path="/" cookieless="UseCookies"/>
                <!-- if you have an SSL certificate installed you should add requireSSL="true" to make sure that the auth cookie is not
      passed in the request header for non ssl requests:
      <forms name=".mojochangeme" protection="All" timeout="129600" path="/" cookieless="UseCookies" requireSSL="true" />
      
      -->
            </authentication>
            <!--
        <identity impersonate="false" />
             -->
            <anonymousIdentification enabled="false" cookieName=".ASPXANONYMOUS" cookieTimeout="43200" cookieSlidingExpiration="true" cookieless="UseCookies" cookieProtection="All"/>
            <!--  CUSTOM ERROR MESSAGES
          Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
          Add <error> tags for each of the errors you want to handle.

          "On" Always display custom (friendly) messages.
          "Off" Always display detailed ASP.NET error information.
          "RemoteOnly" Display custom (friendly) messages only to users not running 
           on the local Web server. This setting is recommended for security purposes, so 
           that you do not display application detail information to remote clients.
          
      
        -->
            <customErrors mode="Off" defaultRedirect="Error.htm">
                <error statusCode="413" redirect="~/NeatUpload/Error413.aspx"/>
            </customErrors>
            <!-- set enabled to true if you want to trace -->
            <trace enabled="false" writeToDiagnosticsTrace="true" requestLimit="50" pageOutput="true" traceMode="SortByTime" localOnly="false"/>
            <!-- 
            this sets the max size of an upload if the 
            UploadHttpModule is not being used (ie commented out because it can't work in mediumtrust).  In that case, the
            entire request is stored in memory so large uploads 
            could be used as a Denial of Service attack.
            use you own judgement in determining the max size of
            a request you want to allow. 
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true" />
        -->
            <httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true"/>
        </system.web>
    </location>
    <!-- 
  limit file upload size
  maxRequestLength="up to 2097151 in KBytes, defaults to 2097151
  // non upload requests should leave the defaultalone
  maxNormalRequestLength="up to 2097151 in KBytes, defaults to 4096" 
  maxUploadRate="300"
  -->
    <!-- this is if you want to throttle upload speed set the kb/sec
  maxUploadRate="100"
  -->
    <!-- Comment this out in Mediumt Trust 
<neatUpload xmlns="http://www.brettle.com/neatupload/config/2008"
  useHttpModule="true"
  maxNormalRequestLength="4096"
  maxRequestLength="2097151"
  multiRequestUploadHandlerUrl="~/NeatUpload/MultiRequestUploadHandler.ashx"
 maxUploadRate="300"
  >
</neatUpload>
-->
    <!-- this one needs to be outside of the location element because this setting should also go to child apps -->
    <system.webServer>
        <!-- Disable runtime rejection of Integrated mode applications that have legacy ASP.NET settings -->
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
    <location inheritInChildApplications="false">
        <system.webServer>
            <defaultDocument>
                <files>
                    <remove value="Default.aspx"/>
                    <add value="Default.aspx"/>
                </files>
            </defaultDocument>
            <!-- 
    info about custom error configuration
    http://msdn.microsoft.com/en-us/library/ms690497.aspx 
    its commented out below because by default IIS7 has this locked down at a parent config file, probably machine.config
    -->
            <!--
     <httpErrors errorMode="DetailedLocalOnly" defaultResponseMode="ExecuteURL" defaultPath="Error.htm">
      
    </httpErrors>
      
      -->
            <!-- Modules for IIS 7.0 Integrated mode -->
            <!-- to use extensionless urls you need to add the runAllManagedModulesForAllRequests="true"
        <modules runAllManagedModulesForAllRequests="true">
    -->
            <modules>
                <remove name="ScriptModule"/>
                <!-- Comment the this out if running in Medium Trust and NeatUpload is not installed in the GAC on the server 
      <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload, Version=1.3.4099.14420, Culture=neutral, PublicKeyToken=dd134ea1c3727369" preCondition="managedHandler"/>
      -->
                <add name="BannedIPBlockingHttpModule" type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web" preCondition=""/>
                <add name="GCheckoutBasicAuthenticationModule" type="mojoPortal.Web.GCheckoutBasicAuthenticationModule, mojoPortal.Web"/>
                <add name="mojoUrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web" preCondition=""/>
                <add name="UrlRoutingModule" type="mojoPortal.Web.Routing.RoutingModule, mojoPortal.Web" preCondition=""/>
                <add name="AuthHandlerHttpModule" type="mojoPortal.Web.AuthHandlerHttpModule, mojoPortal.Web" preCondition=""/>
                <add name="PageNotFoundHandler" type="mojoPortal.Web.PageNotFoundHttpModule, mojoPortal.Web" preCondition=""/>
                <!-- comment this out out if running in Medium Trust -->
                <add name="CultureHelperHttpModule" type="mojoPortal.Web.CultureHelperHttpModule, mojoPortal.Web" preCondition=""/>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler"/>
                <!-- For use with Telerik RAD Editor
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler"/>
      -->
            </modules>
            <!-- Handlers for IIS 7.0 Integrated mode -->
            <handlers>
                <remove name="WebServiceHandlerFactory-Integrated"/>
                <remove name="ScriptHandlerFactory"/>
                <remove name="ScriptHandlerFactoryAppServices"/>
                <remove name="ScriptResource"/>
                <!-- this is causing errors on some Win 2008 installations 
            <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
            <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
            -->
                <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="TinyMceHttpHandler" verb="*" path="TinyMCEHandler.ashx" type="mojoPortal.Web.Editor.TinyMceHttpHandler, mojoPortal.Web" preCondition="integratedMode"/>
                <add name="SubkismetCaptchaHandler" verb="*" path="*CaptchaImage.ashx" type="Subkismet.Captcha.CaptchaImageHandler, Subkismet" preCondition="integratedMode"/>
                <add name="ThumbnailServiceHandler" verb="*" path="*thumbnailservice.ashx" type="mojoPortal.Web.Controls.Album, mojoPortal.Web.Controls" preCondition="integratedMode"/>
                <add name="ScriptCombinerHandler" verb="*" path="*scripthandler.ashx" type="mojoPortal.Web.Framework.ScriptHandler, mojoPortal.Web.Framework" preCondition="integratedMode"/>
                <add name="CssHandler" verb="*" path="*csshandler.ashx" type="mojoPortal.Web.UI.CssHandler, mojoPortal.Web" preCondition="integratedMode"/>
                <add name="MathMLHandler" verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" preCondition="integratedMode"/>
                <add name="TimelineAjaxHandler" verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" preCondition="integratedMode"/>
                <!-- for use with Telerik RAD Editor 
      <add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>
      <add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode"/>
      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode"/>
      
      -->
            </handlers>
            <!--
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="3000000000" />
      </requestFiltering>
    </security>
    -->
            <!-- 
      you could uncomment the <staticContent> section and add thhis to it to make static files have a future cache
      but on some installations you may get errors using the <staticContent> section so it is commented out by default.
      <clientCache httpExpires="Sun, 29 Mar 2020 00:00:00 GMT" cacheControlMode="UseExpires" />
      -->
            <!-- http://madskristensen.net/post/Prepare-webconfig-for-HTML5-and-CSS3.aspx 
      you may need the below file extension settings to support the newer media files types
      but it cuases errors in some cases so we have them commented out
      -->
            <!--
    <staticContent>
     
     
     
      <remove fileExtension=".mp4"/>
      <remove fileExtension=".m4v"/>
      <remove fileExtension=".ogg"/>
      <remove fileExtension=".ogv"/>
      <remove fileExtension=".webm"/>
      <remove fileExtension=".oga"/>
      <remove fileExtension=".spx"/>
      <remove fileExtension=".eot" />
      <remove fileExtension=".otf" />
      <remove fileExtension=".woff" />
      <remove fileExtension=".svg" />
      <remove fileExtension=".svgz" />
      
      <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
      <mimeMap fileExtension=".m4v" mimeType="video/mp4" />
      <mimeMap fileExtension=".ogg" mimeType="video/ogg" />
      <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
      <mimeMap fileExtension=".webm" mimeType="video/webm" />
      <mimeMap fileExtension=".oga" mimeType="audio/ogg" />
      <mimeMap fileExtension=".spx" mimeType="audio/ogg" />
      <mimeMap fileExtension=".svg" mimeType="images/svg+xml" />
      <mimeMap fileExtension=".svgz" mimeType="images/svg+xml" />
      <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
      <mimeMap fileExtension=".otf" mimeType="font/otf" />
      <mimeMap fileExtension=".woff" mimeType="font/x-woff" />
     
  
      
    </staticContent>
    
     -->
        </system.webServer>
    </location>
    <system.web.extensions>
        <scripting>
            <scriptResourceHandler enableCompression="true" enableCaching="true"/>
            <webServices>
                <authenticationService enabled="true" requireSSL="false"/>
                <roleService enabled="true"/>
            </webServices>
        </scripting>
    </system.web.extensions>
    <!--
  <system.serviceModel>
    <services>
      <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors">
        <endpoint
          contract="System.Web.ApplicationServices.AuthenticationService"
          binding="basicHttpBinding"
          bindingConfiguration="userHttp"
          bindingNamespace="http://asp.net/ApplicationServices/v200" />
      </service>
      <service name="System.Web.ApplicationServices.RoleService" behaviorConfiguration="RoleServiceTypeBehaviors">
        <endpoint contract="System.Web.ApplicationServices.RoleService" binding="basicHttpBinding" bindingConfiguration="userHttp" bindingNamespace="http://asp.net/ApplicationServices/v200" />
      </service>

    </services>
    <bindings>
      <basicHttpBinding>
        <binding name="userHttp">
       
          <security mode="None" />
        </binding>
      </basicHttpBinding>
    </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="AuthenticationServiceTypeBehaviors">
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
        <behavior name="RoleServiceTypeBehaviors">
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
   
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

  </system.serviceModel>
-->
    <!-- this isn't used anymore for anything the only smtp settings used are in the <appSettings section so you can move them to user.config -->
    <!--
  <system.net>
    <mailSettings>
      <smtp from="noreply@yourdomain.com">
        <network host="localhost" port="25" password="" userName="noreply@yourdomain.com" />
      </smtp>
    </mailSettings>
  </system.net>
  -->
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="WarnAsError" value="false"/>
            </compiler>
        </compilers>
    </system.codedom>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="log4net" publicKeyToken="1b44e1d426115821"/>
                <bindingRedirect oldVersion="1.2.10.0" newVersion="1.2.11.0"/>
            </dependentAssembly>
        </assemblyBinding>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"><dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
            </dependentAssembly>
        </assemblyBinding></runtime>
    <!-- the below example can be useful if you encounter the error described in this post
  http://www.mojoportal.com/Forums/Thread.aspx?thread=6741&mid=34&pageid=5&ItemID=3&pagenumber=1#post27613
  -->
    <!--
  <system.xml.serialization>
    <xmlSerializer tempFilesLocation="D:\__projects\mojoportal\__code\joedev\Web\Data"/>
  </system.xml.serialization>
  -->
</configuration>

 ----------------------------------------------------------------------------------------------------------------------------------------------------------------

Please help me in my problem.

Best;

Mohamed Ramadan

1/2/2013 7:06:52 AM
Gravatar
Total Posts 18439

Re: error in page ChangePassword

If you did not change the <globalization element in web.config then the only other cause for this error is if you have missing keys in the /App_GlobalResources/Resource.resx file, ie if you did not upload the newest version of the resources when you upgrade or if you modified that file

You must sign in to post in the forums. This thread is closed to new posts.