Error อะไรครับ ตรวจสอบ Version ของ Office Excel ให้ตรงกันด้วยครับ
Date :
2011-12-26 14:11:03
By :
webmaster
No. 2
Guest
Code
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The 'system.web' start tag on line 17 does not match the end tag of 'compilation'. Line 31, position 136.
Source Error:
Line 29: <compilation debug="true" strict="false" explicit="true"/>
Line 30: <assemblies>
Line 31: <add assembly="Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/></assemblies></compilation>
Line 32: <pages>
Line 33: <namespaces>
Error แบบนี้ครับ ที่เครื่อง server
Office ตรงกันแล้งครับ ลง Office 2003 ที่ Server แล้ว
<?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\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings>
<add name="DBSQLServer" connectionString="Provider=sqloledb;Server=LKB-DB-SERVER;Database=ENDOWEB;UID=sa;PWD=" providerName="System.Data.Odbc"/>
<add name="DBSQLServerENJPN" connectionString="Provider=sqloledb;Server=LKB-DB-SERVER;Database=ENDOJPN;UID=sa;PWD=" providerName="System.Data.Odbc"/>
<add name="DBSQLServerENGOLF" connectionString="Provider=sqloledb;Server=LKB-DB-SERVER;Database=ENDOGOLF;UID=sa;PWD=" providerName="System.Data.Odbc"/>
</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.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<compilation debug="true" strict="false" explicit="true"/>
<assemblies>
<add assembly="Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/></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="Windows"/>
<!--
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="index.html">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>