I had an older version of the portal running locally. I decided to use a newer version to see the implementations. Mostly to learn from it. Installing the 29.3.0.5 version of the portal gave me some issues with the SQL Database. Once starting up the project I receive SQL errors.
I tries to lower my version and installed the 29.2.0.6. This one does work and I have no issues with this.
Query:
INSERT INTO CMS_EventLog ([EventType], [EventTime], [Source], [EventCode], [UserID], [UserName], [IPAddress], [EventDescription], [EventUrl], [EventMachineName], [EventUserAgent], [EventUrlReferrer])
VALUES (@EventType, @EventTime, @Source, @EventCode, @UserID, @UserName, @IPAddress, @EventDescription, @EventUrl, @EventMachineName, @EventUserAgent, @EventUrlReferrer);
SELECT SCOPE_IDENTITY() AS [ID]
Caused exception:
String or binary data would be truncated.
The statement has been terminated.
Exception type: System.Exception
Stack trace:
at CMS.DataEngine.AbstractDataConnection.HandleError(String queryText, Exception ex)
at CMS.DataEngine.AbstractDataConnection.ExecuteScalar(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction)
at CMS.DataEngine.GeneralConnection.ExecuteScalar(QueryParameters query)
at CMS.DataEngine.DataQueryBase`1.GetScalarResult()
at CMS.DataEngine.DataQueryBase`1.GetScalarResult[T](T defaultValue)
at CMS.DataEngine.DataClassDataSqlStore.Insert(IDataClass dataClass, Boolean initializeId)
at CMS.DataEngine.AbstractInfoBase`1.InsertData()
at CMS.DataEngine.AbstractInfoProvider`3.SetInfo(TInfo info)
at CMS.EventLog.EventLogProvider.LogEventInternal(EventLogInfo eventObject)
at CMS.EventLog.EventLogProvider.LogEventInternal(EventLogInfo eventObject, Boolean logDirectly)
at CMS.EventLog.EventLogProvider.LogEventCore(EventLogInfo eventObject, Boolean logDirectly)
Environment
- Xperience by Kentico version: [29.3.0]
- .NET version: [8]
- Deployment environment: local
- Link to relevant Xperience by Kentico documentation