 |
Reading a file which is locked by another process
Paul Hayman (9257 views)
Reading a file which is locked by another process
The following code snippet shows how to read a file which is locked by another process..
#c#FileStream logFileStream = new FileStream("c:\test.txt", FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
#c#StreamReader logFileReader = new S
|
 |
Could not write to output file ... The directory name is invalid
Paul Hayman (9172 views)
Could not write to output file ... The directory name is invalid
Recently had a problem deploying an app to a fresh 2003 server. Basically, the application wouldn't start, instead we recieved an error stating that the compiler couldn't write to the '''"Temporary ASP.NET Files"''' folder because
|