账号通
    

账号  

密码  

1176

查看

0

回复
主题:[求助]我把你们升级好的程序拷贝到服务器,并恢复了数据库,还是网站崩溃 [收藏主题]  
bullvet 当前离线

129

主题

7

广播

0

粉丝
添加关注
级别:一年级

用户积分:114 分
登录次数:95 次
注册时间:2014/8/22
最后登录:2019/5/17
bullvet 发表于:2016/8/10 8:32:41   | 只看该作者 查看该作者主题 楼主 
科汛在线网校系统

我把你们升级好的程序拷贝到服务器,并恢复了数据库,还是网站崩溃,出现如下提示:

Server Error in '/' Application.
列名 'TemplateID' 无效。
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: 列名 'TemplateID' 无效。

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): 列名 'TemplateID' 无效。]   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2073422   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5063564   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33   System.Data.SqlClient.SqlDataReader.get_MetaData() +86   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +311   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +144   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +319   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94   Kesion.DataBase.DBHelper.ExecuteDataset(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +281   Kesion.DataBase.DBHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) +231   Kesion.DataBase.DBHelper.ExecuteDataset(CommandType commandType, String commandText) +60   Kesion.SqlDAL.DataFactory.GetDataTable(String sqlstr) +58   Kesion.Cache.DataProvidor.GetDataTable(String sqlstr) +46   Kesion.Cache.MyCache.GetLabelFromData() +286   Kesion.HtmlTags.ReplaceLabels.GetAllLabelCache() +355   Kesion.HtmlTags.ReplaceLabels.ReplaceLabelToContent(String& FileStr) +144   Kesion.HtmlTags.ReplaceLabels.ReplaceFunAndSQLLabel(String& FileStr) +48   Kesion.HtmlTags.ReplaceContent.GetContent() +4513   Kesion.NET.WebSite.Model_View.Page_Load(Object sender, EventArgs e) +200   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35   System.Web.UI.Control.OnLoad(EventArgs e) +91   System.Web.UI.Control.LoadRecursive() +74   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022

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