خطأ في الخادم في التطبيق '/'.

طول اسم المسار أو اسم الملف المحدد، أو كليهما، أكثر من اللازم. يجب أن يكون طول اسم الملف المعرَّف بالكامل أقل من 260 حرفًا، في حين يجب أن يكون طول اسم الدليل أقل من 248 حرفًا.

الوصف: حدث استثناء لم تتم معالجته أثناء تنفيذ طلب ويب الحالي. الرجاء مراجعة تتبع بنية تخزين العناصر للحصول على المزيد من المعلومات حول الخطأ ومكان حدوثه في التعليمات البرمجية.

تفاصيل الاستثناء: System.IO.PathTooLongException: طول اسم المسار أو اسم الملف المحدد، أو كليهما، أكثر من اللازم. يجب أن يكون طول اسم الملف المعرَّف بالكامل أقل من 260 حرفًا، في حين يجب أن يكون طول اسم الدليل أقل من 248 حرفًا.

خطأ في المصدر:


السطر 211: <ul class="media-list"> السطر 212: السطر 213: @Html.Action("GetComments", "AdsComments", new { adid = @adid, catid = @catid }) السطر 214: </ul> السطر 215: </div>

الملف المصدر: D:\Websites\Ysells_Kuwait\Views\Beauty\details.cshtml    السطر: 213

تتبع بنية تخزين العناصر:


[PathTooLongException: طول اسم المسار أو اسم الملف المحدد، أو كليهما، أكثر من اللازم. يجب أن يكون طول اسم الملف المعرَّف بالكامل أقل من 260 حرفًا، في حين يجب أن يكون طول اسم الدليل أقل من 248 حرفًا.] System.IO.PathHelper.GetFullPathName() +14552537 System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) +1707 System.IO.Path.GetFullPathInternal(String path) +139 System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +38 System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +316 System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +121 System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) +94 System.Web.InternalSecurityPermissions.PathDiscovery(String path) +42 System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) +180 System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +75 System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +34 System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +573 System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) +113 ASP._Page_Views_Beauty_details_cshtml.Execute() in D:\Websites\Ysells_Kuwait\Views\Beauty\details.cshtml:213 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148 System.Web.WebPages.StartPage.ExecutePageHierarchy() +86 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +91 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795 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) +59 System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +29 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +73 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +59 System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +43 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() +431 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


معلومات الإصدار: إصدار Microsoft .NET Framework:4.0.30319; إصدار ASP.NET:4.8.4667.0