Admin-Ahead Community

Windows => Control Panels => WebsitePanel => Topic started by: Chetan Singh on March 10, 2014, 09:27:36 am

Title: ERROR ( message:Cannot find APP object with identifier "Default Web Site/node".
Post by: Chetan Singh on March 10, 2014, 09:27:36 am
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,