This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compilation error after SNOW module deployment | V8.0.2

Post deployment of SNOW module in V8.0.2, we have started seeing lot of compilation error with all OOB processes under PersonWantsOrg table. Error statement: " Process chain is not declared. It may be inaccessible due to its protection level".

We have already referred to below post but seems hotfix is only from version below v8.0.2.

https://support.oneidentity.com/identity-manager/kb/255557/system-script-fails-to-compile-with-net-framework-version-4-6-2-and-later

Current version: v8.0.2

OS version: Win 2016

All OOB process chain looks good. Can you please suggest what could have caused these errors?

  • I have seen the error "It may be inaccessible due to its protection level" before when a script was locked. I would first check to see if any of the personwantsorg scripts are locked

  • Checked 4-5 scripts, and looks good. 

  • Can you provide the full error? Did you check the three new processes that get created for ServiceNow under PersonWantsOrg

  • All three processes looks fine. Here is the full error:

    --------------------------------------------------------------------------------
    85 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_to_approver__instead_of_additional_' is not declared. It may be inaccessible due to its protection level.
    165 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_to_approver__instead_of_additional_' is not declared. It may be inaccessible due to its protection level.
    205 Error 'Chain_CCC_SMB_Membership' is not declared. It may be inaccessible due to its protection level.
    245 Error 'Chain_VI_ESS_PersonWantsOrg_create_AD_group' is not declared. It may be inaccessible due to its protection level.
    285 Error 'Chain_VI_ESS_PersonWantsOrg_change_AD_group' is not declared. It may be inaccessible due to its protection level.
    325 Error 'Chain_VI_ESS_PersonWantsOrg_remove_AD_group' is not declared. It may be inaccessible due to its protection level.
    365 Error 'Chain_VI_ESS_PersonWantsOrg_send_answer_to_approver' is not declared. It may be inaccessible due to its protection level.
    405 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_to_approver__deny_decision_' is not declared. It may be inaccessible due to its protection level.
    445 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_when_step_not_granted' is not declared. It may be inaccessible due to its protection level.
    485 Error 'Chain_VI_ESS_PersonWantsOrg_send_escalation_mail' is not declared. It may be inaccessible due to its protection level.
    525 Error 'Chain_SCN_Check_status_of_the_ServiceNow_ticket' is not declared. It may be inaccessible due to its protection level.
    565 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_when_step_granted' is not declared. It may be inaccessible due to its protection level.
    706 Error 'Chain_CPL_PersonWantsOrg_Remove_MitigatingControlAssignment_when_refused' is not declared. It may be inaccessible due to its protection level.
    753 Error 'Chain_VI_ESS_PersonWantsOrg_Send_Mail_Product_Expires_Soon' is not declared. It may be inaccessible due to its protection level.
    793 Error 'Chain_VI_ESS_PersonWantsOrg_send_question_to_person' is not declared. It may be inaccessible due to its protection level.
    833 Error 'Chain_VI_ESS_PersonWantsOrg_Remember_ValidUntil' is not declared. It may be inaccessible due to its protection level.
    873 Error 'Chain_VI_ESS_PersonWantsOrg_Remove_Group_Membership' is not declared. It may be inaccessible due to its protection level.
    913 Error 'Chain_VI_ESS_PersonWantsOrg_Send_Mail_when_Unsubscribe' is not declared. It may be inaccessible due to its protection level.
    953 Error 'Chain_SCN_Update_1IM_ticket_status_to_ServiceNow' is not declared. It may be inaccessible due to its protection level.
    2159 Error Element is missing an end tag.
    2159 Error '=' expected.
    2433 Error XML entity references are not supported.
    2433 Error Expected closing ';' for XML entity.
    3732 Error XML entity references are not supported.
    3732 Error Expected closing ';' for XML entity.
    4055 Error XML entity references are not supported.
    4055 Error Expected closing ';' for XML entity.
    5137 Error XML entity references are not supported.
    5137 Error Expected closing ';' for XML entity.
    6667 Error Element is missing an end tag.
    6668 Error Element is missing an end tag.
    7334 Error Element is missing an end tag.
    7335 Error Element is missing an end tag.
    7441 Error Element is missing an end tag.
    7661 Error Element is missing an end tag.
    7953 Error Element is missing an end tag.
    7954 Error Element is missing an end tag.
    8620 Error Element is missing an end tag.
    9287 Error Element is missing an end tag.
    9969 Error Element is missing an end tag.
    9991 Error Element is missing an end tag.
    9992 Error Element is missing an end tag.
    10087 Error Element is missing an end tag.
    10700 Error Element is missing an end tag.
    10801 Error Element is missing an end tag.
    11407 Error Element is missing an end tag.
    11508 Error Element is missing an end tag.
    12102 Error Element is missing an end tag.
    12124 Error Element is missing an end tag.
    12125 Error Element is missing an end tag.
    12220 Error Element is missing an end tag.
    12833 Error Element is missing an end tag.
    12934 Error Element is missing an end tag.
    13540 Error Element is missing an end tag.
    13641 Error Element is missing an end tag.
    14206 Error Element is missing an end tag.
    14207 Error Element is missing an end tag.
    14209 Error Element is missing an end tag.
    14817 Error Element is missing an end tag.
    14818 Error Element is missing an end tag.
    15439 Error White space cannot appear here.
    15439 Error Element is missing an end tag.
    15440 Error Property access must assign to the property or use its value.
    15440 Error Expression expected.
    15440 Error Method arguments must be enclosed in parentheses.
    15456 Error 'Chain_VI_ESS_PersonWantsOrg_Remember_ValidUntil' is not declared. It may be inaccessible due to its protection level.
    15458 Error 'Chain_VI_ESS_PersonWantsOrg_Remember_ValidUntil' is not declared. It may be inaccessible due to its protection level.
    15466 Error 'Chain_VI_ESS_PersonWantsOrg_Remember_ValidUntil' is not declared. It may be inaccessible due to its protection level.

  • Could you try to compile the processes that it showing up in the errors above one by one? In designer just double click on the process in question and select the compile button. It should give you the exact line it is having an issue with, it may provide some more insight into the issue, see example below for VI_ESS_PersonWantsOrg_change_AD_group

  • Tried for one process chain but it throws same error. Nothing specific to this process step, it seems compilation on single process chain in PersonWantsOrg gives error for all other processes.

  • Can you click on source code view of one of the processes and see which line it is having an issue with. From the log provided it is hard to determine which line is giving the issue. You may want to run the validity check first or the compile process check as I said previously to see which line the problem is happening for.

  • I'm find it difficult to attach/insert screenshot to this forum.  First column indicate line no and second error description.

    Line    Error Description
    -----     -------------------------------------------------------------------
    85   Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_to_approver__instead_of_additional_' is not declared. It may be inaccessible due to its protection level.
    165 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_to_approver__instead_of_additional_' is not declared. It may be inaccessible due to its protection level.
    205 Error 'Chain_CCC_SMB_Membership' is not declared. It may be inaccessible due to its protection level.
    245 Error 'Chain_VI_ESS_PersonWantsOrg_create_AD_group' is not declared. It may be inaccessible due to its protection level.
    285 Error 'Chain_VI_ESS_PersonWantsOrg_change_AD_group' is not declared. It may be inaccessible due to its protection level.
    325 Error 'Chain_VI_ESS_PersonWantsOrg_remove_AD_group' is not declared. It may be inaccessible due to its protection level.
    365 Error 'Chain_VI_ESS_PersonWantsOrg_send_answer_to_approver' is not declared. It may be inaccessible due to its protection level.
    405 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_to_approver__deny_decision_' is not declared. It may be inaccessible due to its protection level.
    445 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_when_step_not_granted' is not declared. It may be inaccessible due to its protection level.
    485 Error 'Chain_VI_ESS_PersonWantsOrg_send_escalation_mail' is not declared. It may be inaccessible due to its protection level.
    525 Error 'Chain_SCN_Check_status_of_the_ServiceNow_ticket' is not declared. It may be inaccessible due to its protection level.
    565 Error 'Chain_VI_ESS_PersonWantsOrg_send_mail_when_step_granted' is not declared. It may be inaccessible due to its protection level.
    706 Error 'Chain_CPL_PersonWantsOrg_Remove_MitigatingControlAssignment_when_refused' is not declared. It may be inaccessible due to its protection level.
    753 Error 'Chain_VI_ESS_PersonWantsOrg_Send_Mail_Product_Expires_Soon' is not declared. It may be inaccessible due to its protection level.
    793 Error 'Chain_VI_ESS_PersonWantsOrg_send_question_to_person' is not declared. It may be inaccessible due to its protection level.
    833 Error 'Chain_VI_ESS_PersonWantsOrg_Remember_ValidUntil' is not declared. It may be inaccessible due to its protection level.
    873 Error 'Chain_VI_ESS_PersonWantsOrg_Remove_Group_Membership' is not declared. It may be inaccessible due to its protection level.
    913 Error 'Chain_VI_ESS_PersonWantsOrg_Send_Mail_when_Unsubscribe' is not declared. It may be inaccessible due to its protection level.
    953 Error 'Chain_SCN_Update_1IM_ticket_status_to_ServiceNow' is not declared. It may be inaccessible due to its protection level.

  • When I look at the VI_ESS_PersonWantsOrg_send_mail_to_approver__instead_of_additional process and compare the two lines that are causing yours to fail it only shows empty spaces. Line 85 and 165 are empty spaces for me. They are the empty spaces after the end of a function. This could mean that yours is having an issue with the two functions for that specific process or that you have actual data on those lines in your code.