New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.FormatException is thown when call FirebirdSql.Data.FirebirdClient.FbCommandBuilder.DeriveParameters [DNET263] #273
Comments
Modified by: @cincuranetsecurity: Developers [ 10012 ] => |
Commented by: @cincuranet Do you have any particular case when it fails? I'm not able to reproduce it with basic SP. |
Modified by: @cincuranetstatus: Open [ 1 ] => In Progress [ 3 ] |
Commented by: Pham Huu Le Quoc Phuc (phucphlq) Sorry, my english not well. This exception is thown only some machine(Windows XP SP2), then when I create a new Windows user(on Windows), exception not happened. I think it fails because Windows User change user's windows Settings(Decimal Symbol, Digit Group Symbol, ..) |
Commented by: @cincuranet OK, then I need the DDL for the procedure and what locale has been set in system. |
Commented by: Pham Huu Le Quoc Phuc (phucphlq) This exception is thown only some machine when I install for customers. And I can't know what locate has been changed in Windows Settings. But I send a example procedure here:
END |
Commented by: @cincuranet If I don't know what locale is set, I cannot test the problem and fix it. |
Commented by: Pham Huu Le Quoc Phuc (phucphlq) In Windows XP SP3, .Net 2.0, you do: |
Commented by: Pham Huu Le Quoc Phuc (phucphlq) In step 1, you can change Negative sign symbol: from - to ',' or '@' or '~' |
Commented by: @cincuranet rev.52450 |
Modified by: @cincuranetstatus: Reopened [ 4 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.6.1 [ 10400 ] |
Submitted by: Pham Huu Le Quoc Phuc (phucphlq)
Votes: 1
Csla.DataPortalException: DataPortal.Update failed (System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Data.XSDSchema.HandleElementColumn(XmlSchemaElement elem, DataTable table, Boolean isBase)
at System.Data.XSDSchema.HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, Boolean isBase)
at System.Data.XSDSchema.HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, Boolean isNillable)
at System.Data.XSDSchema.InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, Boolean isRef)
at System.Data.XSDSchema.HandleTable(XmlSchemaElement node)
at System.Data.XSDSchema.HandleDataSet(XmlSchemaElement node, Boolean isNewDataSet)
at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds)
at System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean denyResolving)
at System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving)
at System.Data.DataSet.ReadXml(Stream stream)
at FirebirdSql.Data.Schema.FbSchemaFactory.GetSchema(FbConnection connection, String collectionName, String[] restrictions)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.GetSchema(String collectionName, String[] restrictions)
at FirebirdSql.Data.FirebirdClient.FbConnection.GetSchema(String collectionName, String[] restrictions)
at FirebirdSql.Data.FirebirdClient.FbConnection.GetSchema(String collectionName)
at FirebirdSql.Data.FirebirdClient.FbCommandBuilder.DeriveParameters(FbCommand command)
Commits: 8b131c7
The text was updated successfully, but these errors were encountered: