Jump to content

[Resolvido] Aplicação não abre Base Dados


Chamuanza
 Share

Recommended Posts

Um bem aja a todos

Quando corro a aplicação dentro do VS Express 2013 o sistema não abre a BD dando este erro:

An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll

Additional information: An attempt to attach an auto-named database for file D:\ProjectoTotoMilhoes\TotoMilhões\bin\Debug\GuardarResultados.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

No entanto se eu correr o executavel que se encontra na pasta Release já abre a BD

Fiz um copy do executavel da pasta Release para a pasta Debug mas continua a não aceder aos dados da BD

Alguem me pode dar uma dica?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.