Sage CRM Custom Page

SOLVED

Hi All,

Can any one support me to fix the below issue.

I have a problem to view the custom page for the existing and the newly created page under the WWW Root.  The version is CRM 2019R2.

I checked the enable asp -->Parent path -->  True.

Parents
  • 0

    Is the path to the include file correct?

    <!-- #include file ="sagecrm.js"--

    Are other ASP files working?

  • 0 in reply to Sage CRM

    none of the page is working.  even though the hadler mapping for the crm have the read and write permission.  a simple code to list of person added in the custom page.  its showing 500 internal error not the exact error

  • 0 in reply to MADHAVAN THEVAR

    I typically get that error (500 - Internal server error) if there is an error or problem in my asp page (usually syntax).

    If the page is all javascript between <% and %>, I would copy it and paste it into www.jshint.com.  This will help you find syntax errors that you might not be seeing.

    As Jeff indicated, the page must include a "Include" file.  In addition, your page scripts must be surrounded by <% and %>.  Therefore, make sure those are at the beginning and end of your script.

    So your page looks like this if it is in the CustomPages folder...

    <!-- #include file="sagecrm.js"-->
    <%

    //Your code here

    %>

    Hope this helps!

Reply
  • 0 in reply to MADHAVAN THEVAR

    I typically get that error (500 - Internal server error) if there is an error or problem in my asp page (usually syntax).

    If the page is all javascript between <% and %>, I would copy it and paste it into www.jshint.com.  This will help you find syntax errors that you might not be seeing.

    As Jeff indicated, the page must include a "Include" file.  In addition, your page scripts must be surrounded by <% and %>.  Therefore, make sure those are at the beginning and end of your script.

    So your page looks like this if it is in the CustomPages folder...

    <!-- #include file="sagecrm.js"-->
    <%

    //Your code here

    %>

    Hope this helps!

Children