'/WebApplication1' 應用程式中發生伺服器錯誤。
--------------------------------------------------------------------------------並未將物件參考設定為物件的執行個體
描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。 例外詳細資訊: System.NullReferenceException: 並未將物件參考設定為物件的執行個體原始程式錯誤:
行 20: private void Page_Load(object sender, System.EventArgs e)
行 21: {
行 22: string userPwd= Request.QueryString.Get("userPwd").ToString();
行 23: string userName=Request.QueryString.Get("userName").ToString();
行 24:
原始程式檔: c:\inetpub\wwwroot\webapplication1\login.aspx.cs 行: 22 堆疊追蹤:
[NullReferenceException: 並未將物件參考設定為物件的執行個體]
WebApplication1.login.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\webapplication1\login.aspx.cs:22
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
版本資訊: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
--------------------------------------------------------------------------------並未將物件參考設定為物件的執行個體
描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。 例外詳細資訊: System.NullReferenceException: 並未將物件參考設定為物件的執行個體原始程式錯誤:
行 20: private void Page_Load(object sender, System.EventArgs e)
行 21: {
行 22: string userPwd= Request.QueryString.Get("userPwd").ToString();
行 23: string userName=Request.QueryString.Get("userName").ToString();
行 24:
原始程式檔: c:\inetpub\wwwroot\webapplication1\login.aspx.cs 行: 22 堆疊追蹤:
[NullReferenceException: 並未將物件參考設定為物件的執行個體]
WebApplication1.login.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\webapplication1\login.aspx.cs:22
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
版本資訊: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
解决方案 »
- 【关于使用DetailsView控件时出现的“...has too many arguments specified”错误的问题】
- 急--HtmlTableCell
- 请大家推荐一个开源问卷调查系统
- 其实不难: Datalist 按条件控件控件的 imageurl?
- 抢分了换行的正则表达式是什么(文本里面的换行)
- 这个问题我都不知道怎么去该(S0S)
- 散分求发展,顺祝大家春节愉快!!!!!!
- 数据库路径问题
- 请问如何同时上传多个附件?
- 如何给LinkButton指定Target?
- 请问:“btnSubmit_Click”不是“ASP.WebForm1_aspx”的成员 这是什么原因造成的?
- asp.net中怎么对数据进行单条的编辑,用textbox而不用datagrid
行 23: string userName=Request.QueryString.Get["userName"].ToString();
你這個好象不行