“/”应用程序中的服务器错误。

遇到以零作除数错误。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 遇到以零作除数错误。

源错误:


行 25: 	{
行 26: 
行 27: 		base.OnInit(e);
行 28: 		string htmlDocument = this.CreateDocument();
行 29: 

源文件: d:\wwwroot\liuyangfcwnew\wwwroot\Aspx\Ant\CommunitySale.aspx    行: 27

堆栈跟踪:


[SqlException (0x80131904): 遇到以零作除数错误。]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950906
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846891
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
   System.Data.SqlClient.SqlDataReader.HasMoreRows() +157
   System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +197
   System.Data.SqlClient.SqlDataReader.Read() +9
   System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) +78
   System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +164
   System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +353
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +164
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94
   Ant.Data.DbHelper.ExecuteDataset(DbConnection O1O10O011l, CommandType OO0l1110l1l, String O00001O1Ol1, DbParameter[] O1O1Ol1l001O0O00O) +189
   Ant.Data.DbHelper.ExecuteDataset(CommandType O1O100lO0Ol, String O1O110lO110, DbParameter[] O0lOOOlll0010OO1O) +117
   Ant.Data.DataProc.dbRecord(String O0OOl1l, String O1100lO11110, String OlOl1l00l, String OOll1O0, Int32 O0101O10, Int32 O1ll1l000, SByte O00l0O1, SByte O010OlO01, String O1l000O1) +95
   Ant.Data.DataProc.ShowRecord(String Ol010l0, String OOl0lOOOOll0, String OOO1Ol011, String O100OO0, Int32 OO0OO0Ol, Int32 OlO1101l1, SByte O0010OO, SByte O1OlOll0O, String O1OOl0O0) +90
   Ant.Data.DataProc.ShowLoop(String O1Ol0l011l1, Int32 O01O11O, String Ol1O1O, String OO01O0Ol0l, String Ol0Ol01, DataTable& O101l00, UInt64& O010111l010) +14128
   Ant.Web.BaseCom.CommunitySale.OnInit(EventArgs O) +960
   ASP.aspx_ant_communitysale_aspx.OnInit(EventArgs e) in d:\wwwroot\liuyangfcwnew\wwwroot\Aspx\Ant\CommunitySale.aspx:27
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


版本信息: Microsoft .NET Framework 版本:2.0.50727.3662; ASP.NET 版本:2.0.50727.3668