Server Error in '/' Application.

Could not find stored procedure 'Thuvienhinh_Album_sl'.

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: Could not find stored procedure 'Thuvienhinh_Album_sl'.

Source Error:


Line 26:                 pages = Convert.ToInt32(Request.QueryString.Get("page"));
Line 27:             string id_L = Request.QueryString.Get("id");
Line 28:             DataSet ds = DAO.AlbumDAO.Thuvienhinh_Album_sl(Session["NN"].ToString(), id_L, pages.ToString(), pagesize.ToString());
Line 29:             if (ds.Tables[0].Rows.Count > 0)
Line 30:             {

Source File: d:\vhost\website\tracomeco\Tracomeco\Thuvienanh_detail.aspx.cs    Line: 28

Stack Trace:


[SqlException (0x80131904): Could not find stored procedure 'Thuvienhinh_Album_sl'.]
   ProCOMPlus.ProAppCOMPlus.ClsSqlGetDataValues.GetDataSet(String strProcedure, String[] arrParaNames, String[] arrValues, CommandType CmdType) in E:\HDNET\CAC DU AN\Tracomeco.com\tracomeco\DAO\ProAppCOMPlus\ClsSqlGetDataValues.cs:100
   DAO.AlbumDAO.Thuvienhinh_Album_sl(String NN, String id_L, String pageNum, String pageSize) in E:\HDNET\CAC DU AN\Tracomeco.com\tracomeco\DAO\Album.cs:87
   Thuvienanh_detail.Data() in d:\vhost\website\tracomeco\Tracomeco\Thuvienanh_detail.aspx.cs:28
   Thuvienanh_detail.Page_Load(Object sender, EventArgs e) in d:\vhost\website\tracomeco\Tracomeco\Thuvienanh_detail.aspx.cs:18
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1602


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