Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have been getting a few errors when saving certain things in Umbraco. We're using v8 for this project at the moment.
One instance where it occurred was when I have tried to add a child node type to a parent node.
We get this error
System.Data.SqlClient.SqlException (0x80131904): Implicit conversion from data type nvarchar to varbinary(max) is not allowed. Use the CONVERT function to run this query. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource
It seems like a database issue, but we dont have a solution.
Can anyone help?
Hey,
This sounds similar to this issue:
Error: Implicit conversion from data type nvarchar to varbinary(max) is not allowed.
So answer may be in there. What version of SQL Server are you running?
We're using sql2022, but the Umbraco database is in 2017 compatibility mode. The version of Umbraco we are using is 8
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Sql Exception Error
I have been getting a few errors when saving certain things in Umbraco. We're using v8 for this project at the moment.
One instance where it occurred was when I have tried to add a child node type to a parent node.
We get this error
It seems like a database issue, but we dont have a solution.
Can anyone help?
Hey,
This sounds similar to this issue:
Error: Implicit conversion from data type nvarchar to varbinary(max) is not allowed.
So answer may be in there. What version of SQL Server are you running?
We're using sql2022, but the Umbraco database is in 2017 compatibility mode. The version of Umbraco we are using is 8
is working on a reply...