I've narrowed it down to the following chunk of code :
Trace.Write("Checking the Profile...")
If Profile.TJBSoftware.GoogleCityChoice IsNot Nothing AndAlso Profile.TJBSoftware.GoogleCityChoice <> "" Then
Trace.Write("Running LINQ query...")
Trace.Write("Is _Cities nothing?" + IsNothing(_Cities))
Trace.Write("Is Profile nothing?" + IsNothing(Profile))
Dim _NewList = From _Values As String In _Cities _
Select _Values _
Order By Not _Values.Equals(Profile.TJBSoftware.GoogleCityChoice.ToString), _Values.Equals(Profile.TJBSoftware.GoogleCityChoice.ToString)
rpt_Cities.DataSource = _NewList
rpt_Cities.DataSource = _Cities
If I go to Weather.aspx, it'll work through everything no problem. If I go to 'Weather', it causes an exception after the trace statement for "Checking the Profile", indicating that Profile or it's sub group is Nothing.
Am I missing something in the web.config perhaps? I don't understand why the Profile is available for the.aspx page, but not for the non-suffixed address?
Hope this helps!