Se vi dovesse capitare la sventura di voler collegare un database SqlServer express prodotto dal vostro fido Visual studio 2010, nel deploy di un applicazione web.net su un server che ha installato SqlServer2005, passerete una lunga serie di 5 minuti a chiedervi per quale motivo non vada.
Questa stringa di connessione vi verrĂ in aiuto:
"Data Source=server\istanza;AttachDbFilename='The error message is: Database diagram support objects
worry, I'm not lost, it's just a permissions problem.
Properties dialog box or the ALTER AUTHORIZATION statement to Set
the database owner to a valid login, then add the database diagram support objects.
Or in Italiandatabase because the database is not a valid owner to continue
not install the diagram support objects
first use the Files page of the Properties dialog box
the database or education Alther autorization
to set the owner of the database to a valid login and add objects
support for database diagrams.
Here is the solution from MSDN
http://msdn.microsoft.com/en-us/library/ms186345 (SQL.90). Aspx
ALTER AUTHORIZATION ON DATABASE:: database_name TO "YOU"
go USE [database_name]
go EXECUTE AS USER = N'dbo 'REVERT go
This will allow you to regain access to your diagrams or create new ones.
0 comments:
Post a Comment