Server Error in '/' Application.

Cannot set column 'PageName'. The value violates the MaxLength limit of this column.

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.ArgumentException: Cannot set column 'PageName'. The value violates the MaxLength limit of this column.

Source Error:


Line 353:        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
Line 354:        Public Overloads Sub AddPageHitCounterRow(ByVal row As PageHitCounterRow)
Line 355:            Me.Rows.Add(row)
Line 356:        End Sub
Line 357:        

Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a7a1e033\6a7adb64\App_Code.awllrrcf.2.vb    Line: 355

Stack Trace:


[ArgumentException: Cannot set column 'PageName'. The value violates the MaxLength limit of this column.]
   System.Data.DataColumn.CheckMaxLength(DataRow dr) +2031147
   System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent) +142
   System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException) +265
   System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos, Boolean fireEvent) +254
   System.Data.DataRowCollection.Add(DataRow row) +20
   PageHitCounterDataTable.AddPageHitCounterRow(PageHitCounterRow row) in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a7a1e033\6a7adb64\App_Code.awllrrcf.2.vb:355
   bllPageHitCounters.Add(String PageName, Int32 HitCount, Nullable`1 LastUpdate) in D:\clients\dlos25\dlos.org\www\App_Code\bllPageHitCounters.vb:43
   bllPageHitCounters.IncrementPageHitCounter(String PageName) in D:\clients\dlos25\dlos.org\www\App_Code\bllPageHitCounters.vb:76
   counter.Page_Load(Object sender, EventArgs e) in D:\clients\dlos25\dlos.org\www\counter.ascx.vb:10
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433