You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Hi guys im using TableLogger.cs implementation to log conversation history to azure table storage. At first fire on my bot emulator it will run smoothly but after you stop it and do a rerun, It will encounter a storageexception 409 conflict error. This happens when i stop visual studio and do a rerun on vs and a refresh on bot emulator, then as soon as you type your first message. boom! More details : https://stackoverflow.com/questions/48395464/tablelogger-cs-throwing-storageexception-409-conflict
Global Asax:
` var tableName = ConfigurationManager.AppSettings["TableName"].ToString();
var account = CloudStorageAccount.Parse(ConfigurationManager.ConnectionStrings["StorageConnectionString"].ConnectionString);
//Azure StateData
Conversation.UpdateContainer(
builder =>
{
//azure botdata
builder.RegisterModule(new AzureModule(Assembly.GetExecutingAssembly()));
var store = new TableBotDataStore(ConfigurationManager.ConnectionStrings["StorageConnectionString"].ConnectionString);
builder.Register(c => store)
.Keyed<IBotDataStore<BotData>>(AzureModule.Key_DataStore)
.AsSelf()
.SingleInstance();
//azure conversation history
account.CreateCloudTableClient().GetTableReference(tableName).DeleteIfExists();
builder.RegisterModule(new TableLoggerModule(account, tableName));
});
`
The text was updated successfully, but these errors were encountered:
Thank you for opening an issue against the BotBuilder-Azure repo. As part of the Bot Framework v4 release, we’ve moved all the Azure related work to the platform SDK repo. We will continue to support and offer maintenance updates via this repo.
Hi guys im using TableLogger.cs implementation to log conversation history to azure table storage. At first fire on my bot emulator it will run smoothly but after you stop it and do a rerun, It will encounter a storageexception 409 conflict error. This happens when i stop visual studio and do a rerun on vs and a refresh on bot emulator, then as soon as you type your first message. boom! More details : https://stackoverflow.com/questions/48395464/tablelogger-cs-throwing-storageexception-409-conflict
Global Asax:
` var tableName = ConfigurationManager.AppSettings["TableName"].ToString();
var account = CloudStorageAccount.Parse(ConfigurationManager.ConnectionStrings["StorageConnectionString"].ConnectionString);
`
The text was updated successfully, but these errors were encountered: