Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:


Line 46: 			else
Line 47: 			{
Line 48: 				e.Body = e.Body.Replace(match.Value, string.Format(info, link, string.Empty, match.Value, ShortenUrl(match.Value, MAX_LENGTH)));
Line 49: 			}
Line 50: 		}

Source File: d:\Websites\b089d80480\www\App_Code\Extensions\ResolveLinks.cs    Line: 48

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.String.Replace(String oldValue, String newValue) +0
   ResolveLinks.Post_CommentServing(Object sender, ServingEventArgs e) in d:\Websites\b089d80480\www\App_Code\Extensions\ResolveLinks.cs:48
   System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0
   BlogEngine.Core.Comment.OnServing(ServingEventArgs eventArgs) in C:\Documents and Settings\Mads Kristensen\Dokumenter\Visual Studio 2005\Projects\BlogEngine.NET\DotNetSlave.BusinessLogic\Comment.cs:236
   BlogEngine.Core.SyndicationGenerator.WriteRssItem(XmlWriter writer, IPublishable publishable) in C:\Documents and Settings\Mads Kristensen\Dokumenter\Visual Studio 2005\Projects\BlogEngine.NET\DotNetSlave.BusinessLogic\SyndicationGenerator.cs:519
   BlogEngine.Core.SyndicationGenerator.WriteRssChannel(XmlWriter writer, List`1 publishables, String title) in C:\Documents and Settings\Mads Kristensen\Dokumenter\Visual Studio 2005\Projects\BlogEngine.NET\DotNetSlave.BusinessLogic\SyndicationGenerator.cs:420
   BlogEngine.Core.SyndicationGenerator.WriteRssFeed(Stream stream, List`1 publishables, String title) in C:\Documents and Settings\Mads Kristensen\Dokumenter\Visual Studio 2005\Projects\BlogEngine.NET\DotNetSlave.BusinessLogic\SyndicationGenerator.cs:386
   BlogEngine.Core.SyndicationGenerator.WriteFeed(SyndicationFormat format, Stream stream, List`1 publishables, String title) in C:\Documents and Settings\Mads Kristensen\Dokumenter\Visual Studio 2005\Projects\BlogEngine.NET\DotNetSlave.BusinessLogic\SyndicationGenerator.cs:306
   BlogEngine.Core.Web.HttpHandlers.SyndicationHandler.ProcessRequest(HttpContext context) in C:\Documents and Settings\Mads Kristensen\Dokumenter\Visual Studio 2005\Projects\BlogEngine.NET\DotNetSlave.BusinessLogic\Web\HttpHandlers\SyndicationHandler.cs:67
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974