Click here to Skip to main content
15,886,088 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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
“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….?
Posted
Comments
Bala Selvanayagam 7-Nov-11 16:35pm    
Are you able to post your code, if it is not in pages please?
[no name] 7-Nov-11 17:47pm    
Please clarify. You have a web form that allows multiple file uploads which you are then attaching to an email?

 
Share this answer
 
Your attachments elements can be corrupted by any reason, if it's true make use microsoft outlook repair

[Spam link to commercial product removed] owns powerful functionality to help locate and recover whole messages with attachments
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900