web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cannot create new Contacts nor new Leads in MS CRM 4.0

(0) ShareShare
ReportReport
Posted on by 85

Hi,

 

I performed a migration to MS Crm 4.0 last month. Everything was working fine. Now when creating a new Contact or a new Lead, all users recieve the following error:

 

"The system could not log you on. This could be because your user record or the business unit you belong to has been disabled in Microsoft Dynamics Crm."

 

All users can still create and update all other entities. The problem comes up only when creating a new Contact or a new Lead. When updating a contact or lead that already exists, there is no problem. I tried enabling and disabling a user, creating another BU, but the problem didn't disappear.

 

When turning on the tracing of the Crm, i get the following:

 

-----------------------------

 

Process: w3wp |Organization:3999d099-a0cc-dd11-99b5-005056975add |Thread:    7 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
 at ErrorInformation.LogError()
 at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError)
 at ErrorInformation..ctor(Exception exception, Uri requestUrl)
 at AppForm.HandleSaveEntityException(Exception exception, FormEventId eventType, String url)
 at AppForm.RaiseDataEvent(FormEventId eventId)
 at EndUserForm.Initialize(Entity entity)
 at CustomizableForm.Execute(Entity entity, String formType)
 at CustomizableForm.Execute(Entity entity)
 at ContactDetailPage.ConfigureForm()
 at AppUIPage.OnPreRender(EventArgs e)
 at Control.PreRenderRecursiveInternal()
 at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 at Page.ProcessRequest()
 at Page.ProcessRequestWithNoAssert(HttpContext context)
 at Page.ProcessRequest(HttpContext context)
 at org_sfa_conts_edit_aspx.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.ProcessRequestNoDemand(HttpWorkerRequest wr)
 at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Exception has been thrown by the target of an invocation.

Error Number: 0x80040225

Error Message: The specified user is either disabled or is not a member of any business unit.

Error Details: The specified user is either disabled or is not a member of any business unit.

Source File: Not available

Line Number: Not available

Request URL: http://localhost:5555/org/sfa/conts/edit.aspx

Stack Trace Info: [CrmException: The specified user is either disabled or is not a member of any business unit.]
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckDisabledStatus(IUser user, IOrganizationContext context)
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.VerifyUser(Guid user, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.ExecutionContext.SetCaller(Guid callerId, Boolean setCallerLanguage)
   at Microsoft.Crm.BusinessEntities.ExecutionContext.SwitchCaller(Guid callerId, Boolean switchAuditInfo, Boolean changeLanguageCode)
   at Microsoft.Crm.BusinessEntities.UserContext..ctor(ExecutionContext context, Guid callerId, Boolean switchAuditingInfo, Boolean changeCallerLanguage)
   at Microsoft.Crm.BusinessEntities.UserContext..ctor(ExecutionContext context, Guid callerId)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntityWithColumns(BusinessEntityMoniker businessEntityMoniker, List`1 columns, ContextEntityKey entityRequest, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)
   at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Create(BusinessEntity entity, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.CreateWithPipeline(IBusinessEntity entity, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)
   at Microsoft.Crm.ObjectModel.ContactService.Create(IBusinessEntity entity, ExecutionContext context)

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
   at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
   at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
   at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
   at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
   at Microsoft.Crm.Application.Platform.DataSource.Create(Entity entity, Boolean performDuplicateCheck)
   at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
   at Microsoft.Crm.Application.Platform.EntityProxy.CreateAndRetrieve(String columnSet, Boolean performDuplicateCheck)
   at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)

 

----------------------------------

I already tried creating a new BU but it didn't solve the problem. I also tried to import the database into another CRM deployment but the problem is still there.

Does anybody have an idea on how to solve this?

 

Thanks for your help!

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    Re: Cannot create new Contacts nor new Leads in MS CRM 4.0

    Hi,

    Have a look at this KB Article Article ID: 952858 at Microsoft. http://support.microsoft.com/kb/952858

    Can you let me know how you get on

     

    Edwin

  • SwRaco Profile Picture
    85 on at
    Re: Re: Cannot create new Contacts nor new Leads in MS CRM 4.0

    Hi Edwin,

    Thanks for your reply. I already installed the Rollup 1 but it didn't resolve the problem. This problem occurs in our Productive environment so it's really annoying. Soon we'll have to perform a data migration to another CRM 4.0 deployment...

    If anyone has another idea, please, do not hesitate to write it :)

  • SwRaco Profile Picture
    85 on at
    Re: Re: Re: Cannot create new Contacts nor new Leads in MS CRM 4.0

    I also noticed something special. When i tried to import the corrupted database to another CRM deployment, the import wizard tells me that the database version is not the same as the deployment version. Also i'm having problems importing my current customization file to another organization. There is a problem with Saved Queries for custom entities such as account and contact.

    Is there a way to put the database up-to-date? Installing Rollup 1 wasn't enough..

    Thanks for your answers and help!

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans