I couldn't run your VI, so there is some guessing:
In frame 2, the path seems to be to a folder and not a file. That is probably your problem.
Other options I can think of include the file already being open or being read only.
___________________
Try to take over the world!