The SubscriberId property on EmailTrackingItem could not be set to a Int32 value
Hey Markus!
Im getting an error when sending an newsletter
NewsletterStudio, SendNewsletterService: The 'SubscriberId' property on 'EmailTrackingItem' could not be set to a 'Int32' value. You must set this property to a non-null value of type 'String'. :
Hi Markus, it’s my understanding that the new version of Newsletter Studio (1.4.5.2) won’t work on Umbraco 4.11.10. Is this correct?
Further to Ben’s comments, the version of Newsletter Studio we are using is running fine on most of our installs. We copied a working site and deleted all the members (this may be the root cause of the problem).
How can we now fix this issue? Do we need to do anything to the database to correct?
Hmm.. I'm not sure if that is the issue, might be something else since the type problem is with the tracking items this has probably no connection to the deleted members.
Are you sending to members or to subscribers from the built in mailing lists?
I just logged into the frontend, now I get YSOD error...
Server Error in '/' Application.
Could not load type 'NewsletterStudio.Model.ContextFactory' from assembly 'NewsletterStudio, Version=1.4.5.2, Culture=neutral, PublicKeyToken=null'.
Yes, your "sign up for newsletter"-script contains old references. You should use the front end API to base safe for breaking changes (http://support.newsletterstudio.org/customer/en/portal/articles/1053101-front-end-api).
The SubscriberId property on EmailTrackingItem could not be set to a Int32 value
Hey Markus! Im getting an error when sending an newsletter NewsletterStudio, SendNewsletterService: The 'SubscriberId' property on 'EmailTrackingItem' could not be set to a 'Int32' value. You must set this property to a non-null value of type 'String'. :
Any Ideas on what I am doing wrong?
Hi!
What version of the package are you running? Did you get these errors just after install or have you made any upgrades etc?
/ m
v1.3.4
umb4.11.10 (Assembly version: 1.0.4926.14927)
We haven't made any upgrades and we have been running for a while.
The newsletter is found at /Newsletter/Newsletter Studio/Drafts/test/
Click Send button
Select "Send the newsletter now"
Select a user group and a Mailing List
Click Confirm
You then get the error after the spinner is shown for a second or two.
Could it be that the newsletter is in drafts?
Hi!
Hmm. There was changes in the schema "back in the days" but to get this error you would have had to update something (either db or files).
Your best bet is to upgrade to the latest version of the package and see if your issues still remains.
Latest version is now 1.4.5.2 and can be found on newsletterstudio.org
Hi Markus, it’s my understanding that the new version of Newsletter Studio (1.4.5.2) won’t work on Umbraco 4.11.10. Is this correct?
Further to Ben’s comments, the version of Newsletter Studio we are using is running fine on most of our installs. We copied a working site and deleted all the members (this may be the root cause of the problem).
How can we now fix this issue? Do we need to do anything to the database to correct?
Ahhh, I’ve just had a better look. So I can see now that NS v1.4.5.2 is compatible with umb4.11.
Do I need to uninstall NS v1.3.4 first or can I just ‘Install Local Package?
Is there anything else I should consider when upgrading? I.e. we use Newsletter Studio Subscriptions as well as Umbraco Member Subscriptions.
Hi!
Yes, 1.4.5.2 should work on Umbraco 4.11.10
Hmm.. I'm not sure if that is the issue, might be something else since the type problem is with the tracking items this has probably no connection to the deleted members.
Are you sending to members or to subscribers from the built in mailing lists?
If you would like to upgrade there is a guide here: http://support.newsletterstudio.org/ (headline: upgrading).
Most of the time you should just have to run the new installer over the old install - do not uninstall.
Make sure to take backups before.
Hi Markus, we are sending from both Members and Subscriber groups but neither works. I will try the upgrade now.
Okej - let me know if you figure it out.
Good news Markus,
Upgrading to 1.4.5.2 fixed the problem. It was an easy install and upgrade.
Thanks for your help, as always.
Hi!
Great news! Thanks for sharing the good experiance!
You know where to find me if you need anything else.
Have a great day!
// m
Actually Markus, I spoke too soon.
I just logged into the frontend, now I get YSOD error...
Server Error in '/' Application. Could not load type 'NewsletterStudio.Model.ContextFactory' from assembly 'NewsletterStudio, Version=1.4.5.2, Culture=neutral, PublicKeyToken=null'.
Hi!
You might need to upgrade the "sign on" script? Thats probably the issue here.
How do you mean upgrade the script? Do you mean the ‘newsletterStudio.config’ file? And how exactly do I upgrade this?
Source Error:
Line 50: private void Subscribe(Member mbr)
Line 51: {
Line 52: MemberNewsletter.SubscribeMember(mbr);
Line 53: } Line 54:
Source File: ~~~\home\App_Code\NewsletterSubscription.cs Line: 52
Hi!
Yes, your "sign up for newsletter"-script contains old references. You should use the front end API to base safe for breaking changes (http://support.newsletterstudio.org/customer/en/portal/articles/1053101-front-end-api).
is working on a reply...