CA Service Management

  • 1.  CA ITAM error after login

    Posted 11-06-2014 03:27 PM

    Hi,

     

    WE have installed ITAM and everything was successful, able to login but could not see anything apart from the below error. Please let me know if any one can help on this.

     

     

    ERROR: An unexpected error has occurred.
    Error:(System.Exception: System.TypeInitializationException: The type initializer for 'CA.Common.Data.Meta.Metadata' threw an exception. ---> System.ArgumentException: An item with the same key has already been added. at CA.Common.Data.Meta.ClassDef.AddAttribute(AttributeDef attribute) at CA.Common.Data.Meta.Metadata.Instance.BuildClasses() at CA.Common.Data.Meta.Metadata.Instance.LoadFromDatabase(Boolean configOnly) at CA.Common.Data.Meta.Metadata..cctor() --- End of inner exception stack trace --- at CA.Common.Web.Security.Authorization.CheckAuthorization() at CA.Applications.Web.Pages.UserLogin.OnAuthenticate_WithoutInjectedLogging3619502461923(Object sender, EventArgs e) at CA.Applications.Web.Pages.UserLogin.OnAuthenticate(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint))

     

    Thanks & Regards,

    Avinash Kande



  • 2.  Re: CA ITAM error after login

    Former Employee
    Posted 11-10-2014 01:12 PM

    Hi All - Any ideas here for Avinash? Thanks! Chris

    Avinash Kande wrote:

     

    Hi,

     

    WE have installed ITAM and everything was successful, able to login but could not see anything apart from the below error. Please let me know if any one can help on this.

     

     

    ERROR: An unexpected error has occurred.
    Error: (System.Exception: System.TypeInitializationException: The type initializer for 'CA.Common.Data.Meta.Metadata' threw an exception. ---> System.ArgumentException: An item with the same key has already been added. at CA.Common.Data.Meta.ClassDef.AddAttribute(AttributeDef attribute) at CA.Common.Data.Meta.Metadata.Instance.BuildClasses() at CA.Common.Data.Meta.Metadata.Instance.LoadFromDatabase(Boolean configOnly) at CA.Common.Data.Meta.Metadata..cctor() --- End of inner exception stack trace --- at CA.Common.Web.Security.Authorization.CheckAuthorization() at CA.Applications.Web.Pages.UserLogin.OnAuthenticate_WithoutInjectedLogging3619502461923(Object sender, EventArgs e) at CA.Applications.Web.Pages.UserLogin.OnAuthenticate(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint))

     

    Thanks & Regards,

    Avinash Kande



  • 3.  Re: CA ITAM error after login

    Broadcom Employee
    Posted 11-11-2014 03:55 AM

    Hi Avinash,

    Please check these below list of items

    - if Database is on remote box or local just try to access it. just to make sure database is available.

    - From the ITAM server run iis reset command and verify the behavior.

     

    ~Vinod.



  • 4.  Re: CA ITAM error after login

    Posted 11-11-2014 11:14 AM

    Hi Vinod,

     

    Thanks for your reply, i tried both the things and able to connect to DB and also ran iisreset but no luck

     

    Regards,
    Avinash Kande



  • 5.  Re: CA ITAM error after login
    Best Answer

    Posted 11-11-2014 11:45 AM

    Hello Avinash,

     

    I would recommend putting in an issue for investigation by your local ITAM support team.

    This error indicates there is amiss in the database that would require some further in-depth research.

     

    Best Regards,

    Gale Bacon