Articles tagged under filesystem

Could not write to output file ... The directory name is invalid

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 th

Paul Hayman - 16,166 views

Reading a file which is locked by another process

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.. FileStream logFileStream = new FileStream("c:\test.txt", FileMode.Open, FileAccess.Read,&nb

Paul Hayman - 34,466 views