Tip There are many reasons why the "microsoft.ace.oledb.12.0" provider is not registered on the local computer, so there are a number of things that I want to record here, as follows:
When the operating system is a 64-bit operating system, if the assembly is not set, using the default compilation configuration will produce a hint that indicates the message shown. What we need to do at this point is to modify the output type of the Application property to the project property of the application, set the target platform to any CPU, and remove the default tick state of the preferred 32-bit (P), and recompile the run without the exception information for the caption prompt.
The above premise is the computer operating system Win7 64-bit system, and installed a 64-bit database engine.
The above should also install a 32-bit database engine on a 64-bit operating system to verify that it works. Post-tolerance validation.