账号通
    

账号  

密码  

3011

查看

1

回复
主题:[ICMS]都按教程设置好,打开页面提示这些东西 [收藏主题]  
hehe775 当前离线

49

主题

1

广播

0

粉丝
添加关注
级别:学前班

用户积分:570 分
登录次数:85 次
注册时间:2008/9/20
最后登录:2013/12/23
hehe775 发表于:2013/3/29 11:39:48   | 只看该作者 查看该作者主题 楼主 
科汛智能建站系统
Server Error in '/' Application.
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Source Error:

 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

 [SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +189   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +199   System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +1101   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +606   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +220   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +502   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +429   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +70   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +510   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +85   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +104   System.Data.SqlClient.SqlConnection.Open() +177   Kesion.DataBase.DBHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) +78   Kesion.DataBase.DBHelper.ExecuteDataset(CommandType commandType, String commandText) +24   Kesion.SqlDAL.DataFactory.GetDataTable(String sqlstr) +11   Kesion.Cache.DataProvidor.GetDataTable(String sqlstr) +13   Kesion.Cache.MyCache.GetLabelCache() +82   Kesion.HtmlTags.ReplaceLabels.ReplaceLabelToContent(String& FileStr) +15   Kesion.HtmlTags.ReplaceLabels.ReplaceFunAndSQLLabel(String& FileStr) +15   Kesion.HtmlTags.ReplaceLabels.ReplaceAllLabel(String& FileStr) +15   Kesion.HtmlTags.ReplaceIndex.qKDZTEedp() +152   Kesion.HtmlTags.ReplaceIndex.GetHomePage() +479   Kesion.NET.WebSite.Index.Page_Load(Object sender, EventArgs e) +2996   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45   System.Web.UI.Control.OnLoad(EventArgs e) +98   System.Web.UI.Control.LoadRecursive() +71   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4312


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2013/3/29 11:52:55   | 只看该作者 查看该作者主题 沙发 
科汛在线考试系统(NET)

提示您连接不上sql数据库,请检查下数据库哦,数据库的安全模式要设置为



sql server和window 验证混合方式。

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.28198秒 powered by KesionCMS 9.0