i deploy node js project but error showing is : :( Application Error If you are the application administrator, you can access the diagnostic resources.

Richestsoft 0 Reputation points
2023-04-29T10:24:44.1666667+00:00

i deploy node js project but error showing is : :( Application Error If you are the application administrator, you can access the diagnostic resources. in azure app services

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
654 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,558 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 18,951 Reputation points Microsoft Employee
    2023-05-01T18:52:29.5766667+00:00

    Hi @Richestsoft , did you view the diagnostic resources? It would help to have a more detailed error message to fix. In the meantime please try the following steps and let me know if they resolve the issue:

    1. Check the logs: Access the log files to get more information about the error. You can find the logs in the LogFiles folder, typically located at D:\home\LogFiles.
    2. Verify the startup file: Ensure that your web.config file has the correct settings, including the correct path to your main script file and the nodeProcessCommandLine setting.
    3. Check for uncaught exceptions: If your application is throwing uncaught exceptions, you can find details in the logging-errors.txt file located in the LogFiles\Application folder.
    4. Cold start: If your application takes too long to start, it may result in a 500 error. You can try increasing the values of maxNamedPipeConnectionRetry and namedPipeConnectionRetryDelay settings to prevent iisnode from timing out.
    5. Memory consumption: If your application is consuming too much memory, it may affect other processes. You can profile your application for memory leaks or scale up to a larger VM if needed.

    Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark it as "Verified" so other users can reference it.

    Thank you,

    James

    0 comments No comments