An error has occurred: 0x800706fc The trust relationship between the primary domain ......

Tech-Archive recommends: Fix windows errors by optimizing your registry



This error was occuring on my machine

when I was executing

aspnet_regiis -ga procuser

....and then I was able to resolve it by explicitly making sure that the
user existed in the domain (local machine, in my case)

So , i used

net user USERNAME PASSWORD /add

to add the user and then the aspnet_regiis -ga procuser command ran
successfully !!!

.