Buongiorno a tutti
Un cliente ha il seguente problema: quando aggiorna un attibuto degli account (industrycode) si presenta il seguente errore:
AGGIURNAMENTO NON VALIDO
Ho controllato il trace ed ho trovato il seguente l'errore:
[2013-02-12 09:31:30.3] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 1 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmArgumentException..ctor
at CrmArgumentException..ctor(String message, String parameterName)
at Exceptions.ThrowIfEmpty(String value, String parameterName)
at ParameterBag.GetString(String name)
at AttributeCreate.GetPicklistInfo(ParameterBag typeBag, AttributeMetadata attributeMD)
at AttributeCreate.GetAttributeInfo(ParameterBag paramBag, AttributeMetadata attributeMD)
at AttributeUpdate.Execute(IUser user, ParameterBag paramBag)
at SystemCustomization.UpdateAttribute(XmlNode data)
at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at LogicalMethodInfo.Invoke(Object target, Object[] values)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: Expected non-empty string., ErrorCode: -2147220989, InnerException: System.ArgumentException: Expected non-empty string.
Nome parametro: label
[2013-02-12 09:31:30.3] Process: w3wp |Organization:1dbf0e5c-4663-4d0d-9491-0b3d0330955c |Thread: 1 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Expected non-empty string.
Error Number: 0x80040203
Error Message: Expected non-empty string.
Error Details: Expected non-empty string.
Source File: Not available
Line Number: Not available
Request URL: http://10.120.1.2:5555/OILSteel/AppWebServices/SystemCustomization.asmx
Stack Trace Info: [ArgumentException: Expected non-empty string.
Nome parametro: label]
[CrmArgumentException: Expected non-empty string.]
in Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
in Microsoft.Crm.Application.WebServices.ParameterBag.GetString(String name)
in Microsoft.Crm.Application.WebServices.SystemCustomization.AttributeCreate.GetPicklistInfo(ParameterBag typeBag, AttributeMetadata attributeMD)
in Microsoft.Crm.Application.WebServices.SystemCustomization.AttributeCreate.GetAttributeInfo(ParameterBag paramBag, AttributeMetadata attributeMD)
in Microsoft.Crm.Application.WebServices.SystemCustomization.AttributeUpdate.Execute(IUser user, ParameterBag paramBag)
in Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomization.UpdateAttribute(XmlNode data)
Ho trovato un articolo della microsoft che mi diceva che poteva esserciil campo in cui vado ad aggiornare con il label description="" nel file
Customizations.
Questo è l'articolo: http://support.microsoft.com/kb/2004324
Io ho verificato, ma esistono altri campi con label description="" ma non mi risulta quello.
Spero di essere stato chiaro e confido in un vostro aiuto
Alain