|
| Iniciado por guest, 23,feb. 2015 02:59 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 23,febrero 2015 - 02:59 |
Hi Not really a Windev issue but hoping someone may have come across this & have a solution.
We create & write to a text file which interfaces to some other software. Using POSReady 7, if the path to write the data is the system drive (usually c:\path\ile or c:\myprogname\interface\ile) it throws an invalid path error. The file is created but that's as far as it gets. Normal Win7, Win 8 & XP process the file correctly. Even mapping a folder on the C:\ drive doesn't work but using any other drive is fine. Permissions are all OK (things like Notepad can write to the desired path). We suspect there's some sort of a filter in POSReady which prevents non-MS apps writing to the system drive, but having said that the program installs on the system drive and our data files (in this case classic HF) also write correctly. We've spoken to the suppliers and distributors of the machine but neither of them were able to help.
As a work around we are using a USB stick. If anyone has any other solutions or ideas as to the cause of the problem I'd greatly appreciate it.
Thanks
David |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 07:21 |
David,
What you describe is unusual. I have observed if we install our app anywhere outside Windows reserved folders like Windows, Program Files, Program Files (x86), etc. writing something to the file in the folder of the app is never a problem. Unless of course there is any rights set that prevents an app from writing any data to the HDD.
Have you tried to run you app as Administrator?
M2 cents.
Yogi Yang |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 19:50 |
Hi Yogi Yeah, we'd tried that. As you say it really is unusual. We've confirmed the behaviour at 2 separate sites now. Fortunately we don't have many sites using the combination of PosReady & local writing; most sites run over a network & the files are created on the server so the issue doesn't raise its head.
David |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,febrero 2015 - 23:41 |
David,
I would compare the security permissions on the file it creates but won't write too versus a file you create in notepad to the same directory. Might give you a clue.
...jack |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,febrero 2015 - 05:27 |
Have checked the antivirus software.
I have observed that at times if we exclude the software and the folder where the software is installed from Antivirus realtime scanning it seems to solve the problem.
HTH
Yogi Yang |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,febrero 2015 - 19:50 |
@Jack - checked permissions on files, both identical
@Yogi - removed antivirus Not that either I'm afraid.
Thanks for the suggestions but still banging my head!
David |
| |
| |
| | | |
|
| | | | |
| | |
|