sahar15125
پنج شنبه 09 شهریور 1391, 21:01 عصر
دیتابیسی که ساخته بودم داشت درست کار می کرد!
offlineکردم ... دیگه Online نمیشه!!!
این دیتابیس در واقع تویه VisualStudio داره ازش استفاده میشه (به جایه دیتابیس پیش فرض ویژوال)
پیغامش هم اینه :
TITLE: Microsoft.SqlServer.Smo
------------------------------
Set offline failed for Database 'MyDB'.
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1540+)&EvtSrc=Microsoft.SqlServer.Management.Smo.Exceptio nTemplates.FailedOperationExceptionText&EvtID=Set+offline+Database&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
User does not have permission to alter database 'MyDB', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed. (Microsoft SQL Server, Error: 5011)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=5011&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
offlineکردم ... دیگه Online نمیشه!!!
این دیتابیس در واقع تویه VisualStudio داره ازش استفاده میشه (به جایه دیتابیس پیش فرض ویژوال)
پیغامش هم اینه :
TITLE: Microsoft.SqlServer.Smo
------------------------------
Set offline failed for Database 'MyDB'.
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1540+)&EvtSrc=Microsoft.SqlServer.Management.Smo.Exceptio nTemplates.FailedOperationExceptionText&EvtID=Set+offline+Database&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
User does not have permission to alter database 'MyDB', the database does not exist, or the database is not in a state that allows access checks.
ALTER DATABASE statement failed. (Microsoft SQL Server, Error: 5011)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=5011&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------