Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Closed Issue: Azure Worker Role fails to publish with error in ServiceDefinition.csdef [1402]

$
0
0
When publishing an Azure Node.js worker role, the following error occurs due to a configuration issue in ServiceDefinition.csdef

Error 5 The '/RoleEnvironment/CurrentInstance/Endpoints/Endpoint[@name='HttpIn']/@port' is an invalid xpath expression. C:\Users\crwilcox\Documents\Visual Studio 2013\Projects\AzureCloudService3\AzureCloudService3\bin\Debug\ServiceDefinition.csdef 1 1 AzureCloudService3

```
<RoleInstanceValue xpath="/RoleEnvironment/CurrentInstance/Endpoints/Endpoint[@name='HttpIn']/@port" />

```


Comments: Verified on build 21003.02. Fixed. Closing.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>