CR 11出口问题 [英] CR 11 exporting problem

查看:64
本文介绍了CR 11出口问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨:

我遇到了CR 11导出问题。我使用exportToDisk函数将文件导出为pdf。当我的网页和SQL在同一页面上时,它工作得很好。在我们分离Web服务器和数据库服务器之后,它只能在VS2005中运行。当我从浏览器访问它时,它给了我错误:

I am suffering a CR 11 exporting problem. I am using exportToDisk function to export file to pdf. It works good when my web page and SQL are on the same page. After we seperated web server and database server, it only work in VS2005. When I access it from browser, it gives me error:

我认为这是一个安全问题并进行了一些搜索,但没有成功。请指教,谢谢你。

I believe this is a security issue and did some search but not success. Please advise, thanks in adv.

我已尝试在setDatabseLogon函数中指定数据库名称和密码,但仍然只能在VS2005 dev中工作。 envirnoment。
objRept.SetDatabaseLogon(strUser,strUser_Pass, " 192.168.0.1" " TEST" );

I've tried specify database name and password in the setDatabseLogon function, but still only work in the VS2005 dev. envirnoment.
objRept.SetDatabaseLogon(strUser, strUser_Pass,"192.168.0.1","TEST");

 

推荐答案

一些事情,首先不能使用SetDatabaseLogon来改变你所连接的数据库。报告。其次,您是否创建了使用集成安全性的报告?
couple of things, first the SetDatabaseLogon can't be used to change which database you are connecting to from what you designed the report off of.  secondly, did you create the report to use integrated security?


这篇关于CR 11出口问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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