1
Vote

Issue with SharePoint 2013

description

Can this solution work in 2013?

We get the following errors:

(0, 10) The type or namespace name 'SPD_SendEmailWithAttachment' could not be found (are you missing a using directive or an assembly reference?))
(23, 16) The type or namespace name 'SPD_SendEmailWithAttachment' could not be found (are you missing a using directive or an assembly reference?))


Thanks.

file attachments

comments

loloadsl wrote Jul 1, 2014 at 2:58 PM

Hi,

Yes, it work for SharePoint 2013.

I had the same error and this is the process step by step I have execute for fix this problem :

1/ Add the solution:
Add-SPsolution -LiteralPath "path"

2/Install the solution :
Install-SPSolution -Identity "ID" -GACDeployement -CompatibilityLevel {14-15}

3/Activate the solution for the web application

4/Fix the web.config to the Web App
Move the line " <authorizedType Assembly="SPD_SendEmailWithAttachement.... " to the good section (see Attachement)

RonaldWierenga wrote Jul 18, 2014 at 7:39 AM

Hi,

I cannot find the line after installing the workflow.

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\web.config

Tx

loloadsl wrote Jul 18, 2014 at 12:57 PM

It's not the good file. You can access to the good file from IIS. Click on the web application which you want fix it and click on "explore". You can see here the good web config.

shyam_yumnam wrote Nov 10, 2014 at 12:32 PM

While i tried with SharePoint 2013, I got the following error. Please advise.

System.FormatException: An invalid character was found in the mail header: ','. at System.Net.Mail.DotAtomReader.ReadReverse(String data, Int32 index) at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index) at System.Net.Mail.MailAddressParser.ParseMultipleAddresses(String data) at System.Net.Mail.MailAddressCollection.ParseValue(String addresses) at SPS_EmailAttachmentButton.Layouts.SPS_EmailAttachment.EmailAttachment.SendEmail(String To, String CC, List`1 Attachments) at SPS_EmailAttachmentButton.Layouts.SPS_EmailAttachment.EmailAttachment.OnClickSubmit(Object sender, EventArgs e)