Server Error in '/' Application.

Could not find a part of the path 'D:\inetpub\webs\circolonauticougocostagutait\public\uploads\gallery\2011\2011-06-18%20kite%20a%20voltri'.

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 'D:\inetpub\webs\circolonauticougocostagutait\public\uploads\gallery\2011\2011-06-18%20kite%20a%20voltri'.

Source Error:


Line 26:         'lista directory
Line 27:         Dim myDirInfo As DirectoryInfo = New DirectoryInfo(Server.MapPath(imageDir))
Line 28:         DirDL.DataSource = myDirInfo.GetDirectories
Line 29:         DirDL.DataBind()
Line 30:         

Source File: D:\inetpub\webs\circolonauticougocostagutait\Gallery2.aspx    Line: 28

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'D:\inetpub\webs\circolonauticougocostagutait\public\uploads\gallery\2011\2011-06-18%20kite%20a%20voltri'.]
   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.DirectoryInfo.GetDirectories(String searchPattern, SearchOption searchOption) +58
   System.IO.DirectoryInfo.GetDirectories() +14
   ASP.gallery2_aspx.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\circolonauticougocostagutait\Gallery2.aspx:28
   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.9174; ASP.NET Version:2.0.50727.9175