日期:2014-05-17  浏览次数:20581 次

这是预编译工具生成的标记文件,不应被删除!
发布到服务器上之后出现如下乱码错误。

杩欐槸棰勭紪璇戝伐鍏风敓鎴愮殑鏍囪鏂囦欢锛屼笉搴旇鍒犻櫎!

经百度查询翻译乱码是如下错误。

这是预编译工具生成的标记文件,不应被删除!

用的万网M3型空间,.NET版本是 .NET Framework V2.0/V3.0/V3.5

以下是web.config
C# code
<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="ReplaceUrl" type="URLRewriter.Config.UrlsSection, URLRewriter"/>
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
        </sectionGroup>
      </sectionGroup>
    </sectionGroup>
  </configSections>
  <ReplaceUrl>
    <urls>
      <add virtualUrl="~/index.html" destinationUrl="~/index.aspx"/>
      <add virtualUrl="~/page/html/company.html" destinationUrl="~/page/html/company.aspx"/>
      <add virtualUrl="~/page/html/company(.+)\.html" destinationUrl="~/page/html/company.aspx?id=$1"/>
      <add virtualUrl="~/page/html/HR.html" destinationUrl="~/page/html/HR.aspx"/>
      <add virtualUrl="~/page/html/HR(.+)\.html" destinationUrl="~/page/html/HR.aspx?id=$1"/>
      <add virtualUrl="~/page/html/contact.html" destinationUrl="~/page/html/contact.aspx"/>
      <add virtualUrl="~/page/html/guestbook.html" destinationUrl="~/page/html/guestbook.aspx"/>
      <add virtualUrl="~/news/class/newslist.html" destinationUrl="~/news/class/newslist.aspx"/>
      <add virtualUrl="~/news/class/newslist(.+)\.html" destinationUrl="~/news/class/newslist.aspx?id=$1"/>
      <add virtualUrl="~/news/class/newscontent(.+)\.html" destinationUrl="~/news/class/newscontent.aspx?id=$1"/>
      <add virtualUrl="~/news/class/SolutionsList(.+)\.html" destinationUrl="~/news/class/Solutions