From 4d584101e46ff34b2694e88af706b9b2e92364bc Mon Sep 17 00:00:00 2001 From: CB2-20200827ONU\Administrator <liaoxujun@qq.com> Date: 星期三, 22 九月 2021 08:55:31 +0800 Subject: [PATCH] no message --- CY_ECommercePlatform/CY.WebForm/Web.config | 36 ++++++++++++++++++++++-------------- 1 files changed, 22 insertions(+), 14 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Web.config b/CY_ECommercePlatform/CY.WebForm/Web.config index e68af8c..07a3e20 100644 --- a/CY_ECommercePlatform/CY.WebForm/Web.config +++ b/CY_ECommercePlatform/CY.WebForm/Web.config @@ -1,10 +1,8 @@ -<?xml version="1.0" encoding="UTF-8"?> - +锘�<?xml version="1.0" encoding="utf-8"?> <!-- 鏈夊叧濡備綍閰嶇疆 ASP.NET 搴旂敤绋嬪簭鐨勮缁嗕俊鎭紝璇疯闂� http://go.microsoft.com/fwlink/?LinkId=169433 --> - <configuration> <configSections> <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" /> @@ -12,6 +10,8 @@ <sectionGroup name="system.web"> <section name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler,Brettle.Web.NeatUpload" allowLocation="true" /> </sectionGroup> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </configSections> <RewriterConfig> <Rules> @@ -147,7 +147,6 @@ <LookFor>~/register/firm.html</LookFor> <SendTo>~/Pages/front/RegisterFirm.aspx</SendTo> </RewriterRule> - <RewriterRule> <LookFor>~/infom/level.html</LookFor> <SendTo>~/Pages/front/InfoMemberLevel.aspx</SendTo> @@ -268,11 +267,10 @@ </exceptionPolicies> </exceptionHandling> <connectionStrings> - <add name="SqlConnection" connectionString="Data Source=localhost;Initial Catalog=ECTEST;User ID=sa;Password=123456" providerName="System.Data.SqlClient" /> + <add name="SqlConnection" connectionString="Server=CB2-20200827ONU;Database=ECTEST;Trusted_Connection=True;" providerName="System.Data.SqlClient" /> <!-- <add name="SqlConnection" connectionString="Data Source=DESKTOP-8E2C3RS;Initial Catalog=ECTEST;User ID=sa;Password=123456" providerName="System.Data.SqlClient" />--> - <!--<add name="SqlConnection" connectionString="Data Source=118.123.213.60\SQLSERVER2008;Initial Catalog=ECTEST;User ID=sa;Password=123qwe!@#;" providerName="System.Data.SqlClient" />--> @@ -293,7 +291,6 @@ <add key="LoginURL" value="" /> <add key="UploadFileURL" value="http://localhost:2641/FileUpload.aspx" /> </appSettings> - <system.web> <httpModules> <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" /> @@ -301,24 +298,20 @@ <add name="ValidaterHttpModule" type="CY_ValidaterHttpModule.ValidaterHttpModule,CY_ValidaterHttpModule" /> </httpModules> <compilation debug="true" targetFramework="4.0" /> - <authentication mode="Windows"> </authentication> - <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="/" /> </providers> </membership> - <profile> <providers> <clear /> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /> </providers> </profile> - <roleManager enabled="false"> <providers> <clear /> @@ -352,8 +345,6 @@ <add tagName="U_Info" tagPrefix="uc" src="~/Pages/common/U_Info.ascx" /> <add tagName="U_Link" tagPrefix="uc" src="~/Pages/common/U_Link.ascx" /> <add tagName="U_Login" tagPrefix="uc" src="~/Pages/common/U_Login.ascx" /> - - <add tagName="px_CompanyInfo" tagPrefix="uc" src="~/Pages/Templet/pingxuan/Shared/CompanyInfo.ascx" /> <add tagName="px_CompanyContact" tagPrefix="uc" src="~/Pages/Templet/pingxuan/Shared/CompanyContact.ascx" /> <add tagName="px_CompanyHead" tagPrefix="uc" src="~/Pages/Templet/pingxuan/Shared/CompanyHead.ascx" /> @@ -377,4 +368,21 @@ <add name="rewrite-aspx4-html" path="*.html" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> </handlers> </system.webServer> -</configuration> + <entityFramework> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> + <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> \ No newline at end of file -- Gitblit v1.9.1