19.08.2008, 08:09 | #1 |
Участник
|
AOT/Resources, error while using on a report
Hello,
I hope somebody already come across this error and will help to resolve the issue. We have a report where we use one of the new Resources we created, it's just a simple .bmp file All users are using the report and have no issues, except a couple people. They are getting the following error: "Unable to save data to the file "E:\Documents and Settings\user\Local Settings\TemporaryInternet Files\stamp.bmp" This particular user have DAX client installed on E drive. We think it could be the reason, but not sure, and don't know how to fix it. Let me know please if you know how to resolve it. Thanks, gb |
|
|
За это сообщение автора поблагодарили: Kabardian (1). |
19.08.2008, 11:53 | #2 |
Участник
|
Are you sure that the users have write access to the temporary internet files folder?
Can you post here the exact code you use to output the picture in the report - maybe you missed something there? |
|
19.08.2008, 13:49 | #3 |
Участник
|
AOT/Resources
The control on the report has a display method as a source.
The display method looks like this: public display FilePath stampResource() { ResourceNode resourceNode; FilePath stampPath; ; resourceNode = SysResource::getResourceNode(resourcestr(stamp)); if (resourceNode) { resourceNode.AOTload(); stampPath = SysResource::saveToTempFile(resourceNode); } return stampPath; } Also, the report works fine for all end-users except only two. That's why I think the code is correct. Thank you, gb |
|
19.08.2008, 14:05 | #4 |
Участник
|
Well, than the problem is, most probably, in the permissions to the temp folder.
Can you try outputing the temporary path to infolog on the machines that have problems and on those that don't: X++: info(SysResource::getTempPathName()); Also, check if the code in SysResource class has been modified? |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|