Hello,
Could you please make sure you are using the correct version of the file in the error message (EmailTemplateMacros.cs)? Could you please post the 362th line from that file?
Please double check that you are using the Kentico
CMS dll files for the correct .NET version. The version of the System.Web.Extensions.Design.dll file should be also of the same version, e.g. 3.5.0.0 and you also need to use the proper web.config file for the .NET 3.5 version with reference to correct version of System.Web.Extensions.Design assembly. There should be following line of code in your web.config file:
<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Once more, this is an example for the 3.5 version of .NET.
Best regards,
Boris Pocatko