我开发了一个 asp.net 项目。它正在 Visual Studio 2010 的临时服务器中连接 Visual Studio 2010,但是当我将它放到 iis 时它没有连接。请问这个问题怎么解决?我的 web.config 就是这样;
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
</system.web>
<connectionStrings>
<add name="ConnectionString"
connectionString="Server=SRV-WORKFLOW; Database=PTC;User ID = MIKES\EMREAL;Password=EMAL5616.;Trusted_Connection=True;"
providerName="System.Data.SqlClient" />
<add name ="PTCconnection"
connectionString="Server=SRV-PLM; Database=wcadmin;User ID = MIKES\EMREAL;Password=EMAL5616.;Trusted_Connection=True;"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>