Strange .NET Error

Apr 5, 2009 at 12:41 AM

I am having an issue with the rewriter on URLs that contain URLs. For Example:




I seem to get a .NET error:

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 4/4/2009 1:46:33 PM

Event time (UTC): 4/4/2009 8:46:33 PM

Event ID: 8c4af4505d2845aa80753898c515086f

Event sequence: 416

Event occurrence: 20

Event detail code: 0


Application information:

    Application domain: /LM/W3SVC/1568181675/Root-1-128833493149937221

    Trust level: Full

    Application Virtual Path: /

    Application Path: D:\SharePoint Webs\80\

    Machine name: servername


Process information:

    Process ID: 5044

    Process name: w3wp.exe

    Account name: domain\user


Exception information:

    Exception type: ArgumentOutOfRangeException

    Exception message: Length cannot be less than zero.

Parameter name: length


Request information:

    Request URL: 1:46:33 PMD4/4/2009 1:46:33 PMD

    Request path: /_layouts/1033/styles/core.css

    User host address:


    Is authenticated: False

    Authentication Type: 

    Thread account name: domain\user


Thread information:

    Thread ID: 1

    Thread account name: HDS domain\user

    Is impersonating: True

    Stack trace:    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)

   at ManagedFusion.Rewriter.RuleSetCollection.get_Item(String relativePath)

   at ManagedFusion.Rewriter.RuleSetCollection.RunRules(HttpContext context)

   at ManagedFusion.Rewriter.RewriterModule.context_BeginRequest(Object sender, EventArgs e)

   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Yes, SharePoint….