Roro_Zou
新新人类
帖子
12
精华
0
无忧币 25
积分 20
阅读权限 20
|
发表于:2007-9-10 16:06
web.config配置如下 ,在别的机子上试都可以 ,这台我装2003、XP的系统都不行
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="autoLink.DataAccessLayer" type="autoLink.DataAccessLayer.Bases.NetTiersServiceSection, autoLink.DataAccessLayer" allowDefinition="MachineToApplication" restartOnExternalChanges="true"/>
<section name="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
</configSections>
<appSettings/>
<connectionStrings>
<!--<add name="autoLink.DataAccessLayer.ConnectionString" connectionString="Data Source=127.0.0.1;Initial Catalog=autoLinkData0820;User ID=sa assword=dba"/>-->
<add name="autoLink.DataAccessLayer.ConnectionString" connectionString="Data Source=.;Initial Catalog=chinaoverseas0820;User ID=sa assword=87903913"/>
<!--<add name="autoLink.DataAccessLayer.ConnectionString" connectionString="Data Source=.;Initial Catalog=autoLinkData0820;User ID=sa assword=1qaz"/>-->
</connectionStrings>
<autoLink.DataAccessLayer defaultProvider="SqlNetTiersProvider">
<providers>
<!--
*** SqlClient Provider ***
connectionStringName: sqlclient connection string to the db
useStoredProcedure: if true, indicates that we use the stored procedures, otherwise, we use parametrized queries that are embedded.
-->
<add name="SqlNetTiersProvider" type="autoLink.DataAccessLayer.SqlClient.SqlNetTiersProvider, autoLink.DataAccessLayer.SqlClient" connectionStringName="autoLink.DataAccessLayer.ConnectionString" providerInvariantName="System.Data.SqlClient" entityFactoryType="autoLink.Entity.EntityFactory" useEntityFactory="true" enableEntityTracking="true" enableMethodAuthorization="false" useStoredProcedure="false" defaultCommandTimeout="30"/>
<!--
*** WebserviceClient Provider ***
The url parameter indicates the webservices url (ex: http://localhost/autoLink/autoLinkServices.aspx)
<add
name="WsNetTiersProvider"
type="autoLink.DataAccessLayer.WebServiceClient.WsNetTiersProvider, autoLink.DataAccessLayer.WebServiceClient"
url="/autoLinkServices.asmx" />
-->
</providers>
</autoLink.DataAccessLayer>
<system.web>
<!--<pages styleSheetTheme="default" theme="default">
<controls>
<add tagPrefix="data" namespace="autoLink.Web.Data" assembly="autoLink.Web"/>
<add tagPrefix="data" namespace="autoLink.Web.UI" assembly="autoLink.Web"/>
</controls>
</pages>-->
<!--<httpModules>
<add name="EntityTransactionModule" type="autoLink.Web.Data.EntityTransactionModule"/>
</httpModules>-->
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
<!--
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="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<!-- Settings of WebbUpload -->
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="1024000" executionTimeout="900"/>
<httpModules>
<add name="WebbHttpModule" type="Webb.WAVE.Controls.Upload.WebbHttpModule, Webb.WAVE.Controls.Upload"/>
</httpModules>
<httpHandlers>
<add verb="*" path="progress.ashx" type="Webb.WAVE.Controls.Upload.WebbUploadStatusHandler, Webb.WAVE.Controls.Upload"/>
</httpHandlers>
<!-- ========================= -->
<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="60"/>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<xhtmlConformance mode="Legacy"/>
</system.web>
<enterpriseLibrary.ConfigurationSource selectedSource="File Configuration Source">
<sources>
<add name="File Configuration Source" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" filePath="entlib.config"/>
</sources>
</enterpriseLibrary.ConfigurationSource>
</configuration>
|
 论坛活动:测测你对IT技术大会的了解指数(赠微软礼品、无忧币) |
|