Unable to Access to Azure Cosmos DB RRS feed

  • Question

  • While I am learning the ASP MVC tutorial: Web application development with Azure Cosmos DB, I ran into an error that I do not know how to resolve. Please help to provide information to resolve the error. 

    Here is the error message that I have: "The configuration section 'add' cannot be read because it is missing a section declaration". In the WebConfig file there is a line that causes the error "<add key="endpoint" value="https://azurecosmostd.documents.azure.com:443/"/>"

    I am sure is the error does not come from the value in the endpoint key since I was able to use the same key to access to Azure Cosmos DB while I am practicing the tutorial that uses the Console App. to create a database in Azure Cosmos DB without any error.

    Best Regards

    Sunday, July 29, 2018 11:35 PM

All replies

  • Hi StephanieSoft,

    Can you provide a link to the tutorial you are following? I assume it is this one: Getting Started with ASP.NET MVC 5

    Also, have you attempted this without the (443) port number? Something like this: <add key="endpoint" value="https://azurecosmostd.documents.azure.com/"/>

    Please let me know the specific tutorial you are following. Thank you!

    Monday, July 30, 2018 6:29 PM