Developer forum

Forum » Development » Error after adding assembly to bin folder: Input string was not in a correct format

Error after adding assembly to bin folder: Input string was not in a correct format

Maulik Kataria
Reply
Hi,

I get the following error after adding an assembly (for a custom MailFormSaveProvider) in the bin folder. I does not stop me from accessing everything. I am not sure of it's impact and how to solve it. Does anybody know what this means?
System.InvalidCastException: Konvertering fra strengen 24548.38 til typen Double er ikke gyldig. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value) at Dynamicweb.SolutionStat.DBSize() at Dynamicweb.Content.Management.Installation.GetInstallationXml() at Dynamicweb.Content.Management.Installation.Report()


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer
I think it is a bug that comes due to a mismatch of your collations settings of your DB and the numberformat of your system. I've changed our code so it is taken into consideration.

You should only see this error on application_start and not in production.

When the next hotfix of Dynamicweb is released, this will be fixed.

Votes for this answer: 0
 
Maulik Kataria
Reply
I see. Thank you for the heads up.

 

You must be logged in to post in the forum