Getting your first Bot Running

 

I wanted to play with Power Virtual Agents Skills and needed to build a bot by hand and must be the most unlucky person in the world as I just seemed to hit issue after issue getting a bone stock SDK based Azure bot up and running with the Azure SDK

The issues I ran into the:

  1. The referenced solution on Git Hub fails to compile with the error: “The Current .NET SDK does not support targeting .NET Core 3.0”
  2. The bot solution on github fails to run with the error ‘Service EndPoint for CosmosDB is required. (Parameter ‘CosmosDBEndpoint’)’
  3. The bot solution on github fails to run with the exception from the TranscriptLoggerMiddleware()
  4. Despite being able to run and interact from the VS debugger, the Bot Framework Emulator refuses to bind to the local bot
  5. The Bot Framework Emulator refuses to bind to the published bot

 

 

 

 

Issues with the Answers I found:

  1. The referenced solution on Git Hub fails to compile with the error: “The Current .NET SDK does not support targeting .NET Core 3.0”

Resolution: Upgraded to using Visual Studio 2019

  1. The bot solution on github fails to run with the error ‘Service EndPoint for CosmosDB is required. (Parameter ‘CosmosDBEndpoint’)’

Resolution: Downloaded the sample from the Azure Portal rather than using the SDK.

Other samples do require this and directions can be found here: https://docs.microsoft.com/en-us/azure/bot-service/dotnet/bot-builder-dotnet-state-azure-cosmosdb?view=azure-bot-service-3.0

 

  1. The bot solution on github fails to run with the exception from the TranscriptLoggerMiddleware()

Resolution: Downloaded the sample from the Azure Portal rather than using the SDK.

  1. Despite being able to run and interact from the VS debugger, the Bot Framework Emulator refuses to bind to the local bot

Resolution: Supplied the Aplication ID and Password to the emulator from the JSON

 

  1. The Bot Framework Emulator refuses to bind to the published bot

Resolution: In simulator settings set the path to the ngrok network tunneling software.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s