Skip to content

Upgrade to V17.3 have sql exceptionΒ #22339

@laputaworkuk

Description

@laputaworkuk

πŸ› Bug Summary

After upgrading Umbraco from v16 or v17.2 to v17.3, the application fails to run due to a SQL Server exception.

πŸ” Steps to Reproduce

  1. Upgrade an existing Umbraco project from v16 or v17.2 to v17.3
  2. Run the application

βœ… Expected Result

The application starts successfully without errors.

❌ Actual Result

The application throws an unhandled SQL exception during execution.

πŸ“„ Error Message

Unhandled exception. Microsoft.Data.SqlClient.SqlException (0x80131904): 
The incoming request has too many parameters. The server supports a maximum of 2100 parameters. 
Reduce the number of parameters and resend the request.

   at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions