Whenever, I try to unsubcribe a user from a subscription group using the campaign letter api methods I get an error telling me one of the tables in the database doesn't have the column UniqueId.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'UniqueID'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[GenericADOException: could not execute native bulk manipulation query:DELETE uwz_SubscribeItem WHERE UniqueID=:id AND EmailAddress=:email[SQL: DELETE uwz_SubscribeItem WHERE UniqueID=@p0 AND EmailAddress=@p1]]
However uwz_SubscribeItem table doesn't have a column named UniqueId but one named SubscribeTypeUniqueId with the relevant data which is needed for both subscribe methods(which work perfectly) and to view the TestGroup data in the backend of umbraco in the Campaign leter tab.
I'm using the current downloaded beta version of Campaign letter on here with umbraco 4.7.1.1
I've come up with a solution with adding a computed column specification called UniqueId which takes the data from SubscribeTypeUniqueId to uwz_SubscribeItem table
Unsubscribe users not working?
Hi owen,
Whenever, I try to unsubcribe a user from a subscription group using the campaign letter api methods I get an error telling me one of the tables in the database doesn't have the column UniqueId.
Invalid column name 'UniqueID'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'UniqueID'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
It failing on this line in the stack trace
However uwz_SubscribeItem table doesn't have a column named UniqueId but one named SubscribeTypeUniqueId with the relevant data which is needed for both subscribe methods(which work perfectly) and to view the TestGroup data in the backend of umbraco in the Campaign leter tab.
I'm using the current downloaded beta version of Campaign letter on here with umbraco 4.7.1.1
Am I using the unsubscribe methods wrong?
Regards
Paul Fowles
I've come up with a solution with adding a computed column specification called UniqueId which takes the data from SubscribeTypeUniqueId to uwz_SubscribeItem table
Regards
Paul
is working on a reply...