(Boah)
2/21/2002 12:47:00 PM
What's wrong with my ibuyspy portal? (Mobile)
The desktop version work fine!
How can I fix the mobile version?
The adres:
http://localhost/portalvscs/MobileDefault.aspx
The error:
Server Error in '/PortalVSCS' Application.
--------------------------------------------------------------------------------
There is no row at position 0.
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: There is no row at
position 0.
Source Error:
Line 139: </portal:ChildPanel>
Line 140: <portal:ChildPanel id="AnnouncementDetails" runat="server">
Line 141: <portal:Title runat="server" Text='<%#
ds.Tables[0].Rows[currentIndex]["Title"] %>' ID="Title3" NAME="Title3"
/>
Line 142: <mobile:TextView runat="server" Text='<%#
ds.Tables[0].Rows[currentIndex]["Description"] %>' ID="Textview1"
NAME="Textview1" />
Line 143: <mobile:Link runat="server" NavigateUrl='<%#
ds.Tables[0].Rows[currentIndex]["MobileMoreLink"] %>' Visible='<%#
ds.Tables[0].Rows[currentIndex]["MobileMoreLink"] != String.Empty %>'
Text="read more" ID="Link1" NAME="Link1" />
Source File: C:\PortalVSCS\PortalVSCS\MobileModules\Announcements.ascx
Line: 141
Stack Trace:
[IndexOutOfRangeException: There is no row at position 0.]
System.Data.DataRowCollection.get_Item(Int32 index) +63
ASP.Announcements_ascx.__DataBindTitle3(Object sender, EventArgs e)
in C:\PortalVSCS\PortalVSCS\MobileModules\Announcements.ascx:141
System.Web.UI.Control.OnDataBinding(EventArgs e) +66
System.Web.UI.Control.DataBind() +25
System.Web.UI.Control.DataBind() +61
System.Web.UI.Control.DataBind() +61
System.Web.UI.Control.DataBind() +61
ASP.Announcements_ascx.Page_Load(Object sender, EventArgs e) in
C:\PortalVSCS\PortalVSCS\MobileModules\Announcements.ascx:40
System.Web.UI.Control.OnLoad(EventArgs e) +67
ASPNetPortal.MobilePortalModuleControl.OnLoad(EventArgs e) in
C:\PortalVSCS\PortalVSCS\Components\MobileControls.cs:189
System.Web.UI.Control.LoadRecursive() +73
System.Web.UI.Control.LoadRecursive() +112
System.Web.UI.Control.LoadRecursive() +112
System.Web.UI.Control.LoadRecursive() +112
System.Web.UI.Control.LoadRecursive() +112
System.Web.UI.Page.ProcessRequestMain() +394
--------------------------------------------------------------------------------
Version Information: Runtime Build:1.0.2914.16; ASP.NET
Build:1.0.2914.16