<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    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 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
<system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
  <appSettings>
    <add key="PrintItRoot" value="\\10.5.0.10\iis\Sites\goprint2.com\www\" />
    <add key="PrintItTempDataPath" value="\\10.5.0.10\iis\Sites\goprint2.com\temp\" />
    <add key="PrintItStoreDataPath" value="\\10.5.0.10\iis\Sites\goprint2.com\storeData" />
    <add key="PrintItStoreDataVirtualDirectory" value="storeData" />
    <add key="JobFilesPath" value="\\10.5.0.10\iis\Sites\goprint2.com\jobFiles" />
    <add key="JobFilesVirtualDirectory" value="jobFiles" />
    <add key="PartnetWS.Service" value="http://services.racadtech.com/PartnerService/Service.asmx" />
    <add key="TransactionService.Service" value="http://services.racadtech.com/TransactionService/Service.asmx" />
    <add key="com.racadtech.services.PrintDriverGenerator" value="http://services.racadtech.com/RacadService/PrintDriverGenerator.asmx" />
    <add key="com.racadtech.services.PDFConverter" value="http://services.racadtech.com/RacadService/PDFConverter.asmx" />
    <add key="com.racadtech.services.GoPrint2Client" value="http://services.racadtech.com/RacadService/GoPrint2Client.asmx" />
  </appSettings>
  <connectionStrings>
    <add name="PrintItConnectionString" connectionString="Data Source=10.5.0.20;Initial Catalog=PrintIt;Persist Security Info=True;User ID=PrintIt;Password=Mi0Ey0BS0kiAleX95lE0Wg" providerName="System.Data.SqlClient" />
    <add name="EpowerSDCConnectionString" connectionString="Data Source=10.5.0.20;Initial Catalog=PrintthreeSDC;Persist Security Info=True;User ID=sa;Password=Mi0Ey0BS0kiAleX95lE0Wg" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <system.web>
    <trust level="Full" originUrl="" processRequestInApplicationTrust="true" />
    <customErrors mode="Off" />
    <!--<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
			<error statusCode="403" redirect="NoAccess.htm"/>
			<error statusCode="404" redirect="FileNotFound.htm"/> 
		</customErrors> -->
    <trace enabled="true" />
    <compilation debug="true">
      <assemblies>
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
      </assemblies>
    </compilation>
    <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" />
        <add namespace="System.Web.UI.WebControls" />
        <add namespace="System.Web.UI.WebControls.WebParts" />
        <add namespace="System.Web.UI.HtmlControls" />
      </namespaces>
    </pages>
    <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
    <authentication mode="Forms">
      <forms timeout="1440" />
    </authentication>
    <authorization>
      <allow users="*" />
    </authorization>
    <!--
            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.
        -->
    <siteMap defaultProvider="PrintItSiteMapProvider">
      <providers>
        <clear />
        <add name="PrintItSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/PrintIt.sitemap" />
        <add name="PrintItFrSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/PrintItFr.sitemap" />
        <add name="PrintItEsSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/PrintItEs.sitemap" />
      </providers>
    </siteMap>
    <membership defaultProvider="PrintItMembershipProvider" userIsOnlineTimeWindow="1440">
      <providers>
        <clear />
        <add name="PrintItMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="PrintItConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" applicationName="PrintItApplication" maxInvalidPasswordAttempts="100" />
      </providers>
    </membership>
    <roleManager defaultProvider="PrintItRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="1440" cookiePath="/" cookieRequireSSL="true" cookieSlidingExpiration="true" cookieProtection="All">
      <providers>
        <clear />
        <add name="PrintItRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="PrintItConnectionString" applicationName="PrintItApplication" />
      </providers>
    </roleManager>
    <profile enabled="true" defaultProvider="PrinItSqlProvider">
      <providers>
        <clear />
        <add name="PrinItSqlProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="PrintItConnectionString" applicationName="PrintItApplication" />
      </providers>
      <properties>
        <add name="StoreId" type="integer" />
        <add name="StoreName" type="string" />
        <add name="StoreType" type="string" defaultValue="" />
        <add name="FName" type="string" />
        <add name="LName" type="string" />
        <add name="Address" type="string" />
        <add name="Address1" type="string" />
        <add name="City" type="string" />
        <add name="State" type="string" />
        <add name="Zip" type="string" />
        <add name="Country" type="string" />
        <add name="Phone" type="string" />
        <add name="PhoneExt" type="string" />
        <add name="Fax" type="string" />
        <add name="PackageId" type="integer" />
        <add name="PressTypeId" type="integer" />
        <add name="PaymentTypeId" type="integer" />
        <add name="StartBillingDate" type="datetime" />
        <add name="Language" type="string" />
        <add name="ExpirationDate" type="datetime" />
      </properties>
    </profile>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
    </httpModules>
    <httpHandlers>
      <add verb="*" path="*.ref" type="PartnerHandler" />
      <add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
      <add verb="*" path="UploaderUpload.aspx" type="com.racadtech.Framework.Modules.Uploader.UploadHandler" />
      <add verb="*" path="UploaderResume.aspx" type="com.racadtech.Framework.Modules.Uploader.ResumeHandler" />
      <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
    </httpHandlers>
        <sessionState mode="StateServer" stateNetworkTimeout="600" timeout="1440" />
        <httpRuntime maxRequestLength="3145728" />
  </system.web>
  <system.net>
    <mailSettings>
      <smtp from="support@goprint2.com">
        <network host="127.0.0.1" />
      </smtp>
    </mailSettings>
  </system.net>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".dmg" mimeType="application/octet-stream" />
        </staticContent>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="3221225472" />
            </requestFiltering>
        </security>
        <rewrite>
            <rules>
                <rule name="Digital Data Corp" enabled="true" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions logicalGrouping="MatchAny">
                        <add input="{HTTP_HOST}" pattern="^www.digitaldatacorp.com$" />
                        <add input="{HTTP_HOST}" pattern="^digitaldatacorp.com$" />
                    </conditions>
                    <action type="Redirect" url="https://digitaldatacorp.goprint2.com/" />
                </rule>
            </rules>
        </rewrite>
        <defaultDocument>
            <files>
                <clear />
                <add value="default.aspx" />
                <add value="index.php" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>
