Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Azure bot app hosting startup assembly exception #3861

Closed
sk-Rajagopal opened this issue Mar 14, 2022 · 1 comment
Closed

Azure bot app hosting startup assembly exception #3861

sk-Rajagopal opened this issue Mar 14, 2022 · 1 comment
Labels
Needs Triage Needs to be triaged for assignment stale The issue hasn't been updated in a long time and will be automatically closed. Type: Bug Something isn't working

Comments

@sk-Rajagopal
Copy link

sk-Rajagopal commented Mar 14, 2022

What project is affected?

My team is working on a POC project that involves Azure bot, and ACS services. Here is my bot details,
image

What language is this in?

net core 3.1 C#

What happens?

Once i deploy the bot code to an appService, I see the hosting startup exception randomly. At times, after sometime , the goes away and app starts working automatically without any action from my end.

What are the steps to reproduce this issue?

random

What were you expecting to happen?

Can you share any logs, error output, etc.?

ategory: Microsoft.AspNetCore.Hosting.Diagnostics
EventId: 11

Hosting startup assembly exception

Exception:
System.InvalidOperationException: Startup assembly Microsoft.AspNetCore.AzureAppServices.HostingStartup failed to execute. See the inner exception for more details.
---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.AzureAppServices.HostingStartup, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Microsoft.AspNetCore.AzureAppServices.HostingStartup, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, RuntimeAssembly assemblyContext, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.ExecuteHostingStartups()

--- End of inner exception stack trace ---

Any screenshots or additional context?

image

@sk-Rajagopal sk-Rajagopal added Needs Triage Needs to be triaged for assignment Type: Bug Something isn't working labels Mar 14, 2022
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale The issue hasn't been updated in a long time and will be automatically closed. label Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Triage Needs to be triaged for assignment stale The issue hasn't been updated in a long time and will be automatically closed. Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant