I am use a docker container for my ASP.NET application. This is a client/server application, where I am using .NET Remoting to communicate with the servers.
in the dockerfile, I register my COM+ Assembly using RegSvcs.exe,
When I run my container, I connect to it’s IP address in my browser, and up comes the client.
When I proceed to access the server, I get the error:
The server process could not be started because the configured identity is incorrect. Check the username and password. (Exception from HRESULT: 0x8000401A)
This seems to indicate that the COM+ Assembly that I registered does not have the correct identity for access.
When I inspect my docker container, I can see the Login Information as follows:
Logon Type: 5 (Service)
Logon ID: 0x3e7
Account Name: SYSTEM
Account Domain: NT AUTHORITY
Do I need to modify the COM+ Assembly’s identity to be NT AUTHORITY\SYSTEM to get around this error?
There doesn’t seem to be a way to set the identity using RegSvcs.exe.