Exception thrown when 'AddTrackingPixelRenderTask' is configured
Hello,
I'm using Umbraco 7.2.1 and find out that the RenderTask 'AddTrackingPixelRenderTask' causes an Exception when previewing or sending out the newsletter. The error is the same in both cases:
Exception Details: System.ArgumentNullException: Value cannot be null.
If I remove the 'AddTrackingPixelRenderTask' from the newsletterStudio.config everything works great, except that we can't track if the subscriber already opened the newsletter.
The NewsletterStudio version is 2.1.0 (Newsletter_Studio_2.1.0 (For Umbraco 7).zip uploaded 9/28/2014) downloaded from the project page
I had problems installing the NewsletterStudio due to the Umbraco's Config folder permissions. As a result, the configuration sections "emailRenderingTasks" and "subscriptionProviders" was empty after the installation. When I saw your video of the Demo at uHangout, I checked which renderingTasks and subscriptionproviders that was supposed to be configured.
Right now, I have the following renderingTasks and subscriptionProviders:
I tip would have been to install newsletter studio in a clear Umbraco site and just copy/paste the content of the config file. But, here the complete list of render tasks:
Exception thrown when 'AddTrackingPixelRenderTask' is configured
Hello,
I'm using Umbraco 7.2.1 and find out that the RenderTask 'AddTrackingPixelRenderTask' causes an Exception when previewing or sending out the newsletter. The error is the same in both cases:
If I remove the 'AddTrackingPixelRenderTask' from the newsletterStudio.config everything works great, except that we can't track if the subscriber already opened the newsletter.
Do you know what can cause this behavior?
Thanks
Hi!
What version of newsletter studio are you running?
I have not seen this issue before... doses it work when you perform a "real" send out?
Did you change anything in the config file prior to this issue?
// m
Hello,
The NewsletterStudio version is 2.1.0 (Newsletter_Studio_2.1.0 (For Umbraco 7).zip uploaded 9/28/2014) downloaded from the project page
I had problems installing the NewsletterStudio due to the Umbraco's Config folder permissions. As a result, the configuration sections "emailRenderingTasks" and "subscriptionProviders" was empty after the installation. When I saw your video of the Demo at uHangout, I checked which renderingTasks and subscriptionproviders that was supposed to be configured.
Right now, I have the following renderingTasks and subscriptionProviders:
<emailRenderingTasks>
<clear />
<task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRendertask, NewsletterStudio" />
<task name="FitIntoTemplateRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />
<task name="RenderUrlRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />
<task name="ReplaceUnsubscribeRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />
<task name="ReadOnlineRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />
<task name="ReplaceLocalLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />
<task name="AddFullDomainToRelativeSrcsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />
<task name="ReplaceRelativeLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />
<task name="GoogleAnalyticsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />
<task name="AddClickTagsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />
<task name="ReplaceUniqMergeFieldsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />
</emailRenderingTasks>
<subscriptionProviders>
<clear />
<provider name="NewsletterStudioSubscriptionProvider" type="NewsletterStudio.Bll.Providers.NewsletterStudioSubscriptionProvider, NewsletterStudio" />
</subscriptionProviders>
Hi!
The issue is that the class name is incorrect.
<task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRendertask, NewsletterStudio" />
Should be:
<task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />
With a capital T in the end of the class name.
I tip would have been to install newsletter studio in a clear Umbraco site and just copy/paste the content of the config file. But, here the complete list of render tasks:
<emailRenderingTasks>
<task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRenderTask, NewsletterStudio" />
<task name="AddTrackingPixelRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddTrackingPixelRendertask, NewsletterStudio" />
<task name="FitIntoTemplateRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.FitIntoTemplateRenderTask, NewsletterStudio" />
<task name="ReplaceUnsubscribeRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUnsubscribeRenderTask, NewsletterStudio" />
<task name="ReadOnlineRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReadOnlineRenderTask, NewsletterStudio" />
<task name="ReplaceLocalLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceLocalLinksRenderTask, NewsletterStudio" />
<task name="AddFullDomainToRelativeSrcsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddFullDomainToRelativeSrcsRenderTask, NewsletterStudio" />
<task name="RenderUrlRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.RenderUrlRenderTask, NewsletterStudio" />
<task name="ReplaceRelativeLinksRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceRelativeLinksRenderTask, NewsletterStudio" />
<task name="GoogleAnalyticsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.GoogleAnalyticsRenderTask, NewsletterStudio" />
<task name="AddClickTagsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.AddClickTagsRenderTask, NewsletterStudio" />
<task name="ReplaceUniqMergeFieldsRenderTask" type="NewsletterStudio.Services.RenderTasks.Tasks.ReplaceUniqMergeFieldsRenderTask, NewsletterStudio" />
</emailRenderingTasks>
Thank you very much Markus, that was the problem :)
Now it's working and tracking the newsletter openings :)
is working on a reply...