- L0 -------------------------------------------------------------------------------
Exception Type: Telerik.Framework.Search.IndexExcepton
Message: An error has occurred while indexing the following document: "~/home/level2_2.aspx". Please see inner exception for more details.
Source:
Stack Trace:
------------------------------------------------------------------------------------
- L1 -------------------------------------------------------------------------------
Exception Type: System.Web.HttpException
Message: Fehler beim Ausfhren der untergeordneten Anforderung fr /basfintranet2008/sitefinity/cmsentrypoint.aspx.
Source: System.Web
Stack Trace:
bei System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
bei System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
bei Telerik.Cms.Search.PageIndexerInfo.GetInternalPageData()
------------------------------------------------------------------------------------
- L2 -------------------------------------------------------------------------------
Exception Type: System.Web.HttpUnhandledException
Message: Eine Ausnahme vom Typ System.Web.HttpUnhandledException wurde ausgelst.
Source: System.Web
Stack Trace:
bei System.Web.UI.Page.HandleError(Exception e)
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bei System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bei System.Web.UI.Page.ProcessRequest()
bei System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
bei System.Web.UI.Page.ProcessRequest(HttpContext context)
bei ASP.sitefinity_cmsentrypoint_aspx.ProcessRequest(HttpContext context)
bei System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
------------------------------------------------------------------------------------
- L3 -------------------------------------------------------------------------------
Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: App_Code.95hzho-8
Stack Trace:
bei SmartTitleInternalPage.GetFullPath(SiteMapNode node) in D:\WH4.Vorgang\Visual Studio Projekte\BASF\BASF Intranet 2008\BASF Intranet Sitefinity\App_Code\SmartTitleInternalPage.vb:Zeile 27.
bei SmartTitleInternalPage.OnPreInit(EventArgs e) in D:\WH4.Vorgang\Visual Studio Projekte\BASF\BASF Intranet 2008\BASF Intranet Sitefinity\App_Code\SmartTitleInternalPage.vb:Zeile 19.
bei System.Web.UI.Page.PerformPreInit()
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
------------------------------------------------------------------------------------
I converted your code to VB:
Imports
System
Imports
System.Data
Imports
System.Configuration
Imports
System.Web
Imports
System.Web.Security
Imports
System.Web.UI
Imports
System.Web.UI.HtmlControls
Imports
System.Web.UI.WebControls
Imports
System.Web.UI.WebControls.WebParts
Imports
Telerik.Cms.Web
'''
<summary>
''' Summary description for SmartTitleInternalPage
'''
</summary>
Public
Class SmartTitleInternalPage
Inherits InternalPage
Protected Overloads Overrides Sub OnPreInit(ByVal e As EventArgs)
MyBase.OnPreInit(e)
Me.Title = GetFullPath(SiteMap.CurrentNode)
End Sub
Private Function GetFullPath(ByVal node As SiteMapNode) As String
Dim PathSeparator As String = " | "
' How your path will start? With your project name? You could change
' it to anything else, for example PathStartsWith = "My Project > ";
'Dim PathStartWith As String = UrlHelper.GetProjectName() + " | "
Dim PathStartWith As String = "BASF EM Intranet | "
If node.ParentNode Is Nothing Then
Return PathStartWith
End If
If (Not node.ParentNode Is Nothing) AndAlso (Not node.ParentNode.ParentNode Is Nothing) Then
Return [String].Concat(GetFullPath(node.ParentNode), PathSeparator, node.Title)
Else
Return [String].Concat(GetFullPath(node.ParentNode), node.Title)
End If
End Function
End
Class