بسته

نمایه: naeim

Avatar
آمار
  • 1
  • 1401 تیر 30, پنجشنبه 21:09

با سلام خطای مشابه همین دریافت میکنم ، طوری که هنگام جستوجوی خطا در event viewer به متن زیر میرسم.
Application: w3wp.exe
CoreCLR Version: 6.0.522.21309
.NET Version: 6.0.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException: Access to the path 'C:\HostingSpaces\training195\domain.ir\wwwroot\App_Data\appsettings.json' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.Create(String path)
   at Nop.Core.Infrastructure.NopFileProvider.CreateFile(String path)
   at Nop.Core.Configuration.AppSettingsHelper.SaveAppSettings(IList`1 configurations, INopFileProvider fileProvider, Boolean overwrite)
   at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, WebApplicationBuilder builder)
   at Program.<Main>$(String[] args)

یک سال پیش
دسته بندی ها