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 for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.