水晶报告和xml c#的问题 [英] problem with crystal report and xml c#

查看:71
本文介绍了水晶报告和xml c#的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从大约2个小时后我完成了我的项目商店管理程序,当我制作安装包并在另一台机器上尝试它正常工作但是当我想使用crystalreports进行报告时我得到错误,文件的路径被拒绝了我使用xml将它作为报告的数据源



图片:



http://i.imgur.com/XLSbx7H.png [ ^ ]

from about 2 hours i finished my project store management program and when i make th installation package and try it on another machine its work correctly but when i want to make report using crystalreports i got error that the path to the file denied i used xml to st it as the datasource of the report

Image :

http://i.imgur.com/XLSbx7H.png[^]

推荐答案

您的应用对程序文件没有写入权限(x86)目录



自Vista ISTR以来一直未被允许 - 这是不好的做法



如果是临时文件,请在临时目录中创建它?



并确保在完成后将其删除
your app doesn't have write access to the "program files(x86)" directory

that hasn't been allowed since Vista ISTR - it's bad practice

if it's a temp file, create it in the temp directory?

and make sure you delete it when you're done


这篇关于水晶报告和xml c#的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆