error after installing Net8

匿名
2024-01-09T06:46:56+00:00

Hi all,

I installed Net8 runtime on my windows 2016 (Windows Server 2016 Datacenter).

But if I run any program using NET8 as it's framework, the program will breakdown.

The same programs work well on other server( Windows Server 2016, not the Datacenter version).

The below message is the error output from the crashed programs(almost identical for all my Net8 programs on the machine):

Process terminated. Encountered infinite recursion while looking up resource 'NotSupported_WrongResourceReader_Type' in System.Private.CoreLib. Verify the installation of .NET is complete and does not need repairing, and that the state of the process has not become corrupted.

at System.Environment.FailFast(System.String)

at System.SR.InternalGetResourceString(System.String)

at System.SR.GetResourceString(System.String)

at System.Resources.ResourceReader._ReadResources()

at System.Resources.ResourceReader.ReadResources()

at DynamicClass.InvokeStub_ResourceReader..ctor(System.Object, System.Span`1<System.Object>)

at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

at System.Reflection.RuntimeConstructorInfo.Invoke(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

at System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

at System.Resources.ManifestBasedResourceGroveler.InternalGetResourceSetFromSerializedData(System.IO.Stream, System.String, System.String, ResourceManagerMediator)

at System.Resources.ManifestBasedResourceGroveler.CreateResourceSet(System.IO.Stream, System.Reflection.Assembly)

at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo, System.Collections.Generic.Dictionary`2<System.String,System.Resources.ResourceSet>, Boolean, Boolean)

at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean)

at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)

at System.SR.InternalGetResourceString(System.String)

at System.SR.GetResourceString(System.String)

at System.Resources.ResourceReader._ReadResources()

at System.Resources.ResourceReader.ReadResources()

at System.RuntimeMethodHandle.InvokeMethod(System.Object, Void**, System.Signature, Boolean)

at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(System.Object, System.Span`1<System.Object>, System.Reflection.BindingFlags)

at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

at System.Reflection.RuntimeConstructorInfo.Invoke(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

at System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

at System.Resources.ManifestBasedResourceGroveler.InternalGetResourceSetFromSerializedData(System.IO.Stream, System.String, System.String, ResourceManagerMediator)

at System.Resources.ManifestBasedResourceGroveler.CreateResourceSet(System.IO.Stream, System.Reflection.Assembly)

at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo, System.Collections.Generic.Dictionary`2<System.String,System.Resources.ResourceSet>, Boolean, Boolean)

at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean)

at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo)

at System.SR.InternalGetResourceString(System.String)

at System.SR.GetResourceString(System.String)

at System.NullReferenceException..ctor()

at System.Number.UInt32ToDecStr_NoSmallNumberCheck(UInt32)

at System.Number.<UInt32ToDecStrForKnownSmallNumber>g__CreateAndCacheString|70_0(UInt32)

at System.Diagnostics.Tracing.EtwEventProvider.TryReadRegistryFilterData(Int32, System.Diagnostics.Tracing.ControllerCommand ByRef, Byte[] ByRef)

at System.Diagnostics.Tracing.EtwEventProvider.HandleEnableNotification(System.Diagnostics.Tracing.EventProvider, Byte*, Byte, Int64, Int64, EVENT_FILTER_DESCRIPTOR*)

at System.Diagnostics.Tracing.EventProviderImpl.ProviderCallback(System.Diagnostics.Tracing.EventProvider, Byte*, Int32, Byte, Int64, Int64, EVENT_FILTER_DESCRIPTOR*)

at System.Diagnostics.Tracing.EtwEventProvider.Callback(System.Guid*, Int32, Byte, Int64, Int64, EVENT_FILTER_DESCRIPTOR*, Void*)

at Interop+Advapi32.EventRegister(System.Guid*, Void (System.Guid*, Int32, Byte, Int64, Int64, EVENT_FILTER_DESCRIPTOR*, Void*), Void*, Int64*)

at Interop+Advapi32.EventRegister(System.Guid*, Void (System.Guid*, Int32, Byte, Int64, Int64, EVENT_FILTER_DESCRIPTOR*, Void*), Void*, Int64*)

at System.Diagnostics.Tracing.EtwEventProvider.Register(System.Diagnostics.Tracing.EventSource)

at System.Diagnostics.Tracing.EventSource.Initialize(System.Guid, System.String, System.String[])

at System.Diagnostics.Tracing.NativeRuntimeEventSource..ctor()

at System.Diagnostics.Tracing.NativeRuntimeEventSource..cctor()

at System.Diagnostics.Tracing.EventListener.get_EventListenersLock()

at System.Diagnostics.Tracing.EventSource.Initialize(System.Guid, System.String, System.String[])

at System.Diagnostics.Tracing.RuntimeEventSource..ctor()

at System.Diagnostics.Tracing.RuntimeEventSource.Initialize()

at System.StartupHookProvider.ManagedStartup(Char*)

Windows 商业版 | Windows Server | 设备和部署 | 配置应用程序组

锁定的问题。 此问题已从 Microsoft 支持社区迁移。 你可投票决定它是否有用,但不能添加评论或回复,也不能关注问题。 为了保护隐私,对于已迁移的问题,用户个人资料是匿名的。

0 个注释 无注释
{count} 票

2 个答案

排序依据: 非常有帮助
  1. 匿名
    2024-01-12T08:56:35+00:00

    Hi Chilly Sun,

    thank you for posting on the Microsoft Community Forums.

    Based on the description, I understand that your issue is related to .NET.

    Since there are no engineers dedicated to .NET in this forum. In order to be able to deal with your questions quickly and efficiently, I recommend that you repost your questions in the Q&A forum, where there will be a dedicated engineer to provide you with a professional and effective response.

    Here is a link to the Q&A forum: https://learn.microsoft.com/en-us/answers/questions/

    Have a nice day.

    Best regards,

    Lei

    0 个注释 无注释
  2. 匿名
    2024-01-16T05:20:58+00:00

    OK. I will post a thread there .

    0 个注释 无注释