Regenerating DaaSConsole

j.g.n 1 Reputation point
2022-02-16T01:15:52.237+00:00

Somehow files related to DaaSConsole were deleted. I'd like to reinstall it.

When run by autoheal the following error is thrown:

Application: DaasConsole.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException at DaaSConsole.Program.CollectLogsAndTakeActions(Options, System.String[], Int32 ByRef) at DaaSConsole.Program.Main(System.String[])

When "DaaSConsole.exe -Setup" is run I get this error:

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=9.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at DaaS.Logger.GetExceptionDetails(Exception exception)
at DaaS.Logger.LogErrorEvent(String message, Exception exception)
at DaaS.Sessions.SessionController.StartSessionRunner()
at DaaSConsole.Program.Main(String[] args)

And when run with "DaaSConsole.exe -Troubleshoot "Event Viewer Logs" 160" I get this error:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
at DaaSConsole.Program.CollectLogsAndTakeActions(Options options, String[] args, Int32& argNum)
at DaaSConsole.Program.Main(String[] args)

This question is the same as this one: https://social.msdn.microsoft.com/Forums/en-US/76959b36-db22-4bea-b274-4019ecdb11ee/diagnostics-as-a-service-how-to-get-daas-working-again-solved?forum=windowsazurewebsitespreview

However that solution does not work.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,637 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,886 Reputation points
    2022-02-18T06:10:18.533+00:00

    Hi @j.g.n

    Thanks for bringing this issue to our attention. We apologize for the inconvenience this issue may have caused.

    It seems like this is a known issue an a fixed is being worked should be rolled out soon. In the meantime, can you please try downloading a fixed version of DaaSConsole.exe. From the Kudu console:

     curl -L -o %SystemDrive%\home\data\daas\bin\daasconsole.exe https://github.com/Azure/DaaS/releases/download/v2.4.222.1/DaaSConsole.exe  
    

    Hope that helps.

    Best,

    Grace

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.