R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
DNN Generated Errors Creating Toolbar
Last Post 01 Jan 1900 05:00 AM by . 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
26 Mar 2006 12:23 PM  

I repeatedly get this error trying to set up a toolbar on 3.2.2 with 1.6.5. My Toolbar XML is below the error

A critical error has occurred.
System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.Substring(Int32 startIndex, Int32 length) at Bi4ce.Modules.Toolbar.Toolbar.BindData() at Bi4ce.Modules.Toolbar.Toolbar.Page_PreRender(Object sender, EventArgs e)






http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
   
      true
      false
      0
     
     
     
      Message
      Toolbar
     
     
      true
      blueball.gif
      greenball.gif
      blueball.gif
      redball.gif
     
      New
   

 

 

<table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr>
<td width="100%"><img src="http://www.r2idnn.com/images/1x1.gif" width="100%" height="1" border="0"></td>

  <td align=right valign=middle id="TBI_[NAME]"></td>
 
 
</tr>
</table>

ListX....makes you look brilliant, even though you're not.
bgatesUser is Offline
Basic Member
Basic Member
Posts:196

--
27 Mar 2006 02:26 PM  
I have confirmed that this is a problem with 1.6.5 when using images that aren't in any subfolder (I gather these are in /Portals/0).  There is a workaround: just prefix / before the filename, ie, /blueball.gif.  I'll get this fixed for the next release.
Bob Gates<br>Business Intelligence Force, Inc. (<a href="http://dnn.bi4ce.com"><b>bi4ce</b></a>)
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share