500 - Internal Server Error when Accessing Sage CRM Self Service Demo Site in Sage CRM 2023

SOLVED

Hello everyone,

I am currently facing the error below when trying to access the Sage CRM self service demo site. It began to occur after I performed a minor edit in the MC_getcontent function.

I have checked the License key details and have insured that Self Service is part of it, it has also been added to the list of default websites in IIS. The contents of the CRMSeflServiceDemo directory are shown below

Does anyone have an idea what could be wrong?

Any help will be very much appreciated, Thanks in advance.

  • +1
    verified answer

    A 500 error is a generic server error that indicates that something has gone wrong on the server that is preventing it from fulfilling the request. This could be due to a variety of reasons, such as a syntax error in the code, a configuration issue, or a problem with the database.

    Fortunately, you know what caused the problem. You made a change to the MC_getcontent function that points to a syntax error.

    This is one of the most common causes of a 500 error. If there is a syntax error in the code, the server will not be able to process the request and will instead return a 500 error.

    You can either reverse the change, replace the edited mc_getcontent.js with an unchanged one or persevere with debugging the code.

    The first step is to check the logs for any error messages that might provide more information about the cause of the error.

    If the error is caused by a syntax error in the code, you will need to debug the code to find and fix the error. This can be done using a debugger or by manually inspecting the code.

  • 0

    Turn on detailed iis errors and you will see the issue

    Details on how to do this are available here

    https://accelerator.crmtogether.com/index.php?title=IIS_Detailed_Errors