Support Forums

Error Branding afte…
 
Notifications
Clear all

[Solved] Error Branding after upgrade to 3.1.1532.0

4 Posts
2 Users
1 Likes
4,740 Views
0
Topic starter

Hi,

After the upgrade to?3.1.1532.0 I lost my branding settings. And I get the following error when creating new branding:

500 Error

An internal server error occurred.t

So I checked the logs and I see the following lines:

?

2017-01-22 22:37:27,571 ::: [34] ERROR ::: CloudPanel.Modules.BrandingModule — Error creating new branding: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. —> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. —> System.Data.SqlClient.SqlException: Invalid object name ‘dbo.cp_Brandings’.

? ?at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 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.SqlDataReader.TryConsumeMetaData()

? ?at System.Data.SqlClient.SqlDataReader.get_MetaData()

? ?at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)

? ?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, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

? ?at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

? ?at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

? ?at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)

? ?at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)

? ?at System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)

? ?at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()

? ?— End of inner exception stack trace —

? ?at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()

? ?at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)

? ?at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)

? ?at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)

? ?at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)

? ?at System.Data.Entity.Internal.InternalContext.SaveChanges()

? ?— End of inner exception stack trace —

? ?at System.Data.Entity.Internal.InternalContext.SaveChanges()

? ?at CloudPanel.Database.EntityFramework.CloudPanelContext.SaveChanges()

? ?at CloudPanel.Modules.BrandingModule.<.ctor>b__2_2(Object _)

?

pls help!

Jacob Dixon 2017-01-22 16:50

What version did you upgrade from? Also did you go to the settings page and click update database?

2 Answers
1
Topic starter

Hi,?

I have fixed the problem. The table cp_Brandings was deleted when?upgrading. I have created a new table (from backup) and it works!.

Jacob Dixon 2017-01-23 20:01

That table does not get deleted during updates. Can you please send your log files to support@knowmoreit.com?

?

0
Topic starter

Hi Jacob,

I updated from?v3.1.1005 to v3.1.1532.0 and yesterday to?v3.1.1540, but still problem with branding page.

And yes I did the update db..

Share: