I am automating my application using Selenium Webdriver, C#, Visual Studio and Chrome browser.
I am getting below popup when selenium tried to open the chrome browse
The part of the stack trace
System.InvalidOperationException: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
is because of 3rd party extensions installed on Chrome. Check if you have any extensions installed, like Add Blockers or something.
I encountered the same problem and was able to solve them by deleting the extensions installed in Chrome. If you have any extensions installed in chrome I am pretty sure removing them should solve the issue.