Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0System.IndexOutOfRangeException: There is no row at position 0System.IndexOutOfRangeException: There is no row at position 0
Previous
 
Next
New Post
11/14/2007 6:18 AM
 

Hi

 i am new at DNN i am checking the existing code written by some one the problem is when i complied the code there is no error , and even not a single error in installation but when i implement and place the module at the website container its display this error

 

AssemblyVersion: 04.04.00
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 53
ActiveTabName: Music Manager
RawURL: /DNN440/MusicManager/tabid/53/Default.aspx
AbsoluteURL: /DNN440/Default.aspx
AbsoluteURLReferrer: http://localhost/DNN440/MusicManager/tabid/53/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; (R1 1.5); .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fc949998-2936-4b2c-995d-0e08e55d16fc
InnerException: There is no row at position 0.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.RBTree`1.GetNodeByIndex
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: There is no row at position 0. ---> System.IndexOutOfRangeException: There is no row at position 0.at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)at System.Data.DataRowCollection.get_Item(Int32 index)at Login_Test.Login_Test.Page_Load(Object sender, EventArgs e)at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)at System.EventHandler.Invoke(Object sender, EventArgs e)at System.Web.UI.Control.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.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)--- End of inner exception stack trace ---

 

Can any one help me why this was happened

 
New Post
12/18/2007 2:58 AM
 

well i got the solution thanks for reading the problem

 

Regards

Rishi

 
New Post
5/14/2009 11:37 AM
 

Hi.I have a problem too.Please tell me how do fix the problem

Thanks

 
New Post
5/15/2009 9:06 AM
 

If you can debug the code than just do it.. And it seems like , you are directly accessing first row from the collection

so put validation if there is rowcount = 0 than do nothing else bind your control

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0System.IndexOutOfRangeException: There is no row at position 0System.IndexOutOfRangeException: There is no row at position 0


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out