Server Error in '/' Application.

Error converting data type nvarchar to numeric.

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 numeric.

Source Error:


Line 26:         
Line 27: 			rd = cmd.ExecuteReader
Line 28:             If (rd.Read()) Then
Line 29:                 NoticeDetails = rd.GetValue(5).ToString
Line 30:                 NoticeDetails = "<ul class='timeline-v2' style='list-style:none;'><li class='equal-height-columns'>" & _

Source File: D:\Plesk\Vhosts\pkcollegecontai.ac.in\admission.pkcollegecontai.ac.in\notice-page-ug.aspx.vb    Line: 28

Stack Trace:


[SqlException (0x80131904): Error converting data type nvarchar to numeric.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +2573710
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +6014662
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +297
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4291
   System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) +242
   System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) +275
   System.Data.SqlClient.SqlDataReader.Read() +35
   notice_page.Page_Load(Object sender, EventArgs e) in D:\Plesk\Vhosts\pkcollegecontai.ac.in\admission.pkcollegecontai.ac.in\notice-page-ug.aspx.vb:28
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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