Outlook电子邮件附件出现错误 [英] outlook email attachment gives error

查看:102
本文介绍了Outlook电子邮件附件出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在最终用户处开发了一个Web表单,可以附加多个文件并提交表单.

效果很好如果我从Microsoft Visual Studio 2005运行Web表单,则可以附加多个不同的文件,例如.PDF,.DOCX,.TXT,.XLS

当我从SQL Server2008 R2运行Web表单时,它无法正常工作.它只能附加一个文件,不能多个,并且当您尝试在Outlook中打开一个附加文件(.PDF)时,出现以下错误

"Acrobat无法打开"Tim M AETNA-17.pdf",因为它不是受支持的文件类型,或者由于文件已损坏(例如,它以电子邮件附件的形式发送并且未正确发送)解码)".

当我附加.docx或.Xls文件并尝试将其打开时.它打开了,但是以某种方式删除了内容,它只是显示空白的单词文件,尽管在电子邮件中您可以看到文件大小(240,KB).

它在Microsoft Visual Studio 2005中可以正常工作.我可以附加多个文件,并且可以查看所有文件的内容.

SQL Server 2008 R2中是否存在任何服务器设置问题…??

I had developed one web form at the end user can attach multiple files and submit the form.

It works fine If I run my web form from Microsoft Visual Studio 2005, I can attach multiple different files e.g. .PDF, .DOCX, .TXT, .Xls

When I run web form from SQL server2008 r2 it is not working. It can attach only one file not multiple and When you try to open one attach file (.PDF) in outlook it gives following error

"Acrobat could not open "Tim M AETNA-17.pdf" because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn''t correctly decoded)".

When I attach .docx OR .Xls file and Try to open it. It opens but somehow content was erase, it just show blank word file though in email you can see the File size(240, KB).

It works fine in Microsoft Visual Studio 2005. I can attach multiple files and can see the contents of all the files.

Is there any server setting problem in SQL Server 2008 R2….?

推荐答案

您正在运行应用程序的哪种模式(发布或调试)?从Visual Studio和服务器运行应用程序之间有很大的区别.
What mode (release or debug) are you running the application? Therez a big difference between running the application from Visual Studio and the server.


这篇关于Outlook电子邮件附件出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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