@foreach(var file in Website.Files("/img/CompleteProject/Sanitation/HealthyToiletsToGetRidOfDiseases/")){ }
Error:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Websites\cms\v3\Files\137\img\CompleteProject\Sanitation\HealthyToiletsToGetRidOfDiseases'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   at CMS.Model.Folder.Files() in D:\Working Folder\USA Work Haider\Project\CMS\CMS.Data\Model\File\Folder.cs:line 72
   at CompiledRazorTemplates.Dynamic.aafdbbcfbbfee.Execute()
   at RazorEngine.Templating.TemplateBase.Run(ExecuteContext context) in D:\Working Folder\USA Work Haider\Project\CMS\RazorEngine\Templating\TemplateBase.cs:line 129
   at System.Web.Mvc.HtmlTemplateBase`1.Run(ExecuteContext context) in D:\Working Folder\USA Work Haider\Project\CMS\CMS.Data\Core\HtmlTemplateBase.cs:line 116
   at CMS.Core.ContentContext.ToHtmlString() in D:\Working Folder\USA Work Haider\Project\CMS\CMS.Data\Core\ContentContext.cs:line 67

Your Gift Can Save Lives

Your gift will be used to provide help where it's needed most.

Donate Now

Helping Poverty

Let's join with the Nova Foundation to solve the social problems.

Become A Volunteer