Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP error 500.19 internal server error #214

Closed
yatendra opened this issue Sep 21, 2012 · 9 comments
Closed

HTTP error 500.19 internal server error #214

yatendra opened this issue Sep 21, 2012 · 9 comments

Comments

@yatendra
Copy link

Hi, I am trying to deploy app written using express.js to new root website in iis using iisnode and am getting the following error -
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File ?\C:\websites\newsfeed\web.config
Requested URL http://localhost:80/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:
Links and More Information
This error occurs when there is a problem reading the config

My web.config file is as follows -

<configuration> <system.webServer> <handlers> <add name="iisnode" path="app.js" verb="*" modules="iisnode" /> </handlers> <iisnode loggingEnabled="false" /> <rewrite> <rules> <rule name="express"> <match url="*" /> <action type="Rewrite" url="app.js" /> </rule> </rules> </rewrite> </system.webServer> </configuration>

Has anyone else faced this issue before. Thanks in advance.

@tjanczuk
Copy link
Owner

The web.config does not show up, can you paste again?

@yatendra
Copy link
Author

Updated the post. Sorry I am not that familiar with markdown.

@tjanczuk
Copy link
Owner

There is nothing obviously wrong with the configuration. Do the iisnode samples work on your machine?

@yatendra
Copy link
Author

helloworld sample works but express sample doesnt. http://localhost/express/readme.htm gives the same error.

@BarryBotha
Copy link

Try:

add the / - that did the trick for me.

@yatendra
Copy link
Author

Thanks for the reply @BarryBotha but I am still getting the same error. I am using Express 3.0 here not sure if that is causing the problem. This app works using node from command prompt but doesnt work using iisnode.

@tjanczuk
Copy link
Owner

The most likely cause of this issue is that you did not install the IIS URL Rewriting Module. This module is not part of a standard IIS installation. You must install it explicitly from http://www.iis.net/downloads/microsoft/url-rewrite

@tjanczuk
Copy link
Owner

Please reopen if this is not the issue.

@nasimrizwee
Copy link

Thanks tjanczuk,

url-rewrite was missing, and you saved my lots of time.

Nasim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants