Error 500 :(
System Error

Service Name: Page

Development Mode

Message : Exception

Description : Exception

Exception Messages :

  • Exception :

    Value cannot be null. Parameter name: view

  • Error Page Notfound :

    صفحه خطا پیدا نشد

  • Ex :

    One or more compilation failures occurred: /Views/bd6cf2af-6034-4892-4d33-08d7195ab04e/0753error.fa.cshtml(9,1): Error RZ2001: The 'model' directive may only occur once per document.

  • Ex :

    at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.CompileAndEmit(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.OnCacheMiss(String normalizedPath) --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.OnCacheMiss(ViewLocationExpanderContext expanderContext, ViewLocationCacheKey cacheKey) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromViewLocations(ActionContext actionContext, String pageName, Boolean isMainPage) at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage) at PishgamCMS.Client.ViewProvider.ViewRenderService.RenderToStringAsync(String viewName, Object model) in C:\Users\Pishgam_302\Desktop\PishgamCMS\PishgamCMS.Client\ViewProvider\RazorToString.cs:line 58 at PishgamCMS.Client.Controllers.PagesController.GetViewasString(String Path) in C:\Users\Pishgam_302\Desktop\PishgamCMS\PishgamCMS.Client\Controllers\PagesController.cs:line 202