Jeremy, on Jan 19 2006, 08:26 PM, said:
works for me. It will take an hour or so before the change shows up. I also added Trailhead.
Well now if I am logged in when I try to display
http://www.geocaching.com/seek/cache_detai...c4-7c22855fb8c9 I get
Server Error in '/' Application.
Object variable or With block variable not set.
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.NullReferenceException: Object variable or With block variable not set.
Source Error:
Line 20: <tr bgcolor="#EEEEEE">
Line 21: <td valign="top" align="left"><%# DisplayViewMethodImage(Container.DataItem.ViewMethod) %></td>
Line 22: <td valign="top" align="left" height="16" width="16"><img src="<%# Container.DataItem.WptType.ImageUrl(0) %>" width=16 height=16 border=0 alt='<%# Container.DataItem.WptType.Name %>'></td>
Line 23: <td valign="top" align="left"><%# Container.DataItem.PrefixCode %></td>
Line 24: <td valign="top" align="left"><%# Container.DataItem.WptName %></td>
Source File: E:\Inetpub\20060110.geocaching.com\controls\GpxWptListControl.ascx Line: 22
Stack Trace:
[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +929
ASP.GpxWptListControl_ascx.__DataBind__control5(Object sender, EventArgs e) in E:\Inetpub\20060110.geocaching.com\controls\GpxWptListControl.ascx:22
System.Web.UI.Control.OnDataBinding(EventArgs e) +66
System.Web.UI.Control.DataBind() +26
System.Web.UI.Control.DataBind() +86
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +127
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +477
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +48
System.Web.UI.WebControls.Repeater.DataBind() +23
Geocaching.UI.GpxWptListControl.DisplayWaypoints() +523
Geocaching.UI.cache_details.BuildCachePage() +3348
Geocaching.UI.cache_details.Page_UserLoggedIn(Object sender, EventArgs e) +56
Geocaching.UI.WebformBase.IsLoggedIn() +1082
Geocaching.UI.cache_details.Page_Load(Object sender, EventArgs e) +387
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +744
Now if I am not logged in the page comes up.