Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Se alguém acompanhou meus últimos tópicos certamente notou que estou tomando uma surra.
Novamente o cenário é Visual Studio 2010 Express e SQL Server 2008 R2 Express.
Agora o problema é o seguinte: Crio o BD no SQL Server, abro-o e edito-o no Visual Studio sem problemas. Quando fecho o Visual Studio e tento reabrir o BD no SQL Server, recebo a seguinte mensagem:
TITLE: Microsoft SQL Server Management Studio
------------------------------
Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
One or more files do not match the primary file of the database. If you are attempting to attach a database, retry the operation with the correct files. If this is an existing database, the file may be corrupted and should be restored from a backup. (Microsoft SQL Server, Error: 5173)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=5173&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
Depois disso se tentar abrir o BD novamente no Visual Studio também dá erro.
Carregando comentários...