I am developing a winforms application in Vb.net when I try to add a tableadapter to an existing dataset, I get an error:
Failed to open database connection. Msgstr "Failed to create a database with auto-name for file ### Filelocation ###. A database with the same name exists or the specified file cannot be opened or is located on the UNC shared folder." Check the connection and try again.
In the same dataset, there are 2 other table adapters that use the same connection (since I select an existing dataconnection connection) that work fine, this connection uses application connection strings:
Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\test.mdf;Integrated
server=localhost;user id=root;password=password;database=testuser;persistsecurityinfo=True
this error appears every time I select the dataconnector in the first popup. Why is this happening
Additional Information: The other 2 table adapters were added to this dataset using a different computer. This is for connecting mysql
source
share