Global (Web.Config)

  File: ~/web.config
 

The web.Config file consists of many customizable parameters for OfficeClip. The root Web.Config file is in the root directory of OfficeClip.

                
<?xml version="1.0" ?>
<configuration>
<!-- Application specific settings. Make sure you create a backup copy
         of this file before attempting to make any change. Also, please read
         the documentation before attempting to change this file. Changing this
         file in an inconsistent manner may corrupt information in files and
         database in a way that may not be recovered. -->
 <connectionStrings>
<!-- The connection string required for making the
 database connection --> <add name="DbString" connectionString="server=(local)\OfficeClip;uid=sa;pwd=***;database=officeclip71"/>
 </connectionStrings>
 <appSettings>
   <!-- The timezone where the server is installed -->
 <add key="serverTimeZone" value="12"/>
   <!-- Server where OfficeClip is installed, this should always be pointed to the external address, not
                the internal ip address behind he firewall -->
 <add key="HOSTStr" value="localhost"/>
   <!-- This unique id is usually used for the extranet users. Every extranet form will have
                this id embedded on it which would be checked when the form is posted to the OfficeClip server.
                If this number is changed all the extranet forms will not work unless they are regenerated.-->
 <add key="UniqueId" value="AZSDDEQSADD"/>
   <!-- Registered Company where the product is installed -->
 <add key="RegisteredCompany" value=""/>
   <!-- Shows version number on the title of the browser -->
 <add key="ShowVersionOnTitle" value="On"/>
   <!-- The email server name, making it empty does not send emails, The key EmailServerName
                is the primary server and will always be used to send emails. If the primary server fails
                to send email, the secondary servers EmailServerName1 and EmailServerName2 will attempt
                to send emails. These backup servers should be uncommented if needed -->
 <add key="EmailServerName" value="server=smtpauth.earthlink.net;user=officeclip@earthlink.net;password=abcd1234;port=25;timeout=90"/>
        <add key="EmailServerName1" value=""/>
        <add key="EmailServerName2" value=""/>
<!-- The email format -->     <add key="MAILFormat" value="text"/>
   <!-- The Virtual Directory Path from where officeclip is accessed -->
 <add key="VDIRPath" value="/wap/"/>
   <!-- Whether the normal notification screen need to be shown -->
 <add key="successNotification" value="On"/>
   <!-- 
                        Logs the messages in the windows 2000 event log, possible values are
                        Off - Logging is off
                        Level1 - Only errors and exceptions are logged
                        Level2 - errors, exceptions and warnings are logged
                        Level3 - errors, exceptions, warnings and information are logged
                        On - same as Level3
                 -->
 <add key="messageLogging" value="On"/>
   <!-- 
                        Logs the login attempts in the windows 2000 event log, possible values are
                        Off - Audit Logging is off
                        Level1 - Only failed login attempts are logged
                        Level2 - failed and successful login attempts are logged
                        On - same as Level2
                 -->
 <add key="auditLogging" value="Off"/>
   <!-- Specify the date and time format used everywhere -->
 <add key="dateTimeStringFormat" value="MMM dd, yyyy hh:mm tt"/>
        <add key="timeStringFormat" value="hh:mm tt"/>
        <add key="dateStringFormat" value="MMM dd, yyyy"/>
   <!--
                        This key represents the default format in which Microsoft Excel recognizes 
                        a string as a valid date object. The way to find it is 
                                1. open Excel
                                2. in a blank cell type in 02/01/2002 
                                3. Hit ENTER Key.
                        If it automatically changes to 01-Feb-02 then your locale format is actually
                        dd-MMM-yy but put the extra yy in the year and keep it dd-MMM-yyyy. 
                        This field is being used for CSV export of data which can be viewed in Excel. 
                -->
 <add key="MSXLDateStringFormat" value="dd-MMM-yyyy"/>
   <!-- Valid Tracker udf date string format. Allowed values are: 
                 MM/dd/yyyy, dd/MM/yyyy or yyyy/MM/dd with '-' or '/' or '.' as delimiter -->
 <add key="TrackerUdfDateStringFormat" value="MM/dd/yyyy"/>
   <!-- Set the culture for Resources -->
 <add key="resourceCulture" value="en-US"/>
   <!-- Enter the password strength for creating the new password.
        The value is separated by semicolon. The first element is the minimum number of characters
        in the password, the second expression is the minimum number of non-alphanumeric characters
        in the password and the last element is the regular expression for the password. Note that you
        cannot put ; as a part of the regular expression. An empty value denotes that no password strength
        is enforced. All values are not required but the values should be put in the order specified. i.e.
        you cannot put the third value without putting the first and second value. -->
 <add key="passwordStrength" value="5;1;"/>
   <!-- Provides the email address for the support personnel -->
 <add key="supportEmailAddress" value="ocsupport@officeclip.com"/>
<!-- Provides the email address for the site administrator
 -->  <add key="adminEmailAddress" value="octest1@officeclip.com"/>
   <!-- Provides the email address for the second level support, this could be the partner
                email address or OfficeClip's support email address -->
 <add key="ocEmailAddress" value="ocsupport@officeclip.com"/>
   <!-- Flag to indicate whether this is a Box Version (On/Off) -->
 <add key="boxVersion" value="On"/>
   <!-- This is where the custom pages are stored. It is advised that all custom
                files should be stored in the custom folder (and project) in a similar directory
                structure as that of officeclip. The value here is relative to the App_Data folder -->
 <add key="customXML" value="custom/custom.xml"/>
   <!-- Enables or Disables the crystal report on the installed machine. This is useful if
                the crystal reports is not installed where the officeclip server is running -->
 <add key="crystalReportsAvailable" value="On"/>
   <!-- Activates or deactivates the OCReminder Service -->
 <add key="reminderActivated" value="On"/>
   <!-- Guard for misusing the demo account in officeclip.com. The value is
                the group id of the demo group, the value of -1 disables it -->
 <add key="demoGuard" value="-1"/>
   <!-- Whether the bulk upload is allowed on documents, For bulk upload to work, this key need to be set. Also,
                it is only available to the administrator of a group when he/she logs in the server. It cannot be run from
                the remote machine. -->
 <add key="AllowBulkUpload" value="On"/>
   <!-- Shows the track time button in some applications that can be used to track time required to do certain
                events. These times are then linked with time and expense reporting system 
                The Values are:
                        Off - Track Time feature is disabled
                        On - Track Time feature is enabled with no restriction
                        Restricted - Track time feature is enabled, but an user (except administrators) cannot see other user's information-->
 <add key="ShowTracktime" value="Restricted"/>
   <!-- Activates integration with LDAP Server. If there is value specified
                for this key, then the value for the next key i.e. LDAPAdminAccount 
                must be specified for the whole integration to work properly. 
                The Format of this key is 
                        
                        server=<ServerName>;account=<AccountName>;authtype=<AuthenticationType>;userdn=<UserDN>
                        example : "server=officeclip.net;account=administrator"
                
                <ServerName> is the either the hostname or the ip address of the ldap server (Mandatory).
                <AccountName> is the account name of the OfficeClip site administrator on the ldap server 
                              similar to adminEmailAddress above (Mandatory).
                <AuthenticationType> is the authentication type supported by the LDAP Server. Default is Secure (Optional).
                                                Possible values for AuthenticationType are
                                                0   = None 
                                                1   = Secure (Default)
                                                2   = SecureSocketsLayer
                                                4   = ReadonlyServer
                                                16  = Anonymous
                                                64  = Signing
                                                32  = FastBind
                                                128 = Sealing
                                                256 = Delegation
                                                512 = ServerBind
                                                Choose appropriate numeric value based on what kind of authentication is enabled on your server.
                <UserDN> is the base distinguished name. For example "o=Officeclip, dc=OfficeClip, dc=net" (Optional).
                -->
 <add key="LDAPAuthenticationString" value=""/>
   <!-- If the disk space quota is enabled, this key determines 
                     how much amout of disk space (in MB) to be allocated for each account -->
 <add key="diskSpaceQuota" value="100"/>
   <!-- Set the additional account disk space (MB) increment in document management -->
 <add key="docAccountDiskSpace" value="50"/>
   <!-- Include spell checker to check the spelling -->
 <add key="SpellCheckerAvailable" value="On"/>
   <!-- Introduce a delay before sending each emails, this is done because some smtp provider (like earthlink)
                will not allow many emails to be sent quickly. This value introduces an artificial wait between sending 
                each emails. The unit is in milliseconds. -->
 <add key="WaitBetweenSendMail" value="1000"/>
   <!-- The javascript new window paramenter when the login screen opens up on a new window.
        The value can either be Off (Login on the same window) or the javascript parameter string.
        -->
 <add key="LoginPopupParameters" value="scrollbars=1,resizable=1,toolbar=0,location=0,directories=0,menubar=0,status=1"/>
        <add key="BusyIconActivate" value="on"/>
        <add key="ShowQuickHelp" value="on"/>
        <add key="OfficeClipWebsite" value="http://www.officeclipbeta.com"/>
   <!-- OCReminder Service callback period in minutes -->
 <add key="reminderTimeSpan" value="5"/>
 </appSettings>

 <system.diagnostics>
        <assert assertuienabled="true"/>
        <trace autoflush="true" indentsize="2">
         <listeners>
         </listeners>
        </trace>
        <switches>
         <add name="FunctionCall" value="0"/>
         <add name="Debug" value="0"/>
         <add name="AssertFail" value="0"/>
        </switches>
 </system.diagnostics>

 <location path="systemTest.aspx">
        <system.web>
         <authorization>
                <allow users="*" />
         </authorization>
        </system.web>
 </location>

 <location path="PreCompile.aspx">
        <system.web>
         <authorization>
                <allow users="*" />
         </authorization>
        </system.web>
 </location>

 <location path="newsite.aspx">
        <system.web>
         <authorization>
                <allow users="*" />
         </authorization>
        </system.web>
 </location>

 <system.web>
        <httpHandlers>
         <add verb="GET" path="CrystalImageHandler.aspx" 
                type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, 
                Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
        </httpHandlers>
        <pages theme="Default"/>
        <!--<httpModules>
         <add name="ChangeTheme" type="OfficeClip.HttpHandlers.ChangeTheme, OfficeClip"/>
        </httpModules>-->
        <authentication mode="Forms">
         <forms name="aspxauth" loginUrl="default.aspx" protection="All" timeout="9000" path="/" 
                         requireSSL="false" slidingExpiration="true" 
                         cookieless="UseCookies" enableCrossAppRedirects="false" />
        </authentication>
        <trace enabled="true" />
        <sessionState mode="InProc" 
                cookieless="false" timeout="9000"/>
        <authorization>
         <deny users="?"/>
        </authorization>
        <compilation debug="true">
         <assemblies>
                <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="Microsoft.VisualStudio.QualityTools.Resource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
         </assemblies>
        </compilation>
        <customErrors mode="RemoteOnly" defaultRedirect="general/errors/generic.aspx">
         <error statusCode="300" redirect="general/errors/300.aspx"/>
         <error statusCode="305" redirect="general/errors/305.aspx"/>
         <error statusCode="400" redirect="general/errors/400.aspx"/>
         <error statusCode="401" redirect="general/errors/401.aspx"/>
         <error statusCode="404" redirect="general/errors/404.aspx"/>
         <error statusCode="405" redirect="general/errors/405.aspx"/>
         <error statusCode="406" redirect="general/errors/406.aspx"/>
         <error statusCode="407" redirect="general/errors/407.aspx"/>
         <error statusCode="408" redirect="general/errors/408.aspx"/>
         <error statusCode="409" redirect="general/errors/409.aspx"/>
         <error statusCode="410" redirect="general/errors/410.aspx"/>
         <error statusCode="411" redirect="general/errors/411.aspx"/>
         <error statusCode="412" redirect="general/errors/412.aspx"/>
         <error statusCode="413" redirect="general/errors/413.aspx"/>
         <error statusCode="414" redirect="general/errors/414.aspx"/>
         <error statusCode="415" redirect="general/errors/415.aspx"/>
         <error statusCode="416" redirect="general/errors/416.aspx"/>
         <error statusCode="417" redirect="general/errors/417.aspx"/>
         <error statusCode="500" redirect="general/errors/500.aspx"/>
         <error statusCode="501" redirect="general/errors/501.aspx"/>
         <error statusCode="502" redirect="general/errors/502.aspx"/>
         <error statusCode="503" redirect="general/errors/503.aspx"/>
         <error statusCode="504" redirect="general/errors/504.aspx"/>
         <error statusCode="505" redirect="general/errors/505.aspx"/>
        </customErrors>
   <!--  GLOBALIZATION This section sets the globalization settings of the application. -->
 <globalization culture="auto" uiCulture="auto"  requestEncoding="utf-8" responseEncoding="utf-8"/>
   <!-- FULLY QUALIFY URL FOR CLIENT REDIRECTS
                        Some mobile devices require that the URL for client redirects be fully qualified. -->
 <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="81920" executionTimeout="1200"/>
        <webParts>
         <personalization defaultProvider="OfficeClipPersonalizationProvider">
                <providers>
                 <add name="OfficeClipPersonalizationProvider"
                         type="OfficeClip.Service.Provider.OcPersonalizationProvider, OfficeClip.Service"/>
                </providers>
                <authorization>
                 <allow verbs="enterSharedScope" users="*"/>
                </authorization>
         </personalization>
        </webParts>
 </system.web>
</configuration>

                


 Send us your feedback  Copyright© OfficeClip LLC 2000-2006, All Rights Reserved 

 OfficeClip provides a suite of web-based enterprise software such as Web Contact Manager, Issue and Bug Tracker, Time and Expense Reporting, Free Group Calendar, Free Document Sharing and other applications.