Server Error in '/Pregrado' Application.

Could not find a part of the path 'D:\Inetpub\Pregrado\Pregrado\promocion\izquierda\Nexoempresa'.

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\Pregrado\Pregrado\promocion\izquierda\Nexoempresa'.

Source Error:


Line 32: 
Line 33:             ruta = Request.PhysicalApplicationPath & "promocion\izquierda\" & VariableEntrada & ""
Line 34:             sArchivos = Directory.GetFiles(ruta)
Line 35: 
Line 36:             For Each archivo In sArchivos

Source File: D:\Inetpub\Pregrado\Pregrado\promocion_izquierda.ascx.vb    Line: 34

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'D:\Inetpub\Pregrado\Pregrado\promocion\izquierda\Nexoempresa'.]
   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) +14
   promocion_izquierda.set_SeleccionaPromo(String Value) in D:\Inetpub\Pregrado\Pregrado\promocion_izquierda.ascx.vb:34
   NexoEmpresa_Default.Page_Load(Object sender, EventArgs e) in D:\Inetpub\Pregrado\Pregrado\NexoEmpresa\Default.aspx.vb:31
   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.8762; ASP.NET Version:2.0.50727.8762