locked
CheckPrivilege failed. Returned error in CRM RRS feed

  • Question

  • hi

    I am getting the following error while I creating a new record..

    0x80042f09 SecLib::CheckPrivilege failed. Returned hr = -2147209463, User: 47387afe-7c49-df11-9ffc-005056ae151b Platform

    Thanks

    Srikanth

    Monday, August 16, 2010 1:54 PM

Answers

All replies

  • That simply means that the user doesn't have the right to perform the current action.

    You have to determine what was the action, then look if the user has sufficient privileges to perform this action.


    My blog : http://mscrmtools.blogspot.com

    All my tools on my new dedicated site: MSCRMTools Repository
    Monday, August 16, 2010 1:57 PM
    Moderator
  • Hi Srikant,

    Please see the MS CRM Forum post which address the same issue:

    http://social.microsoft.com/Forums/en-US/crm/thread/7eb231bf-1450-40eb-803d-64a16aeeaee3

    http://social.microsoft.com/Forums/en-US/crm/thread/4c810117-cbd0-4695-8263-c2bdf3710cb0

    http://social.microsoft.com/forums/en-us/crm/thread/0760D504-168D-4953-9288-65D3E74C0ACA

    Hope this helps.

     


    Thanks, Ranjitsingh R | http://mscrm-developer.blogspot.com/ | MS CRM Consultant
    • Proposed as answer by Ranjitsingh R Monday, August 16, 2010 2:19 PM
    • Marked as answer by Jim Glass Jr Monday, August 16, 2010 7:17 PM
    Monday, August 16, 2010 2:19 PM
  • Hi,

    I am having the System Administation Credentials, Please let me know what is the problem

    Thanks

    Srikanth Reddy 

    Monday, August 16, 2010 2:33 PM
  • Hi

    Here is the code...


     CrmDateTime patientinfopackdel = new CrmDateTime();
            if (currentOppty.eu_approve_patientinfopackdel == null)
            {
                patientinfopackdel = null;
            }
            else
            {
                patientinfopackdel.IsNull = true;
                patientinfopackdel.IsNullSpecified = true;
                patientinfopackdel.Value = currentOppty.eu_approve_patientinfopackdel.Value;
            }
          
    Here

    patientinfopackdel = null;

    treatmentCase.eu_approve_patientinfopackname = currentOppty.eu_approve_patientinfopackname;

    _treatmentcase = serviceTreatment.Create(treatmentCase);              

     

    Thanks

    Srikanth Reddy

    Monday, August 16, 2010 2:44 PM
  • Hi

    Here is the code...


     CrmDateTime patientinfopackdel = new CrmDateTime();
            if (currentOppty.eu_approve_patientinfopackdel == null)
            {
                patientinfopackdel = null;
            }
            else
            {
                patientinfopackdel.IsNull = true;
                patientinfopackdel.IsNullSpecified = true;
                patientinfopackdel.Value = currentOppty.eu_approve_patientinfopackdel.Value;
            }
          
    Here

    patientinfopackdel = null;

    treatmentCase.eu_approve_patientinfopackname = currentOppty.eu_approve_patientinfopackname;

    _treatmentcase = serviceTreatment.Create(treatmentCase);              

     

    Thanks

    Srikanth Reddy

    Monday, August 16, 2010 2:44 PM