As a temp solution I manually created the column in DecimalValue in tblBigTableReference.
Would really like to know what the cause of the problem was, since my solution might cause problems with future updates.
Hi,
Did you try to update via Deployment center before using nuget package? AFAIK the nuget packages are meant to use to update 7.5 site to latest version, not from 7.0 to 7.5. You still need Deployment Center to do that upgrade.
/Q
Did you try to compile your project and browse your site before upgrading nuget package? I would suggest to do that because it's recommeded to update nuget package on a working site.
Regards.
/Q
Hi!
I get the same thing.
Any news on why this happens or how to resolve it?
Regards,
David
I'm getting the same error, solve it with MattiasH's fix, adding a decimal(18,3) column called DecimalValue.
Edit: changed datatype from bigint to decimal(18,3). (Why isn't strikethrough enabled in this editor?)
Hi,
I went trough all the steps, updated my NuGet packages, updated the DB, then alkso Update-EPiDatabase, refactored obsolete stuff and get the compilation working again.
In other words; I have latest EPiServer dlls from NuGet repository and the latest DB from the new migration/package manager tools.
So when I browse any URL (also dashboard/edit/admin) I get the following error:
Invalid column name 'DecimalValue'.Beskrivning: Ett undantag som inte kunde hanteras uppstod när den aktuella webbegäran kördes. Mer information om felet och var i koden det uppstod finns i stackspårningen.
Undantagsinformation: System.Data.SqlClient.SqlException: Invalid column name 'DecimalValue'.
Källfel:
Källfil: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\b65e3b1d\4e477109\App_global.asax.0.cs Rad: 0
Stackspårning:
I have tried to delete the .NET temporary files, I tried to reboot, I tried clear and recompile..
So i did a trace oin the SQL server and I foudn this:
exec sp_executesql N'SELECT tblBigTableReference.ElementType,
tblBigTableReference.ElementStoreName,
tblBigTableReference.PropertyName,
tblBigTableReference.RefIdValue,
tblBigTableIdentity.Guid,
tblBigTableReference.LongValue,
tblBigTableReference.Type,
tblBigTableReference.StringValue,
tblBigTableReference.ExternalIdValue,
tblBigTableReference.DecimalValue
FROM [dbo].[tblBigTableReference]
LEFT OUTER JOIN [dbo].[tblBigTableIdentity] ON tblBigTableReference.RefIdValue = tblBigTableIdentity.pkId
WHERE tblBigTableReference.pkId= @Id AND (tblBigTableReference.Type = @Reference OR tblBigTableReference.Type = @Provider)',N'@Id bigint,@Reference int,@Provider int',@Id=8875,@Reference=2,@Provider=4
The .DecimalValue is a non existant property on that table in this version, so I can see where it fails..
Have I missed something in the migration process of the DB - If so, what might I have missed in the process to get this error?
Or is this a error on the EPiServer lib side - If so, how can i fix it?