1) Exception Information
*********************************************
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Data: System.Collections.ListDictionaryInternal
TargetSite: Void OnLoad(System.EventArgs)
HelpLink: NULL
Source: Telerik.Web.UI
StackTrace Information
*********************************************
at Telerik.Web.UI.Editor.DialogControls.ImageManagerDialog.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
<telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" Runat="server"
DataSourceID="SqlDataSource1" DataTextField="Descrizione"
DataValueField="Id" InputType="Text" Width="330px" Delimiter=""
DropDownHeight="150px" DropDownWidth="330px">
</telerik:RadAutoCompleteBox>
Thanks
<
telerik:AjaxSetting
AjaxControlID
=
"rcmbMarket"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"rcmbApplicationField"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"ApplicationFieldSource"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
asp:TableRow
HorizontalAlign
=
"Center"
ID
=
"ProductRow3"
>
<
asp:TableCell
Width
=
"25%"
HorizontalAlign
=
"Left"
ID
=
"MarketLabelCell"
>
<
asp:Label
ID
=
"lblMarket"
runat
=
"server"
Text
=
"Market: "
></
asp:Label
>
<
asp:RequiredFieldValidator
ID
=
"vldMarket"
runat
=
"server"
ControlToValidate
=
"rcmbMarket"
ErrorMessage
=
"*"
ForeColor
=
"Red"
SetFocusOnError
=
"true"
ValidationGroup
=
"grpMain"
></
asp:RequiredFieldValidator
>
</
asp:TableCell
>
<
asp:TableCell
Width
=
"25%"
HorizontalAlign
=
"Left"
ID
=
"MarketDDLCell"
>
<
telerik:RadComboBox
ID
=
"rcmbMarket"
runat
=
"server"
AllowCustomText
=
"false"
DataSourceID
=
"MarketSource"
AutoPostBack
=
"true"
CausesValidation
=
"false"
DataTextField
=
"MarketDesc"
DataValueField
=
"pkMarketID"
AppendDataBoundItems
=
"true"
OnSelectedIndexChanged
=
"Market_Check"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
<
asp:SqlDataSource
ID
=
"MarketSource"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:QuoteProdConn %>" SelectCommand="SELECT pkMarketID, MarketDesc FROM Data.Market WHERE Active = 'True' ORDER BY MarketDesc ASC"></
asp:SqlDataSource
>
</
asp:TableCell
>
<
asp:TableCell
Width
=
"25%"
HorizontalAlign
=
"Left"
ID
=
"ApplicationLabelCell"
>
<
asp:Label
ID
=
"lblApplicationField"
runat
=
"server"
Text
=
"Application Field:"
></
asp:Label
>
<
asp:RequiredFieldValidator
ID
=
"vldAppField"
runat
=
"server"
ControlToValidate
=
"rcmbApplicationField"
ErrorMessage
=
"*"
ForeColor
=
"Red"
SetFocusOnError
=
"true"
ValidationGroup
=
"grpMain"
></
asp:RequiredFieldValidator
>
</
asp:TableCell
>
<
asp:TableCell
Width
=
"25%"
HorizontalAlign
=
"Left"
ID
=
"ApplicationTextCell"
>
<
telerik:RadComboBox
ID
=
"rcmbApplicationField"
runat
=
"server"
AllowCustomText
=
"false"
DataSourceID
=
"ApplicationFieldSource"
ExpandDirection
=
"Down"
AutoPostBack
=
"true"
DataTextField
=
"AppDescription"
DataValueField
=
"pkAppFieldID"
AppendDataBoundItems
=
"true"
CausesValidation
=
"false"
MaxHeight
=
"300px"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
<
asp:SqlDataSource
ID
=
"ApplicationFieldSource"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:QuoteProdConn %>"></
asp:SqlDataSource
>
</
asp:TableCell
>
</
asp:TableRow
>
Protected
Sub
Market_Check(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Dim
tmpItem
As
New
Telerik.Web.UI.RadComboBoxItem(
""
,
""
)
ApplicationFieldSource.SelectCommand =
"SELECT pkAppFieldID, AppDescription FROM Data.ApplicationField WHERE Active = 'True' AND fkMarketID = "
& rcmbMarket.SelectedValue.ToString() &
" ORDER BY AppDescription ASC "
ApplicationFieldSource.DataBind()
rcmbApplicationField.Items.Clear()
rcmbApplicationField.Items.Add(tmpItem)
rcmbApplicationField.DataBind()
End
Sub
This has me stumped. It just started showing up one day. We get a javascript error in some of the pages. The error is in the WebResource.axd. It seems to be referring to the html <col> fields related to the rad tree. It looks like it chokes on the columns with no width specified.
The really odd thing is that it works fine when it is launched from VStudio (debugging). It errors on our dev server when we use the unqualified server name, but works when we use the fully-qualified name (http://server/page.aspx vs http://server.domain.com/page.aspx). On production, it errors when we go through the load balancer, but not when we use the unqualified name or the non-load balanced name. So, its hard to narrow-down the conditions.
Anyway, here is the javascript error message that we are getting:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; InfoPath.3)
Timestamp: Mon, 17 Oct 2011 21:21:22 UTC
Message: Invalid argument.
Line: 14240
Char: 9
Code: 0
URI: http://servername/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_radScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.50508.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a0c8c847b-b611-49a7-8e75-2196aa6e72fa%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.2.915.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a9 ...etc
<
telerik:RadGrid
ID
=
"BusinessGrid"
runat
=
"server"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
GridLines
=
"None"
AllowPaging
=
"True"
AllowSorting
=
"True"
OnNeedDataSource
=
"BusinessGrid_NeedDataSource"
Height
=
"375px"
Width
=
"100%"
PageSize
=
"25"
>
.
.
.
<
ExportSettings
HideStructureColumns
=
"true"
IgnorePaging
=
"true"
OpenInNewWindow
=
"true"
ExportOnlyData
=
"true"
>
<
Pdf
PageWidth
=
"297mm"
PageHeight
=
"210mm"
/>
<
Pdf
PageWidth
=
"297mm"
PageHeight
=
"210mm"
/>
</
ExportSettings
>