question

Joy-9891 avatar image
0 Votes"
Joy-9891 asked romungi-MSFT answered

Error when publishing Azure Bot

I downloaded the Azure bot as a .zip file from Bot Framework Composer from my laptop and opened it on a desktop and tried to publish it, but got an error message shown in the image.

122144-image22.jpg



It works when I try to publish the bot from the original laptop, but not when I download and try to open it on another computer.

Any help would be greatly appreciated, thank you!

azure-bot-service
image22.jpg (68.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@Joy-9891 are you trying to publish the app to a different profile or account compared to the one in the other machine? I think you can check your appsettings.json file in your bot project folder and confirm if they are the same. Since the message does not provide more details you could as well open your bot in VS and try to publish it from there which should take your appsettings.json settings. If it fails from VS I am sure more details of the error will help to debug what is missing here.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes, I'm trying to publish the bot to a different profile! Is it possible to?

0 Votes 0 ·

Yes, that should be possible. In this case I think you can try to publish the solution directly and check what is causing the failure as the detail of error is not shown on the screen.

0 Votes 0 ·

Will try it, thank you!

0 Votes 0 ·