PSI文件没有办法上传。
我按照方法打开了。应该这里这里错误。
因为网址的报错也是:“ /xthj/FileDownloadUpload/Upload”
请问这个是不是.NET错误?
我尝试微软安装最新的.NET给系统,重启后服务器也是一样的错误。
Category: Microsoft.AspNetCore.Server.HttpSys.MessagePump
EventId: 0
RequestId: 8000000e-0002-fb00-b63f-84710c7967bb
RequestPath: /xthj/FileDownloadUpload/Upload
SpanId: |41530fe8-40db473391348f77.
TraceId: 41530fe8-40db473391348f77
ParentId:
ProcessRequestAsync
Exception:
System.IO.IOException
---> Microsoft.AspNetCore.Server.HttpSys.HttpSysException (1229): 企图在不存在的网络连接上进行操作。
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Server.HttpSys.RequestStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 size, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.BufferedReadStream.EnsureBufferedAsync(Int32 minCount, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.MultipartReaderStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions.DrainAsync(Stream stream, ArrayPool`1 bytePool, Nullable`1 limit, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.MultipartReader.ReadNextSectionAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Features.FormFeature.InnerReadFormAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Features.FormFeature.ReadForm()
at Microsoft.AspNetCore.Http.DefaultHttpRequest.get_Form()
at Forguncy.KatanaMiddleware.HttpRequestExtension.GetRequestData(HttpRequest request)
at Forguncy.KatanaMiddleware.p.a(HttpContext A_0, Exception A_1)
at Forguncy.KatanaMiddleware.p.InvokeAsync(HttpContext context)
at Forguncy.Server2.KatanaMiddleware.SessionMiddleware.InvokeAsync(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.ProcessRequestAsync(Object requestContextObj)
at Microsoft.AspNetCore.Server.HttpSys.MessagePump.ProcessRequestAsync(Object requestContextObj)
|