HTTP Error 500.1000 - Internal Server Error The page cannot be displayed because an internal server error has occurred.

Rahul Rohilla 0 Reputation points
2024-07-11T07:23:40.1833333+00:00

My next js website was working fine before, but now it showing me this issue, My web.config file is also same.

Web.config file:

<configuration>

<system.webServer>

<rewrite>

  <rules>

    <rule name="myapp">

      <match url="/*" />

      <action type="Rewrite" url="server.js" />

    </rule>

  </rules>

</rewrite>

<iisnode node_env="production" nodeProcessCommandLine="&quot;C:\Program Files\nodejs\node.exe&quot;" interceptor="&quot;%programfiles%\iisnode\interceptor.js&quot;" />

</system.webServer>

<location path="">

    <system.webServer>

<handlers>

  <add name="iisnode" path="server.js" verb="*" modules="iisnode" />

</handlers>

     

    </system.webServer>

</location>

</configuration>

Screenshot 2024-07-11 at 12.51.07 PM

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,069 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 questions
0 comments No comments
{count} votes