简体   繁体   English

ASP.Net CORE 3.1 - 抛出错误异常:Microsoft.CSharp.dll 中的“Microsoft.CSharp.RuntimeBinder.RuntimeBinderException”

[英]ASP .Net CORE 3.1 - Error Exception thrown: 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' in Microsoft.CSharp.dll

I have this next problem.我有这个下一个问题。 I am running a web application with a specific IP address and its port.我正在运行具有特定 IP 地址及其端口的 web 应用程序。 Thing is I am able to enter into my login page but I am not able to connect as a user.事情是我能够进入我的登录页面,但我无法以用户身份连接。 The error log which I am receiving on the console is this: I am running on a Visual Studio 2019 Community on a Windows 2012 Server R2 Standard .我在控制台上收到的错误日志是这样的:我在Windows 2012 Server R2 Standard上的Visual Studio 2019 Community上运行。 The system type is of a x64 bit processor .系统类型是x64 bit processor

1) LIST OF EXCEPTIONS THROWN 1)抛出的异常列表

Exception thrown: 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' in Microsoft.CSharp.dll
Exception thrown: 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' in Microsoft.CSharp.dll
'Asistencia.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.11\System.Net.WebSockets.dll'. 
Exception thrown: 'System.ObjectDisposedException' in System.Net.Sockets.dll
Exception thrown: 'System.ObjectDisposedException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.ObjectDisposedException' in System.Net.Sockets.dll
Exception thrown: 'System.ObjectDisposedException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.ObjectDisposedException' in System.Net.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.ObjectDisposedException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
Exception thrown: 'Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException' in Microsoft.AspNetCore.Server.Kestrel.Core.dll
Exception thrown: 'Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException' in System.Private.CoreLib.dll
Exception thrown: 'System.Net.Sockets.SocketException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll
The thread 0xc1c has exited with code 0 (0x0).
The thread 0x2d38 has exited with code 0 (0x0).
The thread 0x162c has exited with code 0 (0x0).
The thread 0x1c44 has exited with code 0 (0x0).
The thread 0x26c8 has exited with code 0 (0x0).
The thread 0x2858 has exited with code 0 (0x0).
The thread 0x1808 has exited with code 0 (0x0).
The thread 0x3314 has exited with code 0 (0x0).
The thread 0x19dc has exited with code 0 (0x0).

Those are the only errors which I am getting.这些是我得到的唯一错误。 From there after, what happens is that my development URL ends up being like this: https://myurl.com/#从那以后,我的开发 URL 最终变成这样: https://myurl.com/#

Maybe there are packages that I shouldn't load on this version of Visual Studio but I am kind of blocked with the matter so far.也许有些包我不应该在这个版本的 Visual Studio 上加载,但到目前为止我有点受阻。 I modified my installation while I was getting a different error before which was this:我在收到另一个错误之前修改了我的安装:

2) ERROR THROWN BEFORE I MODIFIED MY ASP.NET CORE PACKAGES ON VISUAL STUDIO 2) 在我修改 VISUAL STUDIO 上的 ASP.NET 核心包之前抛出错误

Microsoft.Data.SqlClient: Microsoft.Data.SqlClient is not supported on this platform.

I succeeded bypassing it but again I have all these exceptions that are being thrown on my Nuget console on the first point which I already pointed out.我成功地绕过了它,但是在我已经指出的第一点上,我的 Nuget 控制台上再次抛出了所有这些异常。

Thanks谢谢

The solution to the problem was to upgrade to the new version of Visual Studio.该问题的解决方案是升级到新版本的 Visual Studio。 It seems that the new version upgrades many parts of the .NET CORE framework and therefore reassigns, by adding or subtracting outdated packages to the installation.似乎新版本升级了 .NET CORE 框架的许多部分,因此通过在安装中添加或减去过时的包来重新分配。
https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Microsoft.CSharp.RuntimeBinder.RuntimeBinderException错误 - Microsoft.CSharp.RuntimeBinder.RuntimeBinderException Error 发生``Microsoft.CSharp.RuntimeBinder.RuntimeBinderException'' - 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' occurred 发生了“Microsoft.CSharp.RuntimeBinder.RuntimeBinderException”类型的第一次机会异常 - A first chance exception of type 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' occurred 在私有类型上动态抛出Microsoft.CSharp.RuntimeBinder.RuntimeBinderException - Dynamic throwing Microsoft.CSharp.RuntimeBinder.RuntimeBinderException on private types 为什么Microsoft.CSharp.RuntimeBinder.RuntimeBinderException如果有调用的方法? - Why a Microsoft.CSharp.RuntimeBinder.RuntimeBinderException if the invoked method is there? 访问动态属性会引发“Microsoft.CSharp.RuntimeBinder.RuntimeBinderException”类型的异常 - Accessing a dynamic's property threw an exception of type 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' #SpecFlow# For CreateDynamicInstance() - 错误 - Microsoft.CSharp.RuntimeBinder.RuntimeBinderException:最佳重载方法 - #SpecFlow# For CreateDynamicInstance() - error - Microsoft.CSharp.RuntimeBinder.RuntimeBinderException : The best overloaded method Microsoft.CSharp.RuntimeBinder.RuntimeBinderException:“System.__ComObject”不包含“语言”的定义 - Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: ''System.__ComObject' does not contain a definition for 'Language'' Microsoft.CSharp.RuntimeBinder.RuntimeBinderException:“无法在 null 参考上执行运行时绑定” - Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Unable to execute runtime binding on null reference' LINQ加入Microsoft.CSharp.RuntimeBinder.RuntimeBinderException:'对象'不包含以下内容的定义: - LINQ Join Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'object' does not contain a definition for
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM