| | |
| | | <?xml version="1.0"?> |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | |
| | | <!-- |
| | | 有关如何配置 ASP.NET 应用程序的详细信息,请访问 |
| | |
| | | <exceptionPolicies> |
| | | <add name="ExceptionPolicy"> |
| | | <exceptionTypes> |
| | | <add name="All Exceptions" type="System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" |
| | | postHandlingAction="NotifyRethrow"> |
| | | <add name="All Exceptions" type="System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" postHandlingAction="NotifyRethrow"> |
| | | <exceptionHandlers> |
| | | <add name="Logging Exception Handler" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" |
| | | logCategory="General" eventId="100" severity="Error" title="Enterprise Library Exception Handling" |
| | | formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling" |
| | | priority="0" /> |
| | | <add name="Logging Exception Handler" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" logCategory="General" eventId="100" severity="Error" title="Enterprise Library Exception Handling" formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling" priority="0" /> |
| | | </exceptionHandlers> |
| | | </add> |
| | | </exceptionTypes> |
| | |
| | | </exceptionPolicies> |
| | | </exceptionHandling> |
| | | <connectionStrings> |
| | | <add name="SqlConnection" |
| | | connectionString="Data Source=192.168.1.99\CYSQL;Initial Catalog=PrintECTest;User ID=sa;Password=cysql2008" |
| | | providerName="System.Data.SqlClient" /> |
| | | <add name="SqlConnection" connectionString="Data Source=192.168.1.99\CYSQL;Initial Catalog=PrintECTest;User ID=sa;Password=cysql2008" providerName="System.Data.SqlClient" /> |
| | | <!--<add name="SqlConnection" |
| | | connectionString="Data Source=.\SQLEXPRESS;database = ECTEST;Integrated security = true;" |
| | | providerName="System.Data.SqlClient" />--> |
| | |
| | | <membership> |
| | | <providers> |
| | | <clear/> |
| | | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" |
| | | enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" |
| | | maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" |
| | | applicationName="/" /> |
| | | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /> |
| | | </providers> |
| | | </membership> |
| | | |
| | |
| | | </pages> |
| | | <neatUpload useHttpModule="true" maxNormalRequestLength="600000" maxRequestLength="600000" defaultProvider="FilesystemUploadStorageProvider"> |
| | | <providers> |
| | | <add name="FilesystemUploadStorageProvider" |
| | | type="Brettle.Web.NeatUpload.FilesystemUploadStorageProvider, Brettle.Web.NeatUpload"/> |
| | | <add name="FilesystemUploadStorageProvider" type="Brettle.Web.NeatUpload.FilesystemUploadStorageProvider, Brettle.Web.NeatUpload" /> |
| | | </providers> |
| | | </neatUpload> |
| | | <httpRuntime requestValidationMode="2.0" maxRequestLength="400000" executionTimeout="3600" /> |
| | |
| | | <system.webServer> |
| | | <modules runAllManagedModulesForAllRequests="true"/> |
| | | </system.webServer> |
| | | <runtime> |
| | | <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="Microsoft.Practices.Unity" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-2.1.505.0" newVersion="2.1.505.0" /> |
| | | </dependentAssembly> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="Microsoft.Practices.Unity.Interception" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-2.1.505.0" newVersion="2.1.505.0" /> |
| | | </dependentAssembly> |
| | | </assemblyBinding> |
| | | </runtime> |
| | | |
| | | </configuration> |