Peter,
This is the eroor showed
Server Error in '/Control' Application.
--------------------------------------------------------------------------------
Could not find a part of the path
'W:\siapublicacionfinal\LOG\SIAPublicacionFinal_10_23_07.log'.
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
'W:\siapublicacionfinal\LOG\SIAPublicacionFinal_10_23_07.log'.
Source Error:
private string sPathFile = @"W:\siapublicacionfinal\LOG\";
TextReader reader;
sPathFile = sPAthFile + "SIAPublicacionFinal_10_23_07" + ".log";
Line 68: private void BuscoLog()
Line 69: {
Line 70: ReaderPubliFinal = new StreamReader(LogSiaPublicacionFinal,
Encoding.GetEncoding(1252));
Line 71: ReaderSiaUpdate = new StreamReader(LogSiaUpdate,
Encoding.GetEncoding(1252));
Line 72: obj_PubliFinal = ultimasLineas(ReaderPubliFinal,
obj_PubliFinal);
Source File: d:\Shared\PanelControl\Default.aspx.cs Line: 70
Stack Trace:
[DirectoryNotFoundException: Could not find a part of the path
'W:\siapublicacionfinal\LOG\SIAPublicacionFinal_10_23_07.log'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
+1971376
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy) +998
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options) +115
System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 bufferSize) +85
System.IO.StreamReader..ctor(String path, Encoding encoding) +16
_Default.BuscoLog() in d:\Shared\PanelControl\Default.aspx.cs:70
_Default.Page_Load(Object sender, EventArgs e) in
d:\Shared\PanelControl\Default.aspx.cs:49
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o,
Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061