Server Error in '/' Application.

Path must start with a slash.
Parameter name: path

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.ArgumentException: Path must start with a slash.
Parameter name: path

Source Error:


Line 138:                        } else if(bloque.ContentType.Alias == "bloqueSimple") {
Line 139:                            <div>
Line 140:                                @Html.Raw(bloque.Value("cuerpo"))
Line 141:                            </div>
Line 142:                         

Source File: E:\Apps\PortalONE\V3.02.06.2020\Views\internalPage.cshtml    Line: 140

Stack Trace:


[ArgumentException: Path must start with a slash.
Parameter name: path]
   Umbraco.Core.UriExtensions.Rewrite(Uri uri, String path) in d:\a\1\s\src\Umbraco.Core\UriExtensions.cs:172
   Umbraco.Web.Routing.DefaultMediaUrlProvider.AssembleUrl(String path, Uri current, UrlMode mode) in d:\a\1\s\src\Umbraco.Web\Routing\DefaultMediaUrlProvider.cs:67
   Umbraco.Web.Routing.DefaultMediaUrlProvider.GetMediaUrl(UmbracoContext umbracoContext, IPublishedContent content, String propertyAlias, UrlMode mode, String culture, Uri current) in d:\a\1\s\src\Umbraco.Web\Routing\DefaultMediaUrlProvider.cs:39
   Umbraco.Web.Routing.<>c__DisplayClass19_0.<GetMediaUrl>b__0(IMediaUrlProvider provider) in d:\a\1\s\src\Umbraco.Web\Routing\UrlProvider.cs:225
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +238
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +121
   Umbraco.Web.Routing.UrlProvider.GetMediaUrl(IPublishedContent content, UrlMode mode, String culture, String propertyAlias, Uri current) in d:\a\1\s\src\Umbraco.Web\Routing\UrlProvider.cs:224
   Umbraco.Web.PublishedContentExtensions.Url(IPublishedContent content, String culture, UrlMode mode) in d:\a\1\s\src\Umbraco.Web\PublishedContentExtensions.cs:1214
   Umbraco.Web.Templates.<>c.<ResolveMediaFromTextString>b__9_0(Match match) in d:\a\1\s\src\Umbraco.Web\Templates\TemplateUtilities.cs:181
   System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) +273
   System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) +54
   Umbraco.Web.PropertyEditors.ValueConverters.RteMacroRenderingValueConverter.Convert(Object source, Boolean preview) in d:\a\1\s\src\Umbraco.Web\PropertyEditors\ValueConverters\RteMacroRenderingValueConverter.cs:85
   Umbraco.Web.PropertyEditors.ValueConverters.RteMacroRenderingValueConverter.ConvertIntermediateToObject(IPublishedElement owner, IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, Object inter, Boolean preview) in d:\a\1\s\src\Umbraco.Web\PropertyEditors\ValueConverters\RteMacroRenderingValueConverter.cs:71
   Umbraco.Core.Models.PublishedContent.PublishedPropertyType.ConvertInterToObject(IPublishedElement owner, PropertyCacheLevel referenceCacheLevel, Object inter, Boolean preview) in d:\a\1\s\src\Umbraco.Core\Models\PublishedContent\PublishedPropertyType.cs:219
   Umbraco.Web.PublishedCache.PublishedElementPropertyBase.GetValue(String culture, String segment) in d:\a\1\s\src\Umbraco.Web\PublishedCache\PublishedElementPropertyBase.cs:169
   Umbraco.Web.PublishedElementExtensions.Value(IPublishedElement content, String alias, String culture, String segment, Fallback fallback, Object defaultValue) in d:\a\1\s\src\Umbraco.Web\PublishedElementExtensions.cs:106
   ASP._Page_Views_internalPage_cshtml.Execute() in E:\Apps\PortalONE\V3.02.06.2020\Views\internalPage.cshtml:140
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   Umbraco.Web.Mvc.ProfilingView.Render(ViewContext viewContext, TextWriter writer) in d:\a\1\s\src\Umbraco.Web\Mvc\ProfilingView.cs:25
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +648
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0