显示运行时错误 [英] Showing Runtime Error
本文介绍了显示运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<?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>
<add name="amitpandeyConnectionString" connectionString="Data Source=118.67.248.175\21;Integrated Security=True;User ID=Expresscargo;Password=;Encrypt=True;Application Name=600" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<authentication mode="Forms">
<forms loginUrl="login.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
</credentials>
</forms>
</authentication>
<compilation debug="true" targetFramework="4.5">
<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>
<httpRuntime targetFramework="4.5"/>
</system.web>
</configuration>
我得到了
I am getting
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
将数据放入FTP后出现此错误。它在本地计算机上运行良好。我无法解决问题。
This error after I put my data on FTP. its working Fine on local computer. I am not able to workout the problem.
推荐答案
Open tag of <CONNECTIONSTRINGS>
it will be as below.
<CONNECTIONSTRINGS>
<ADD name="amitpandeyConnectionString" providerName="System.Data.SqlClient" connectionString="Data Source=118.67.248.175\21;Integrated Security=True;User ID=Expresscargo;Password=;Encrypt=True;Application Name=600"></ADD>
</CONNECTIONSTRINGS>
这篇关于显示运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文