急需帮助! [英] Urgent help needed!

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

问题描述



我需要使用报告服务发送动态生成的pdf文件。

公共用户无法访问服务器托管报告服务。


我公开访问的网站需要在报告服务器上调用页面

服务器并将pdf文件发送回客户端。


我现在花了很多天。


Server.exceute似乎也没有解决问题。

任何帮助都将受到高度赞赏

JJ


I need to send a pdf file generated on the fly using reporting service.
Public users dont have acces to the server hosting reporting service.

My publicly accessible website need to call a page on the reporting servcie
server and send the pdf file back to the client.

I have spent many many days on this now.

Server.exceute does not seem to solve the problem neither.
Any help will be higly appreciated
JJ

推荐答案

" jens Jensen" < JE ** @ jensen.dk>在消息中写道

新闻:好的**************** @ TK2MSFTNGP12.phx.gbl ...
"jens Jensen" <je**@jensen.dk> wrote in message
news:OK****************@TK2MSFTNGP12.phx.gbl...
我需要使用报告服务发送动态生成的pdf文件。


如果您需要向某人发送PDF文件,您是否已经知道他们的电子邮件

地址,或者他们是否会将其输入文本框... ?

公共用户无法访问服务器托管报告服务。


我不希望这样,但你的网络服务器需要......

我公开访问的网站需要在报告上调用一个页面 servcie服务器并将pdf文件发送到客户端。
I need to send a pdf file generated on the fly using reporting service.
If you need to send a PDF file to someone, do you already know their email
address or will they be typing it into a textbox...?
Public users dont have acces to the server hosting reporting service.
I should hope not, but your web server will need to...
My publicly accessible website need to call a page on the reporting
servcie server and send the pdf file to the client.




如果使用的话,只需使用System.Web.Mail类或System.Net.Mail

ASP.NET 2

创建一个新的MailMessage对象,提供从地址到地址(

用户),主题,也许是正文,然后将PDF添加为附件。



Just use the System.Web.Mail class, or System.Net.Mail if you''re using
ASP.NET 2

Create a new MailMessage object, provide the from address, to address (the
user), the subject, maybe some body text, then add the PDF as an attachment.


我不发送该发送。这纯粹是http get / http帖子。

没有涉及邮件。


他们只需要打开页面
I''m not sending in that send. This is purely http get/http post.
no mail involved.

They just need to open the page


他们在服务器上打开一个网页。该页面请求将一个

pdf fil的计算结果发送回webclient。

Response.Redirect不起作用,使得pdf的服务器是alloweb

为公共用户提供服务。


只有第一台服务器才能为公共用户提供服务。抱歉,没有电子邮件

参与此过程。

They open a web page on a server . The page request the computeation of a
pdf fil to be sent back to the webclient.
the Response.Redirect does not work as the server that makes pdf is alloweb
to serve public users.

Only the first server can serve phublic users. And sorry, there no email
involved in the process.


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

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