SYMPTOM:
When using an attribute that has the ID form as text to retrieve the dynamic subscription information in Strategy Narrowcast Server 10.x, the following errors occur:
Service ID Execution ID Segment ID Information Source ID received results for Information Object with error message: Type mismatch
Error in `GetResultInDocumentInstance and module name `cPageDocumentIO` while trying to retrieve page by data from PPE document.
Error in `GetResultInDocumentInstance and module name `cPageDocumentIO No personalized page returned for user preference `4301` in the document instance`s group by element tree.
CAUSE:
The ID form of the attribute being used to get the subscription information is text and not numeric.
A subscription ID must be a 4-byte integer. No workaround exists for using subscription IDs in other formats. However, a slicing attribute can be any numeric or text datatype. The integer-only constraint for subscription ID ensures that database configuration differences such as case sensitivity on comparisons do not cause unpredictable behavior. On the other hand, a slicing attribute is used to match preferences to a specific page of content returned and thus any numeric or text data type can be used. However, the slicing attribute used for personalized page execution information object reports cannot use an attribute with a compound key.
ACTION:
To solve this issue, the user must use a 4-byte integer ID form as the subscription ID.
WORKAROUND:
One possible workaround to this issue is to create a view. Follow the steps below to accomplish this:
SELECT (SELECT COUNT(A.)
B.*
FROM B
For ORACLE databases, ROWNUM can be used to retrieve the row number:
SELECT ROWNUM, * FROM
17229