Server Error in '/' Application.

Could not find a part of the path 'E:\Websites\segulin\skriptarnica.hr\Slike\3'.

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.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Websites\segulin\skriptarnica.hr\Slike\3'.

Source Error:


Line 104:        string slikaGenerated = "<a href='Slike{0}' {1} rel='lightbox[galerija]' title=''><img src='/idnthumb.aspx?src=Slike/{0}&mw=95&mh=95&crop=0' border='0' title='' alt='' /></a>";
Line 105:
Line 106:        string[] fajlovi = Directory.GetFiles(slikeDir, artId + "*.jpg");
Line 107:        DataTable dtF = new DataTable();
Line 108:        DataColumn dc = new DataColumn("imeFile");

Source File: e:\websites\segulin\skriptarnica.hr\opis.aspx.cs    Line: 106

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'E:\Websites\segulin\skriptarnica.hr\Slike\3'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193
   System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) +1923
   System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) +37
   System.IO.Directory.GetFiles(String path, String searchPattern) +6
   opis.FindPictures(String artId) in e:\websites\segulin\skriptarnica.hr\opis.aspx.cs:106
   opis.Page_Load(Object sender, EventArgs e) in e:\websites\segulin\skriptarnica.hr\opis.aspx.cs:96
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


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