Merhabalar, ben çözümü tespit edemedim. Bana destek olabilir misin?
An unhandled exception occurred while processing the request.
HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
Stack Query Cookies Headers Routing
HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
System.Xml.XmlDownloadManager.GetNonFileStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy)
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy)
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
System.Xml.XmlTextReaderImpl.FinishInitUriString()
System.Xml.XmlTextReaderImpl..ctor(string uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)
System.Xml.XmlReaderSettings.CreateReader(string inputUri, XmlParserContext inputContext)
System.Xml.XmlReader.Create(string inputUri, XmlReaderSettings settings)
System.Xml.Linq.XDocument.Load(string uri, LoadOptions options)
System.Xml.Linq.XDocument.Load(string uri)
Core_Proje.Areas.Writer.Controllers.DashboardController.Index() in DashboardController.cs
+
XDocument document = XDocument.Load(connection);
Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
System.Threading.Tasks.ValueTask<TResult>.get_Result()
System.Runtime.CompilerServices.ValueTaskAwaiter<TResult>.GetResult()
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Await