OracleSiteMapProvider --> don't show third level

OracleSiteMapProvider --> don't show third level

Postby Daniel.Kania » Thu 11 Nov 2010 11:45

Hello,
in our project the OracleSiteMapProvider don't show sites with level greater than 2.

Example:






Oracle table "ASPNET_SITEMAP":
NOEID APPLICATIONNAME URL Name PID
1 TEST ~/Default.aspx Home
2 TEST ~/rw.aspx SubSite 1
3 TEST ~/subrw.aspx SubSubSite 2

When i was on Default.aspx (Home) or on rw.aspx (Home / SubSite), the sitemap shows all right, but when i navigate to subrw.aspx (Home / SubSite / SubSubSite), the sitemap shows nothing.

Can you help me?

thank you! Daniel

Postscriptum:

Now, ever when we build the project and start them, then we get a IndexOutOfRangeException:

[IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.]
Devart.Data.Oracle.OracleParameter.a(OracleDbType A_0, Object A_1, Byte[] A_2, Hashtable A_3, Int32 A_4, Int32 A_5, Int32 A_6, Int32 A_7, Int32 A_8, Boolean A_9, OracleConnection A_10, ParameterDirection A_11, String A_12, aw A_13, Boolean& A_14) +8898
Devart.Data.Oracle.OracleParameter.a(ad& A_0, Boolean A_1, OracleConnection A_2, Byte[] A_3, Hashtable A_4, aw A_5, Boolean& A_6) +566
Devart.Data.Oracle.OracleCommand.a(aa A_0, Int32 A_1, OracleParameterCollection A_2, aw A_3, Boolean& A_4) +578
Devart.Data.Oracle.OracleCommand.InternalExecute(CommandBehavior behavior, IDisposable disposable, Int32 startRecord, Int32 maxRecords, Boolean nonQuery) +199
Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery) +450
Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior) +6
System.Data.Common.DbCommand.ExecuteReader() +12
Devart.Common.Web.Providers.DbSiteMapProvider.BuildSiteMap() +1277
System.Web.StaticSiteMapProvider.FindSiteMapNode(String rawUrl) +133
System.Web.SiteMapProvider.FindSiteMapNode(HttpContext context) +54
System.Web.SiteMapProvider.get_CurrentNode() +35
System.Web.SiteMapProvider.GetCurrentNodeAndHintAncestorNodes(Int32 upLevel) +17
System.Web.UI.WebControls.SiteMapPath.CreateControlHierarchy() +54
System.Web.UI.WebControls.SiteMapPath.CreateChildControls() +32
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


After we refresh (F5) the site, it's all ok.
Daniel.Kania
 
Posts: 10
Joined: Wed 10 Mar 2010 13:20

Postby Shalex » Tue 16 Nov 2010 14:41

1. Please send us a small test project to reproduce the issue in our environment.
2. Tell us the version (x.xx.xxx) of your dotConnect for Oracle. You can find it in the Tools > Oracle > About menu of Visual Studio.
Shalex
Devart Team
 
Posts: 7608
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle