本地计算机出错,但生产服务器出错

时间:2014-11-22 06:57:44

标签: c# .net linq entity-framework

有人可以帮我解决这个错误吗?这引发了5个开发者盒子中的4个,并且(幸运地)没有生产环境,但不知道为什么。

  

System.Web.Services.Protocols.SoapException:服务器无法执行   处理请求。 ---> System.Reflection.TargetInvocationException:   调用的目标抛出了异常。 --->   System.OverflowException:值太大或太小   一个十进制。在System.Number.ParseDecimal(String value,NumberStyles   System.Convert.ToDecimal上的options,NumberFormatInfo numfmt(String   价值,IFormatProvider提供者)at   System.String.System.IConvertible.ToDecimal(IFormatProvider provider)   在System.Convert.ToDecimal(对象值)处   MySql.Data.MySqlClient.MySqlDataReader.GetDecimal(Int32 i)at at   MySql.Data.Entity.EFMySqlDataReader.GetDecimal(Int32 ordinal)---   内部异常堆栈跟踪结束--- at   System.RuntimeMethodHandle.InvokeMethod(Object target,Object []   参数,签名sig,布尔构造函数)at   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,   Object []参数,Object []参数)at   System.Reflection.RuntimeMethodInfo.Invoke(Object obj,BindingFlags   invokeAttr,Binder binder,Object []参数,CultureInfo文化)
  在   System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader 1.GetTypedValueDefault(DbDataReader reader, Int32 ordinal) at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader 1.GetValue(DbDataReader   阅读器,Int32 ordinal)在lambda_method(Closure,Shaper)at   System.Data.Entity.Core.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly [TEntity](Func键2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
at lambda_method(Closure , Shaper ) at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator
1.ReadNextElement(整形器   塑造者   System.Data.Entity.Core.Common.Internal.Materialization.Shaper 1.RowNestedResultEnumerator.MaterializeRow() at System.Data.Entity.Core.Common.Internal.Materialization.Shaper 1.RowNestedResultEnumerator.MoveNext()   在   System.Data.Entity.Core.Common.Internal.Materialization.Shaper 1.ObjectQueryNestedEnumerator.TryReadToNextElement() at System.Data.Entity.Core.Common.Internal.Materialization.Shaper 1.ObjectQueryNestedEnumerator.ReadElement()   在   System.Data.Entity.Core.Common.Internal.Materialization.Shaper 1.ObjectQueryNestedEnumerator.MoveNext() at System.Data.Entity.Internal.LazyEnumerator 1.MoveNext()at   System.Collections.Generic.List 1..ctor(IEnumerable 1集合)at   System.Linq.Enumerable.ToList [TSource](IEnumerable 1 source) at Glocalapps.BusinessLogic.Logic.ProductLogic.GetProductManagementCatalogData(Int32 idCatalog, Int32 skip, Int32 take, String name, Nullable 1 isActive,   Nullable 1 isVisible, Nullable 1修订版)

0 个答案:

没有答案
相关问题