Server Error in '/' Application.

Error converting data type nvarchar to int.

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: Error converting data type nvarchar to int.

Source Error:


Line 893:        catch (Exception err)
Line 894:        {
Line 895:            throw (err);
Line 896:        }
Line 897:    }

Source File: e:\FTPSites\amity_edu\App_Code\mainclass.cs    Line: 895

Stack Trace:


[SqlException (0x80131904): Error converting data type nvarchar to int.]
   mainclass.RepeaterDatashow_SP(Repeater Repeater, String stored_proc, Hashtable parameters) in e:\FTPSites\amity_edu\App_Code\mainclass.cs:895
   usercontrols_admission.Page_Load(Object sender, EventArgs e) in e:\FTPSites\amity_edu\usercontrols\admission.ascx.cs:33
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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