I have a winforms app using typed dataset, and it runs just fine, but I can no longer use the designer in visual studio on most of the forms or the dataset itself. I get the oh-so-helpful error "Failed to open a connection to the database. No error message available, result code: E_UNEXPECTED (0x8000FFFF)"
I think it must be failing to find the |DataDirectory| location at design-time, even though it can find it at run-time. I try using the wizard to create a new connection, and clicking the Test Connection button raises the same error.
I'm using Access, and the .accdb file is copied properly into bin/Debug. I can open it directly from there no problem. Also, the application runs fine, so it can obviously make the connection when it matters. Still, I would like to be able to configure the queries from the dataset.xsd view and I would like to be able to view the forms in design mode. Any suggestions?
Thanks in advance!