Options

Problem connecting to RTC

GoMaDGoMaD Member Posts: 313
edited 2010-08-04 in NAV Three Tier
Our Middle tier service just crashed and now it seems that only two of the four users who connect to this middle tier have
the following error:

Service: MicrosoftDynamicsNavServer$MOVEPLUS_DEMO
User: ICONOS\ifactoconfig
Type: System.ArgumentNullException
Message:
Value cannot be null.
Parameter name: key
ParamName: key
StackTrace:
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at Microsoft.Dynamics.Nav.Service.Metadata.Configuration.NavXmlDeltaCalculation.ApplyNodeAdd(NavXmlAdd add, XmlDocument document, IDictionary`2 resultNodes)
at Microsoft.Dynamics.Nav.Service.Metadata.Configuration.NavXmlDeltaCalculation.Apply(IXPathNavigable document, NavXmlDelta delta)
at Microsoft.Dynamics.Nav.Service.Metadata.MetadataProvider.GetMasterPageUnsolved(Int32 id, String personalizationId, Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.Service.Metadata.MetadataProvider.GetNavigationFrame(Int32 homepageId, Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.Service.Metadata.MetadataProvider.GetNavigationFrame(Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass4e.<GetNavigationFrame>b__4d(Connection connection)
at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
Source: mscorlib

Can somebody please help?

Regards
Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!

Comments

  • Options
    GoMaDGoMaD Member Posts: 313
    UPDATE:

    It seems it has something to do with Profile Personalisations.

    Once a user is linked to a Profile, through the Profile ID under "User personalization" we get this error.
    When we remove the Profille ID and use the Default Role Center, everything works like a charm.

    Any ideas, anyone ????
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
  • Options
    mihail_kolevmihail_kolev Member Posts: 379
    Is there any language personalization in PromotedActionCategory in some properties. I think I had similar issue
    -Mihail- [MCTS]
  • Options
    Jens_M-PJens_M-P Member, Microsoft Employee Posts: 39
    From your description it seems that the record in the Profile Metadata table (2000000074) is 'corrupt'. From looking at the code I can see that you can get into this situation if there are elements in the profile at the root level - but I am just guessing here as I do not have the particular profile in question.

    For now, you probably have to reconfigure the profile (see e.g. http://msdn.microsoft.com/en-us/library/dd354992.aspx)

    I am sorry that the session is terminating based on this - we will log a bug on this.
    Best regards,
    Jens Møller-Pedersen [MSFT]

    This posting is provided 'AS IS' with no warranties, and confers no rights.
  • Options
    Joe_MathisJoe_Mathis Member Posts: 173
    Just thought I would bump this topic.

    While I was setting up personalization (President Role) on the system I got the error on the screen and the same error messages on the server.

    Still trying resolve the issue and then try to recreate it. Will post findings.
    So far...
    Deleted User Personalization Store file. -No change.
    No language packs installed.
    Opened Table 2000000074 to see what I can see, and it's empty.
    Trying the profile reconfiguration.
    -edit also changed the role for the user, along with the profile reconfiguration this appears to have fixed the issue.

    Event Type: Error
    Event Source: MicrosoftDynamicsNAVServer
    Event Category: None
    Event ID: 0
    Date: 8/4/2010
    Time: 12:50:30 PM
    User: N/A
    Computer: DYNAMICS
    Description:
    Service: MicrosoftDynamicsNavServer$TestDynamicsNAV
    User: Domain\joemathis
    Type: System.ArgumentNullException
    Message:
    Value cannot be null.
    Parameter name: key
    ParamName: key
    StackTrace:
    at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
    at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
    at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
    at Microsoft.Dynamics.Nav.Service.Metadata.Configuration.NavXmlDeltaCalculation.ApplyNodeAdd(NavXmlAdd add, XmlDocument document, IDictionary`2 resultNodes)
    at Microsoft.Dynamics.Nav.Service.Metadata.Configuration.NavXmlDeltaCalculation.Apply(IXPathNavigable document, NavXmlDelta delta)
    at Microsoft.Dynamics.Nav.Service.Metadata.MetadataProvider.GetMasterPageUnsolved(Int32 id, String personalizationId, Boolean applyPersonalization)
    at Microsoft.Dynamics.Nav.Service.Metadata.MetadataProvider.GetNavigationFrame(Int32 homepageId, Boolean applyPersonalization)
    at Microsoft.Dynamics.Nav.Service.Metadata.MetadataProvider.GetNavigationFrame(Boolean applyPersonalization)
    at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass4e.<GetNavigationFrame>b__4d(Connection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
    Source: mscorlib


    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Sign In or Register to comment.