Server Error in '/' Application.

The parameterized query '(@home_page nvarchar(4000))SELECT * FROM locales WHERE home_page' expects the parameter '@home_page', which was not supplied.

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: The parameterized query '(@home_page nvarchar(4000))SELECT * FROM locales WHERE home_page' expects the parameter '@home_page', which was not supplied.

Source Error:


Line 15:             reader.Close()
Line 16:         Catch ex As Exception
Line 17:             Throw ex
Line 18:             table = Nothing
Line 19:             'HttpContext.Current.Response.Redirect(HttpContext.Current.Request.RawUrl)

Source File: D:\Inetpub\vhosts\jangkarpacific.com\httpdocs\App_Code\DataAccessManager.vb    Line: 17

Stack Trace:


[SqlException (0x80131904): The parameterized query '(@home_page nvarchar(4000))SELECT * FROM locales WHERE home_page' expects the parameter '@home_page', which was not supplied.]
   DataAccessManager.ExecuteSelectCommand(DbCommand command) in D:\Inetpub\vhosts\jangkarpacific.com\httpdocs\App_Code\DataAccessManager.vb:17
   Locales..ctor(String Home_Page) in D:\Inetpub\vhosts\jangkarpacific.com\httpdocs\App_Code\System\SiteSettings.vb:38
   BasePage.OnPreInit(EventArgs e) in D:\Inetpub\vhosts\jangkarpacific.com\httpdocs\App_Code\System\BasePages\BasePage.vb:292
   System.Web.UI.Page.PerformPreInit() +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +302


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