很急!!!!!!! 环境:V5.0
问题:打了最新补丁后,打开报表出现以下错误:
发生时间: 2014年12月9日 16:40:48
错误来源: mscorlib
错误信息: Object of type 'Kingdee.BOS.LocaleValue' cannot be converted to type 'System.Int32'.
===================================================
调用堆栈:
at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)
at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck)
at System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo fi, Object target, Object value)
at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)
at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.RegisterObject(Object obj, Int64 objectID, SerializationInfo info, Int64 idOfContainingObj, MemberInfo member, Int32[] arrayIndex)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr, Boolean bIsString)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObjectEnd(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)
at Kingdee.BOS.ServiceFacade.BinaryFormatterProxy.Deserialize(String content, Type type)
at Kingdee.BOS.ServiceFacade.SerializerProxy.Deserialize(String content, Type type)
at Kingdee.BOS.ServiceFacade.SerializerProxy`1.Deserialize(String content)
at Kingdee.BOS.ServiceFacade.KDServiceClient.BaseServiceProxy.ExecuteService[T](String method, Object[] args)
at Kingdee.BOS.ServiceFacade.KDServiceClient.Metadata.MetadataServiceProxy.Load(String id, Boolean bRuntime)
at Kingdee.BOS.WinForm.KDSCommon.Helper.PermissionAuthHelper.PermissionAuth(String strFormID, String strPerItemId)
at Kingdee.BOS.KDSReport.frmSpread.RefreshMainMenu()
at Kingdee.BOS.KDSReport.frmSpread.RefreshMenu(KDOperNumber enuOperNumber)
at Kingdee.BOS.KDSReport.frmSingleReport.RefreshMenu(KDOperNumber enuOperNumber)
at FarPoint.Win.Spread.FpSpread.OnActiveSheetChanged(EventArgs e)
at FarPoint.Win.Spread.FpSpread.r()
at FarPoint.Win.Spread.SpreadView.a(Object A_0, CollectionChangeEventArgs A_1)
at System.ComponentModel.CollectionChangeEventHandler.Invoke(Object sender, CollectionChangeEventArgs e)
at FarPoint.Win.Spread.SheetViewCollection.a(CollectionChangeAction A_0, Object A_1)
at FarPoint.Win.Spread.SheetViewCollection.RemoveAt(Int32 index)
at FarPoint.Win.Spread.SheetViewCollection.Remove(SheetView sheetView)
at FarPoint.Win.Spread.SheetViewCollection.Clear()
at Kingdee.BOS.WinForm.KDS20Lib.KDSWorkBook.Open(Byte[] byteData)
at Kingdee.BOS.WinForm.KDSReportCtl.ReportCtl.InitFromEKDReport(EKDReport report)
at Kingdee.BOS.KDSReport.ReportOpener.OpenReportCallBack(EKDReport report)
错误数据: System.Collections.ListDictionaryInternal
推荐阅读