This content has been marked as final. Show 4 replies
I tried your example on Vista and it worked just fine for me. But I have my UAC turned off on vista.
Can you make sure the error is actually happening in the lines that reads the file but not in the code that parses xml file? Try stepping through the code and find out which line is exactly throwing the error.
Thx for the reply Jeesmon, i am pretty sure that its the open call, its the only one throwing this 3003 exception. And it is working on osx, the parsing. I might have to say also that its when the .air file is installed on vista as a program, and i am running it "for real" i am having the problem.
I disable UAC also but i had the same problem after. grrrr....
Are you seeing any issues when you open the file in a text editor? May be it is worth to take a look at permissions for the file for your vista user and the ownership of the file (properties -> Security). According to the documentation FileStream.open will throw error if there is no read permission on the file. Hope it's a physical file and not a link to any virtual store location. In the worst case, rename the existing file, manually create a text file and copy contents from original file to the new one and try. Good luck :)
Thx Jeesmon, your advices helped me in the right direction, it was some sort of permission error, everything looked fine when you browsed the files persiossions, so i tryed to recreate the file directly in vista, and that solved my problem.
Thx alot for your help.