This is because when you create the file it put a lock on the file in SSIS.
Solution: Close the file using FileStream.Close() method.
FileStream File1 = new FileStream("C:\Text1.txt", FileMode.Create);
File1.Close();
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment