Send email workflow - message field 'String or binary data would be truncated'
Hi all
Our client is trying to add some text to the 'Message' field of the 'Send Email' workflow. 3170 characters to be exact.
On save the following error is shown 'String or binary data would be truncated. The statement has been terminated.'
This is only happening on the staging environment, not on the development environment.
Does anyone know the name of the table/column where this data is stored? Thanks in advance.
The full error message is below:
String or binary data would be truncated. The statement has been terminated.
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: String or binary data would be truncated. The statement has been terminated.
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.
Send email workflow - message field 'String or binary data would be truncated'
Hi all
Our client is trying to add some text to the 'Message' field of the 'Send Email' workflow. 3170 characters to be exact.
On save the following error is shown 'String or binary data would be truncated. The statement has been terminated.'
This is only happening on the staging environment, not on the development environment.
Does anyone know the name of the table/column where this data is stored? Thanks in advance.
The full error message is below:
String or binary data would be truncated.
The statement has been terminated.
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: String or binary data would be truncated.
The statement has been terminated.
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:
ALTER TABLE [dbo].[UFSettings] ALTER COLUMN [Value] nvarchar(MAX)
Came across this while mapping long-text fields in Contour.
Jonathan, thanks a million!
The correct statement for umbraco forms 4.3.2 is:
ALTER TABLE [dbo].[UFRecordDataString] ALTER COLUMN [Value] nvarchar(MAX) NOT NULL
This is a little contour bug, the value is initially set to 255 in the db, however the field template has the maxlenght of 500.
is working on a reply...