积极答复者
crm3.0删除角色系统定制员之后无法创建实体。

问题
答案
-
http://www.cnblogs.com/caims/archive/2008/05/04/1182090.html
刀客的文章,3.0要通过数据库操作。注意备份
- 已标记为答案 Batistuta CaiModerator 2010年6月30日 7:36
-
-
http://www.cnblogs.com/caims/archive/2008/05/04/1182090.html
刀客的文章,3.0要通过数据库操作。注意备份
感谢刀客的文章,解决了。- 已标记为答案 michelle_weimei 2010年6月30日 7:54
全部回复
-
[2010-06-29 13:53:15.9] Process: w3wp |Thread: 3072 |Category: Platform.Metadata |User: 00000000-0000-0000-0000-000000000000 |Level: Error | EntityService.Create
at EntityService.Create(EntityCreateInfo entityInfo)
at EntityCreate.Execute(User user, ParameterBag paramBag)
at SystemCustomization.CreateEntity(XmlNode data)
at RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
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 HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>EntityService.Create caught exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.NativeInteropProxy.CRMInteropCRoleTClass.AddPrivileges(CUserAuth& Caller, UInt32 iCount, CRolePrivilege[] Privileges, String sessionToken)
at Microsoft.Crm.Metadata.SecurityHelper.CreateEntityHelper(EntityDescription entityDescription, OwnershipTypes ownershipTypeMask, ExecutionContext context)
at Microsoft.Crm.Metadata.EntityService.CreateInternal(EntityCreateInfo entityInfo, ExecutionContext context)
at Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo)
[2010-06-29 13:53:18.8] Process: w3wp |Thread: 3072 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
at ErrorInformation.LogError()
at ErrorInformation..ctor(Exception exception, Uri requestUrl)
at AppWebService.ThrowSoapException(Exception innerException)
at SystemCustomization.CreateEntity(XmlNode data)
at RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
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 HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>MSCRM Application Error Report:
--------------------------------------------------------------------------------------------------------
Error: Object reference not set to an instance of an object.Error Message: Object reference not set to an instance of an object.
Source File: Not available
Line Number: Not available
Request URL: http://10.164.2.1/AppWebServices/SystemCustomization.asmx
Stack Trace Info: at Microsoft.Crm.NativeInteropProxy.CRMInteropCRoleTClass.AddPrivileges(CUserAuth& Caller, UInt32 iCount, CRolePrivilege[] Privileges, String sessionToken)
> at Microsoft.Crm.Metadata.SecurityHelper.CreateEntityHelper(EntityDescription entityDescription, OwnershipTypes ownershipTypeMask, ExecutionContext context)
> at Microsoft.Crm.Metadata.EntityService.CreateInternal(EntityCreateInfo entityInfo, ExecutionContext context)
> at Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo)
> at Microsoft.Crm.Application.WebServices.SystemCustomization.EntityCreate.Execute(User user, ParameterBag paramBag)
> at Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomization.CreateEntity(XmlNode data)Type: Application
这是什么错误?看不懂.
-
http://www.cnblogs.com/caims/archive/2008/05/04/1182090.html
刀客的文章,3.0要通过数据库操作。注意备份
- 已标记为答案 Batistuta CaiModerator 2010年6月30日 7:36
-
-
http://www.cnblogs.com/caims/archive/2008/05/04/1182090.html
刀客的文章,3.0要通过数据库操作。注意备份
感谢刀客的文章,解决了。- 已标记为答案 michelle_weimei 2010年6月30日 7:54