<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<sectionGroup name="ajaxNet">
<section name="ajaxSettings" type="AjaxPro.AjaxSettingsSectionHandler,AjaxPro.2" requirePermission="false" restartOnExternalChanges="true"/>
</sectionGroup>
<sectionGroup name="Flanders">
<section name="HttpCompress" type="Flanders.Library.Modules.HttpCompress.Configuration, HttpCompress" requirePermission="false" restartOnExternalChanges="true"/>
</sectionGroup>
<section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</configSections>
<ajaxNet>
<ajaxSettings>
<urlNamespaceMappings useAssemblyQualifiedName="false">
<!--
Set the attribute useAssemblyQualifiedName to true to enable
use of assemblies placed in the GAC by using the full assembly
qualified name.
To hide internal knowledge of assemblies, classes and namespace
you can override the name of the virtual http endpoints.
<add type="Namespace.Class1,Assembly" path="mypath" />
-->
</urlNamespaceMappings>
<jsonConverters>
<!--
This section can be used to add new IJavaScriptConverters to the
Ajax.NET Professional engine. If you want to disable built-in
converters you can use the remove tag.
<remove type="Namespace.Class1,Assembly"/>
<add type="Namespace.Class2,Assembly"/>
-->
</jsonConverters>
<!--
Set the enabled attribute to true to get Stack, TargetSize and Source
information if an exception has been thrown.
-->
<debug enabled="false"/>
<!--
This is the default configuration used with Ajax.NET Professional. You
can put there your static JavaScript files, or remove the path attribute
to completly disable the files.
<scriptReplacements>
<file name="core" path="~/ajaxpro/core.ashx" />
<file name="prototype" path="~/ajaxpro/prototype.ashx" />
<file name="converter" path="~/ajaxpro/converter.ashx" />
</scriptReplacements>
-->
<!-- <encryption cryptType="" keyType="" /> -->
<!--
Set the enabled attribute to true to enable the use of an Ajax.NET Professional
token. This will send a token to the client that will be used to identify if the
requests comes from the same PC.
-->
<token enabled="true" sitePassword="P@ssw0rd"/>
<!--
The oldStyle section can be used to enable old styled JavaScript code or
functions that are not used any more.
-->
</ajaxSettings>
</ajaxNet>
<Flanders>
<HttpCompress compressionType="gzip">
<ExcludedPaths>
</ExcludedPaths>
<ExcludedMimeTypes>
<add mime="image/gif"/>
<add mime="image/jpeg"/>
</ExcludedMimeTypes>
</HttpCompress>
</Flanders>
<!--
Application Setting can be created with ASP.NET access page
After that they can be used as global variables
-->
<appSettings>
<!-- The Application Name -->
<add key="sAppName" value="SandBox"/>
<add key="SiteMap" value="WebA.sitemap"/>
<!--
Change this to the Follwing when Live
<add key="JSDebugger" value="window.onerror = handleError;"/>
-->
<add key="JSDebugger" value="//window.onerror = handleError;"/>
<!-- Change Version to Current Published Revesion -->
<add key="Version" value="3"/>
<!-- Change Version to Current Published Date you updated -->
<add key="RevDate" value="08 Aug 2008"/>
<!--
EazyWorks specific
http://vcs.eazyworks.com/viewvc/ezmes?view=revision
-->
<!-- Depends if this we are removing out name from teh App -->
<add key="sAppCopyRightNotice" value="Copyright 2005-2009 EazyWorks Inc.."/>
<!-- The Default Email for System Messages -->
<add key="sAppDefaultEmail" value="This email address is being protected from spambots. You need JavaScript enabled to view it."/>
<!-- The Default Email for System Error Messages -->
<add key="sAppSystemErrorEmail" value="This email address is being protected from spambots. You need JavaScript enabled to view it."/>
<!-- The Meta Title for the Application Browser Window -->
<add key="meta_Title" value="EazyWorks EZ-MES Manufacturing Execution System"/>
<!-- The Meta Description for the Application Browser Window -->
<add key="meta_Description" value="EazyWorks Affordable Solutions for Manufacturing Automation. EZ-MES Manufacturing Execution System"/>
<!-- The Meta Keywords for the Application Browser Window -->
<add key="meta_Keywords" value="MES Software, Manufacturing Execution System"/>
<!-- The Meta Creator for the Application Browser Window -->
<add key="meta_Creator" value="EazyWorks Inc."/>
<!-- The Meta Publisher for the Application Browser Window -->
<add key="meta_Publisher" value="EazyWorks Inc."/>
<!-- The Meta CopyRight for the Application Browser Window -->
<add key="meta_Copyright" value="EazyWorks Inc."/>
<!-- The Version Control Software Default Path for the Application -->
<add key="sAppVCSAddress" value="http://vcs.eazyworks.com/viewvc/ezmes?view=revision"/>
<!-- The Default Web Path for the Application -->
<add key="DefaultWebPath" value="http://test.EazyWorks.com/"/>
<!-- The Application Home Page -->
<add key="sAppCompanyHomePage" value="www.EazyWorks.com"/>
<!-- The Application Log in Suffix -->
<add key="LogInSuffix" value="@tt.com"/>
<!-- The Application Active Directoy Suffix -->
<add key="sADSuffix" value="@eazyworks.com"/>
<!-- The Application company Name that Made the Software -->
<add key="sAppCompany" value="EazyWorks Inc."/>
<!-- The Application company Adress1 that Made the Software -->
<add key="sAppCompanyAddress1" value="517 S Myrtle Ave., Suite 202"/>
<!-- The Application company Adress2 that Made the Software -->
<add key="sAppCompanyAddress2" value="Monrovia, CA 91016"/>
<!-- The Meta Disctributor for the Application Browser Window -->
<add key="meta_Distributor" value="Global"/>
<!-- The Meta Rating for the Application Browser Window -->
<add key="meta_Rating" value="General"/>
<!-- The Meta Robots for the Application Browser Window -->
<add key="meta_Robots" value="All"/>
<!-- The Meta Revisit for the Application Browser Window -->
<add key="meta_Revisit-After" value="7 days"/>
<!-- The Excel Template File Name Need to check if still used Legacy Code -->
<add key="ExcelTmp" value="BLANK.xls"/>
<!-- The SubDomain of the Application goes with the default web path, you would put www if ran on root domain or nothing for a IP -->
<add key="subDomain" value="Mensa"/>
<!-- The Default Query Size for the Application -->
<add key="iQuerySize" value="100000"/>
<!-- The Ideal Time Log out for the Application default of 15 in Live system and 4 in deveolpment Value in Minutes -->
<add key="iIdelLogout" value="4"/>
<!-- The Ideal Time Warning for the Application default of 5 in Live system and 0 in deveolpment Value in Minutes -->
<add key="iIdelLogoutWarning" value="0"/>
<!-- The Maximum number of Parts of FRs from to prevent system issues -->
<add key="iMaxPRperFRLimit" value="100"/>
<!-- The Maximum number of Objects per s Round trip to the server, is used to tune system performance -->
<add key="iJobDwndMax" value="75"/>
<!-- The Minutes to lock out user if max bad password attemptes is Excedded value in Minutes -->
<add key="ezAutoUnlock" value="5"/>
<!-- OBSOLETE -->
<add key="ezAutolock" value="60"/>
<!-- SQL Adapter Connection Timeout value in Seconds -->
<add key="ezConnectionTestTimeout" value="6"/>
<!-- Event Que Check Interval value in Minutes -->
<add key="ezEventQueCheck" value="30"/>
<!-- VP Counter for the Invetory Level Counter for the system, value in Seconds -->
<add key="ezPartCountRefreshInterval" value="600"/>
<!-- Seconds before the SQL Archive is Purged -->
<add key="iIntSQL" value="60"/>
<!-- Number of Records before the SQL Archive is Purged, this will limite the number of Files in the SQL Archive to this number -->
<add key="iIntSQLArchivePurge" value="10"/>
<!-- Number of Records before the R Que is Purged, this will limite the number of Files in the R Folder to this number -->
<add key="iIntRQuePurge" value="10"/>
<!-- Number of Records before the R Que is Purged, this will limite the number of Files in the R Folder to this number -->
<add key="iIntRQueCoutPurge" value="1"/>
<!-- Number of Seconds between writes to the SQL Server -->
<add key="iSQLWriteBatch" value="20"/>
<!-- Changes the Application to use a DataSet vs a Data Reader -->
<add key="bUseDataReader" value="true"/>
<!-- Locks a new user twhen they are created -->
<add key="bLockUserWhenCreated" value="true"/>
<!-- Uses the Thread Pool instead of Instance generated by the System, another perfoance type setting for tuning -->
<add key="bUseThreadPool" value="false"/>
<!-- Caches the JSON object sent tothe client for each EZJob, this will use up a lot of RAM in exchange for reducing the CPU Load, more Tuneing Options -->
<add key="bCacheJobsJSON" value="true"/>
<!-- Force the Application to use SSL -->
<add key="bForceSSL" value="false"/>
<!-- Force the Application to Garbadge collect, only use when very limited on RAM .net should handle this fine -->
<add key="bGarbageCollect" value="false"/>
<!-- Minimum Batch size before a write is isseud to the SQL Server -->
<add key="iWaitBatchSize" value="50"/>
<!-- Check Active Directory when Logging in, this links to the AD Domian defined elseware -->
<add key="bADLogInCheck" value="false"/>
<!-- Array of Equipment Part States -->
<add key="arEquipmentTypes" value="['Production', 'Standby', 'Engineering', 'Scheduled Down', 'Unscheduled-Down', 'Non-Scheduled Time', 'Scrapped']"/>
<!-- Array of Equipment Part States that cannot be Consumed -->
<add key="arEquipmentTypesCannotConsume" value="['Scheduled Down', 'Unscheduled-Down', 'Non-Scheduled Time', 'Scrapped']"/>
<!-- Array of Part States -->
<add key="arPartTypes" value="['RMI', 'FGI', 'Hold', 'WIP', 'Shipped', 'Scrapped', 'Consumed', 'ORD', 'DEL']"/>
<!-- Array of End Part States -->
<add key="arEndPartTypes" value="['RMI', 'FGI', 'Hold', 'WIP', 'Shipped', 'Scrapped', 'Consumed', 'ORD', 'DEL']"/>
<!-- Array of Part States that cannot be Consumed -->
<add key="arPartTypesCannotConsume" value="['Shipped', 'Scrapped', 'Consumed', 'ORD', 'DEL']"/>
<!-- This is the Source Script File rev and is changed to force the new Javascript to be downloaded from the application -->
<add key="sScriptsRev" value="38"/>
<!-- Mail SMTP Settings on if to use SSL connection -->
<add key="EnableSsl" value="true"/>
<!-- Enable Google Gears -->
<add key="bGears" value="true"/>
<!-- Enable Google Apps log in-->
<add key="bGApps" value="false"/>
<!-- Use Doc Merger call vs Combine Docs -->
<add key="bUseMerge" value="true"/>
<!-- FR_Obj Defaults sSDNVInputWidth Default:100 -->
<add key="sSDNVInputWidth" value="100"/>
<!-- FR_Obj Defaults sSDNVLblInputWidth Default:200-->
<add key="sSDNVLblInputWidth" value="200"/>
<!-- Array of Excluded Client Attributes -->
<add key="arClientExcludedDataTypes" value="['sPSR_obj_hash_NVR', 'sPSRPRarPRParents', 'sFSR_obj_hash_PSR']"/>
<!--<add key="arClientExcludedDataTypes" value="[]"/>-->
<add key="bEnableFastLoad" value="true"/>
<add key="arFastLoad" value="['USER_Flow', 'UG_Flow', 'UGL_Flow', 'MG_Flow', 'MI_Flow', 'VP_Flow', 'PD_Flow', 'SD_Flow', 'SF_Flow', 'IO_Flow', 'FD_Flow', 'NV_Flow', 'DC_Flow', 'DL_Flow', 'SP_Flow', 'AC_Flow', 'TR_Flow', 'TRL_Flow', 'EV_Flow', 'EVL_Flow', 'PR_Flow', 'FR_Flow']"/>
<!--<add key="arFastLoad" value="['USER_Flow', 'UG_Flow', 'UGL_Flow', 'MG_Flow', 'MI_Flow']"/>-->
</appSettings>
<connectionStrings>
<remove name="LocalSqlServer"/>
<!--
EZ_Yildun
EZ_deneb
EZ_Dev_zmills
EZ_Dev_Marcel
EZ_Kajam
EZ_Izar
EZ_jabbah
EZ_Ursa
EZ_yud
EZ_Deneb_SandBox
Define the Connection String to the databse
Database=EZ_Ursa; - DB Databse Name you should Connect to
Server= EZ01 - Should be changed to what server you SQL server Location URL, IP, or LocalHost
-->
<add name="LocalSqlServer" connectionString="Server=EZ01;Database=EZ_Dev_zmills; User ID=ez;Password=ez;Trusted_Connection=False;Connect Timeout=30;Pooling=true;" providerName="System.Data.SqlClient"/>
<add name="ADConnectionString" connectionString="LDAP://EZ01"/>
</connectionStrings>
<system.web>
<webServices>
<soapExtensionTypes>
<add type="Microsoft.Web.Services2.WebServicesExtension,Microsoft.Web.Services2, Version=2.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" priority="1" group="0"/>
</soapExtensionTypes>
</webServices>
<compilation defaultLanguage="c#" debug="true" strict="false" explicit="true">
<codeSubDirectories>
<add directoryName="CSCode"/>
</codeSubDirectories>
<assemblies>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<!--Comment Next line if used on Server without Office installed -->
<add assembly="Microsoft.Office.Interop.Word, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>
</assemblies>
</compilation>
</system.web>
<!--Mail Settings for App -->
<system.net>
<mailSettings>
<smtp from="This email address is being protected from spambots. You need JavaScript enabled to view it.">
<!--Need to be toggled based on where it is installed-->
<network host="smtp.gmail.com" port="587" userName="This email address is being protected from spambots. You need JavaScript enabled to view it." password="zacksz_"/>
</smtp>
</mailSettings>
</system.net>
<system.web>
<httpRuntime executionTimeout="90" maxRequestLength="819200" useFullyQualifiedRedirectUrl="false" requestLengthDiskThreshold="8192"/>
<trust level="Full"/>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<trace enabled="false"/>
<roleManager enabled="true"/>
<siteMap defaultProvider="MenuA_SiteMap" enabled="true">
<providers>
<add name="MenuA_SiteMap" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="WebA.sitemap" securityTrimmingEnabled="true"/>
</providers>
</siteMap>
<!-- These following lines include standard libraries (API's? Classes?),
so you don't have to include it at the beginning of source pages -->
<pages>
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Caching"/>
<add namespace="System.Web.SessionState"/>
<add namespace="System.Web.Security"/>
<add namespace="System.Web.Profile"/>
<add namespace="System.Web.UI"/>
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user. You can change this setting
with the ASP.NET config page. You can choose between:
1) From the Internet (Forms)
2) From a local network (Windows)
The cookie name has to be defined and has to be different from the
other application to preven cross talk
To make it really secure you can use the following setting in the forms line:
requireSSL="true"
This will disable to use the application on a local host.
sqlConnectionString="data source=DELL_ZACKSZ;user id=ez; password=ez"
Server=DELL_ZACKSZ;Database=EZ_Mensa;User ID=ez;Password=ez;Trusted_Connection=False;
ec2-67-202-38-54.compute-1.amazonaws.com
Change this code here to use SQL Based Session state ,
Server and Databse attributes should be checked
<sessionState
mode="SQLServer"
allowCustomSqlDatabase="true"
sqlConnectionString="Server=EZ01;Database=EZ_ASPState;User ID=ezASPState;Password=ezASPState;Trusted_Connection=False;"
cookieless="false"
timeout="30"
/>
<sessionState
mode="SQLServer"
allowCustomSqlDatabase="true"
sqlConnectionString="Server=localhost;Database=EZ_ASPState;User ID=ezASPState;Password=ezASPState;Trusted_Connection=False;"
cookieless="false"
timeout="30"
/>
-->
<!-- You should remove this line and change with SQL Based Connection string when on a production system , this is set up for RAM basssed Session that would dump the Logged in user if the Process or Thread restarts -->
<sessionState timeout="2"></sessionState>
<authentication mode="Forms">
<forms loginUrl="~/Default.aspx" protection="Validation" timeout="10" name=".EZ_TEST" slidingExpiration="true"/>
</authentication>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="10" minRequiredPasswordLength="3" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
</providers>
</membership>
<httpModules>
<add name="HttpCompressModule" type="Flanders.Library.Modules.HttpCompress.HttpModule,HttpCompress"/>
</httpModules>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
Mode should be change from RemoteOnly to On for debugging
For publishing:
<customErrors mode="RemoteOnly" defaultRedirect="~/ErrorPages/GenericError.aspx">
Debuggin if Web Errors occur:
<customErrors mode="Off" defaultRedirect="">
-->
<customErrors mode="RemoteOnly" defaultRedirect="~/ErrorPages/GenericError.aspx">
<error statusCode="404" redirect="~/ErrorPages/Error404.aspx"></error>
</customErrors>
<urlMappings enabled="true">
<!--Settings for CSS You will need to change this Rev or v=99 to a higher number if you want to force the CSS to roll out immediatly -->
<add url="~/Normal.ashx" mappedUrl="~/Eazy.ashx?FileType=text/css&Folder=True&v=11&FilePath=/App_Themes/CSSFiles/"/>
<add url="~/LogIn.aspx" mappedUrl="~/Default.aspx"/>
</urlMappings>
</system.web>
<location path="ajaxpro">
<system.web>
<httpHandlers>
<add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/>
</httpHandlers>
<!--
If you need to have Ajax.NET Professional methods running on the
login page you may have to enable your own authorization configuration
here.
-->
<authorization>
<allow users="*"/>
</authorization>
</system.web>
<microsoft.web.services2>
<messaging>
<maxRequestLength>256000</maxRequestLength>
</messaging>
</microsoft.web.services2>
</location>
<!--<location>
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>-->
<!--
If you are using Ajax.NET Professional with forms authentication you may need
to allow ASP.NET to have access to following three files.
-->
<location path="ajaxpro/prototype.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="ajaxpro/core.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="ajaxpro/converter.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="App_Offline.htm">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="_App_Offline.htm">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="App_Themes">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="Normal.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="favicon.ico">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="tiny_mce">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="Eazy.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="EazyScripts.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="Eazy_Gears.ashx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="EazyWebService.asmx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="gears_init.js">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>