WindowsAzure/azure-sdk-tools — Issue #145: MongodPort.json does not exist
Author: ryanlowdermilk
Created: 2012-02-08 18:09:05+00:00
State: open

After following the step-by-step instructions (https://www.windowsazure.com/en-us/develop/nodejs/tutorials/web-app-with-mongodb/), I'm presented with this error, found at the bottom of this page, upon executing of "Start-AzureEmulator -launch"

I've confirmed the file, MongodPort.json, does, in fact, exist.

I've erased MongodPort.json, relaunched "Start-AzureEmulator -launch" and observed it's creation.

I used "Process Explorer" to observe file access as it relates to file permissions being denied. Permission has not been denied.

I've attempted the step-by-step instructions 3 times to ensure steps were not being missed.

I've confirmed the contents of MongodPort.json look to be intact. Show here:
{"instances":[{"host":"127.255.0.0","port":27017},{"host":"127.255.0.1","port":27018},{"host":"127.255.0.2","port":27019}]}

Finally, I've waited for 1-2 minutes and refreshed the web browser, just in case Azure services were not yet available at first launch of the browser.

C:\github\node\groovd\WebRole1\server.js:65
throw error;
^
Error: C:\github\node\groovd\local_package.csx\roles\WebRole1\approot\azureMongoEndpoints\ReplicaSetRole\MongodPort.json does not exist
at C:\github\node\groovd\WebRole1\node_modules\azureMongoEndpoints\lib\azureMongoEndpoints.js:92:28
at Object.oncomplete (path.js:406:19)