将Rdlc转换为pdf并作为附件发送 [英] Convert Rdlc into pdf and send as attachment

查看:94
本文介绍了将Rdlc转换为pdf并作为附件发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好哥们
我正在将rdlc报告转换为pdf文件,并尝试将其作为附件与邮件一起发送.它在本地计算机上可以正常工作,但是在上载后却无法正常工作,我认为pdf路径存在问题,但是我无法在服务器端对其进行检查,有人可以告诉我我所缺少的内容吗...

有什么简单的想法可以做到这一点,那么解决方案将不胜枚举.

谢谢
dEV kASHAYP

Hello buddy
I am converting rdlc report into a pdf file and try to send it as attachment with mail. Its working fine on local machine but after upload it, its not working, i think there is issue about the path of pdf but i cant check it on server side, can anybody tell me what i am missing...

Is there any simple idea to do it, then solutions will be appretiated.

Thanks
dEV kASHAYP

推荐答案

如果我没有记错,我认为您会自动将rdlc报告文件另存为pdf,然后将其作为邮件附件发送.检查指定的代码pdf的路径(如果您提到带有特定文件夹名称的驱动器,则它可能无法工作.web.config中的提及服务器路径并使用它.如果无法在应用程序中找到该路径创建文件夹,并将路径提及为"../foldername") /filename with extn".希望对您有所帮助.如果仍有任何查询,请向我发送代码.
if i am not wrong i think you automating the rdlc report file saving as pdf and then sending it as mail attachment.check the code in which you specifying the path of pdf if you mention drive with particular folder name it may not works.Mention server path in web.config and use it.if you not able to find that path create folder in your application and mention path as "../foldername/filename with extn".I hope this will helps you.If have still any query send me the code.


这篇关于将Rdlc转换为pdf并作为附件发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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