Server Error in '/' Application.

workID

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.IndexOutOfRangeException: workID

Source Error:


Line 252:                worksTxt.Append("<div class=""HLsmall"" style=""margin-left:0px;""></div>" & vbNewLine)
Line 253:                worksTxt.Append("<div class=""work"" style="" line-height:2em"">" & vbNewLine)
Line 254:                worksTxt.Append("Τίτλος: <a class=""data"" href=""workDetails.aspx?workID=" & rs("workID") & """>" & util.fixTitle(rs("workTitle")) & "</a><br />" & vbNewLine)
Line 255:                workGenrestr = util.WorkGenreTree(rs("workGenre"), True)
Line 256:                If workGenrestr <> "" Then worksTxt.Append("Είδος: " & workGenrestr & "<br />" & vbNewLine)

Source File: E:\AADATA\WEB\NT\playDetails.aspx.vb    Line: 254

Stack Trace:


[IndexOutOfRangeException: workID]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +6314078
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +249
   System.Data.SqlClient.SqlDataReader.get_Item(String name) +23
   playDetails.Page_Load(Object sender, EventArgs e) in E:\AADATA\WEB\NT\playDetails.aspx.vb:254
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975