-
Notifications
You must be signed in to change notification settings - Fork 286
'RealtimeStreaming.Network.Listener' is not registered. #342
Comments
Hello @jmichelD5T COM components need to be registered to Windows registers to be used in other applications. That is one way to solve that error. Another way is to configure the project to use the Registration Free COM Interop method. An example can be found here.
|
I have a same issue take a lot of time but nothing with RealtimeStreaming.winmd, any help? thank you |
Unfortunately, same here. |
Hello @matealex, |
Hello,
When running the desktop server application, I receive the following error when I try to start the server:
System.TypeLoadException
HResult=0x80131522
Message=Requested Windows Runtime type 'RealtimeStreaming.Network.Listener' is not registered.
Source=mscorlib
StackTrace:
at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
at RealtimeStreaming.Network.Listener..ctor(UInt16 port)
at DesktopServerApp.ServerManager.d__64.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Inner Exception 1:
COMException: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
I encountered no build errors when building the source code or the desktop server projects, but I encountered various warnings related to WinRT when building the source. I built both projects for Release/x64. The server program immediately crashes after continuing execution past this error.
If anyone has any ideas on why this might occur, please let me know!
The text was updated successfully, but these errors were encountered: