The only way I was able to get the "-2558" error was if I had the Open Data Storage node set to "open" or "open (read only)" mode, but the file path I specified did not exist. If you are specifying a file that you have not created yet, you will need to set the mode to "create", "create or replace", or "open or create".
If these suggestions don't help, perhaps you could attach a simple VI to your post that demonstrates the problem.
Good luck,
-D