Hi Team,
i have created the service for dotnet exe in advanced installer. but it is unable start the service due to below error in event viewer.
Application: Server.Host.exe
CoreCLR Version: 4.6.28207.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: The configuration file 'appsettings.json' was not found and is not optional. The physical path is 'C:\Windows\system32\appsettings.json'.
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
but the appsettings.json exist in APPDIR but it is searching in "C:\Windows\system32"
can you have look into it.
Thanks In Advance.