Advertisement
vbuz

Untitled

Mar 21st, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'conf/appsettings.json' was not found and is not optional. The physical path is '/app/conf/appsettings.json'.
  2.  
  3.  
  4. at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
  5.  
  6.  
  7. at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
  8.  
  9.  
  10. at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
  11.  
  12.  
  13. at warehouse.api.Startup..ctor(IHostingEnvironment env) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Startup.cs:line 66
  14.  
  15.  
  16. --- End of stack trace from previous location where exception was thrown ---
  17.  
  18.  
  19. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
  20.  
  21.  
  22. at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
  23.  
  24.  
  25. at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
  26.  
  27.  
  28. at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
  29.  
  30.  
  31. at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
  32.  
  33.  
  34. at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
  35.  
  36.  
  37. at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
  38.  
  39.  
  40. at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
  41.  
  42.  
  43. at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  44.  
  45.  
  46. at warehouse.api.Program.Main(String[] args) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Program.cs:line 10
  47.  
  48.  
  49.  
  50.  
  51. Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'conf/appsettings.json' was not found and is not optional. The physical path is '/app/conf/appsettings.json'.
  52.  
  53.  
  54. at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
  55.  
  56.  
  57. at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
  58.  
  59.  
  60. at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
  61.  
  62.  
  63. at warehouse.api.Startup..ctor(IHostingEnvironment env) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Startup.cs:line 66
  64.  
  65.  
  66. --- End of stack trace from previous location where exception was thrown ---
  67.  
  68.  
  69. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
  70.  
  71.  
  72. at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
  73.  
  74.  
  75. at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
  76.  
  77.  
  78. at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
  79.  
  80.  
  81. at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
  82.  
  83.  
  84. at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
  85.  
  86.  
  87. at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
  88.  
  89.  
  90. at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
  91.  
  92.  
  93. at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  94.  
  95.  
  96. at warehouse.api.Program.Main(String[] args) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Program.cs:line 10
  97.  
  98.  
  99.  
  100.  
  101. Unhandled Exception: System.IO.FileNotFoundException: The configuration file 'conf/appsettings.json' was not found and is not optional. The physical path is '/app/conf/appsettings.json'.
  102.  
  103.  
  104. at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
  105.  
  106.  
  107. at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
  108.  
  109.  
  110. at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
  111.  
  112.  
  113. at warehouse.api.Startup..ctor(IHostingEnvironment env) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Startup.cs:line 66
  114.  
  115.  
  116. --- End of stack trace from previous location where exception was thrown ---
  117.  
  118.  
  119. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
  120.  
  121.  
  122. at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName)
  123.  
  124.  
  125. at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp)
  126.  
  127.  
  128. at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
  129.  
  130.  
  131. at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
  132.  
  133.  
  134. at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup()
  135.  
  136.  
  137. at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
  138.  
  139.  
  140. at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
  141.  
  142.  
  143. at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
  144.  
  145.  
  146. at warehouse.api.Program.Main(String[] args) in /Users/vadim/WebstormProjects/ketex.wh.api/warehouse.api/Program.cs:line 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement