【樓主】dugujun2012-11-13 10:11
» “/”應(yīng)用程序中的服務(wù)器錯(cuò)誤。--------------------------------------------------------------------------------未將對(duì)象引用設(shè)置到對(duì)象的實(shí)例。 說明: 執(zhí)行當(dāng)前 Web 請(qǐng)求期間,出現(xiàn)未處理的異常。請(qǐng)檢查堆棧跟蹤信息,以了解有關(guān)該錯(cuò)誤以及代碼中導(dǎo)致錯(cuò)誤的出處的詳細(xì)信息。 異常詳細(xì)信息: System.NullReferenceException: 未將對(duì)象引用設(shè)置到對(duì)象的實(shí)例。源錯(cuò)誤: 執(zhí)行當(dāng)前 Web 請(qǐng)求期間生成了未處理的異常?梢允褂孟旅娴漠惓6褩8櫺畔⒋_定有關(guān)異常原因和發(fā)生位置的信息。 堆棧跟蹤: [NullReferenceException: 未將對(duì)象引用設(shè)置到對(duì)象的實(shí)例。] DJcontroll.SqlDatahelp..cctor() in C:\Users\Administrator\Desktop\若雅的網(wǎng)站\無錫黨建\dangjian(兼容Ie6+偽靜態(tài))\DJcontroll\SqlDatahelp.cs:14[TypeInitializationException: “DJcontroll.SqlDatahelp”的類型初始值設(shè)定項(xiàng)引發(fā)異常。] DJcontroll.SqlDatahelp.ExecuteDs(String Sqlstr, SqlParameter[] param) in C:\Users\Administrator\Desktop\若雅的網(wǎng)站\無錫黨建\dangjian(兼容Ie6+偽靜態(tài))\DJcontroll\SqlDatahelp.cs:174 DJcontroll.con_new_s.GetNewByClassID(Int32 class_id, Int32 lenth) in C:\Users\Administrator\Desktop\若雅的網(wǎng)站\無錫黨建\dangjian(兼容Ie6+偽靜態(tài))\DJcontroll\con_new_s.cs:103 WEB.index.BindInfo() in C:\Users\Administrator\Desktop\若雅的網(wǎng)站\無錫黨建\dangjian(兼容Ie6+偽靜態(tài))\WEB\index.aspx.cs:43 WEB.index.Page_Load(Object sender, EventArgs e) in C:\Users\Administrator\Desktop\若雅的網(wǎng)站\無錫黨建\dangjian(兼容Ie6+偽靜態(tài))\WEB\index.aspx.cs:36 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) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 報(bào)錯(cuò)如上,誰知道該問題該怎么解決啊。如有高手能不能嘍一眼,給點(diǎn)提示啊改動(dòng)
作者:正義番茄2012-11-13 10:20
代碼有錯(cuò)唄。