Last post May 24, 2021 03:44 PM by bruce (sqlwork.com)
May 24, 2021 02:14 PM|PGChoudhury|LINK
I created .netcore webapp project.
dotnet build [success]
dotnet run [the problem]
An error occurred while reading the key ring.
System.AggregateException: An error occurred while writing to logger(s). (Cannot open log for source '.NET Runtime'. You may not have write access.)
---> System.InvalidOperationException: Cannot open log for source '.NET Runtime'. You may not have write access.
---> System.ComponentModel.Win32Exception (1722): The RPC server is unavailable.
--- End of inner exception stack trace ---
says 'You may not have write access.'.
I never had any r/w related configurations priorly on my environment. Could be firewall?
Also says 'RPC server is unavailable'.
got 1 link --
not much use to me. I don't see much that I can refer to what's provided wrt my case
What I want yo know, is brief, simple explanation of the problem
and subsequent solution for the same.
May 24, 2021 02:44 PM|mgebhard|LINK
What log is the application writing to? A file? The event Viewer? Something else?
Anyway, grant R/W rights to the application identity so the application can write to the unknow log. Assuming IIS, you can find the app pool identity in IIS manager.
May 24, 2021 03:44 PM|bruce (sqlwork.com)|LINK
It appears you did not follow the instructions and grant the login as a service.