• Vui lòng đọc nội qui diễn đàn để tránh bị xóa bài viết
  • Tìm kiếm trước khi đặt câu hỏi

giúp em sửa lỗi khi up asp lên host

Trao đổi về lập trình Web Forms, Javascript với ASP.NET

Điều hành viên: vietluyen, vuathongtin

hoangducanh_pt
Bài viết: 9
Ngày tham gia: T.Sáu 04/01/2013 9:23 pm
Has thanked: 5 time

giúp em sửa lỗi khi up asp lên host

Gửi bàigửi bởi hoangducanh_pt » CN 10/04/2016 8:13 am

rang em upload như sau : http://ducanhitpt-001-site1.1tempurl.com/

nó bao lỗi em chẳng biết sửa như thế nào cả

file config như thế này . các anh giup em với ạ

Mã: Chọn hết

<?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
\Windows\Microsoft.Net\Framework\vx.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGro up, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandle rSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGr oup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSec tion, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSectio n, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServic eSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
<!--url rewrite-->
<section name="urlrewritingnet" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter"/>
</configSections>
<urlrewritingnet rewriteOnlyVirtualUrls="true" contextItemsPrefix="QueryString" defaultProvider="RegEx" xmlns="http://www.urlrewriting.net/schemas/config/2006/07">
<rewrites>
<!--url rewrite Tieng Viet-->
<add name="trang-chu" virtualUrl="^~/vn/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Vn/Default.aspx" ignoreCase="true"/>
<add name="en" virtualUrl="^~/en/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/En/Default.aspx" ignoreCase="true"/>
<add name="ge" virtualUrl="^~/ge/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Ge/Default.aspx" ignoreCase="true"/>
<add name="rf" virtualUrl="^~/fr/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Rf/Default.aspx" ignoreCase="true"/>
<add name="ru" virtualUrl="^~/ru/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Ru/Default.aspx" ignoreCase="true"/>
<add name="tq" virtualUrl="^~/cn/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Tq/Default.aspx" ignoreCase="true"/>
<add name="Oops" virtualUrl="^~/bao-tri.html" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/Error/bao-tri.htm" ignoreCase="true"/>
</rewrites>
</urlrewritingnet>
<appSettings>
<add key="PageSize" value="20"/>
<add key="PageSize0" value="20"/>
<add key="PageSize1" value="15"/>
<add key="PageSize2" value="20"/>
<add key="PageSize4" value="4"/>
<add key="CartPersistDays" value="10"/>
<add key="SiteName" value="Sai Gon Emerald Resort"/>
<add key="author" value="SaiGonEmeraldResort.com.vn"/>
<add key="title" value="Sai Gon Emerald Resort."/>
<add key="keywords" value="Sai Gon EmeraldResort"/>
<add key="description" value="Sai Gon Emerald Resort"/>
<add key="image" value="../Design/imgfooter_right.png"/>
<add key="og:type" value="article"/>
<add key="og:url" value="www.saigonemeraldresort.com.vn"/>
<add key="og:title" value="Sai Gon Emerald Resort"/>
<add key="og:description" value="Sai Gon Emerald Resort"/>
</appSettings>
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=SQL5017.HostBuddy.com;Initial Catalog=DB_9FAE55_sge;User Id=DB_9FAE55_sge_admin;Password=da19892908;"/>
<!--server=.\SQLEXPRESS;database=saigonemeraldtt;uid=saigonemera ld;pwd=S@igonemerald2014 -->
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<httpRuntime executionTimeout="240" maxRequestLength="61440" />
<customErrors mode="Off"/>
<!--<customErrors mode="RemoteOnly" defaultRedirect="~/bao-tri.html"/>-->
<machineKey validationKey="A0301A849CDCB2E58D9C1741B8FDBD48D018A8923007F 9FD62C2AD34F2FF47C148F43D6414016A8A862BC1F0B46D9DC0ED75C8735 D6F3AACFB86B5B51DEA8186" decryptionKey="51B16E568D089AE9E63BD32B2A47AD7E3A68D5E592543 9726BE2339D865546D3" validation="SHA1" decryption="AES" />
<sessionState mode="InProc" cookieless="false" timeout="30"/>
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms timeout="43200"/>
</authentication>
<!--
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.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<!--url rewrite-->
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<!--url rewrite-->
<remove name="UrlRewriteModule"/>
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter"/>
<remove name="Session"/>
<add name="Session" type="System.Web.SessionState.SessionStateModule"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>



Quay về “Lập trình Web với ASP.NET”

Đang trực tuyến

Đang xem chuyên mục này: Không có thành viên nào trực tuyến.3 khách