Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: ERROR ( message:Cannot find APP object with identifier "Default Web Site/node".  (Read 11663 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnolog√≠as de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
Hi,

If you are unable to create Node.js test site after installation and getting this error. Follow these steps to fix this issue.

Code: [Select]
C:\Program Files>%programfiles%\iisnode\setupsamples.bat
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files>iisnode\setupsamples.bat
Installation of node.js samples for IIS 7
This script must be run with administrative privileges.
This installer will perform the following tasks:
* ensure that the IIS_IUSRS group has read and write rights to "C:\Program Files
\iisnode\www"
* delete the "Default Web Site/node" web application if it exists
* add a new site "Default Web Site/node" to IIS with physical path pointing to "
C:\Program Files\iisnode\www"
This script does not provide means to revert these actions. If something fails i
n the middle you are on your own.
Press ENTER to continue or Ctrl-C to terminate.
Press any key to continue . . .
Ensuring IIS_IUSRS group has full permissions for "C:\Program Files\iisnode\www"
...
processed file: C:\Program Files\iisnode\www
Successfully processed 1 files; Failed processing 0 files
...success
Ensuring the "Default Web Site/node" is removed if it exists...
ERROR ( message:Cannot find APP object with identifier "Default Web Site/node".
)
Installation failed. Cannot ensure site "Default Web Site/node" is removed

C:\Program Files>

To fix this error, make sure "Default Web Site" is existing in the IIS. If it is not there, then you need to create it from the IIS > Sites > Right click on the "Sites" > Create New Site.

Now, try to run that command again and check this. This time you will be able to create Node.js test site without any issue.

Thank you,
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!