hola que tal buenas tarde, necesito de su ayuda eh copiado algunas obras y ahora necesito borraralas pero no puedo me manda un error
Code:
Microsoft.SqlServer.Management.Smo.PropertyCannotBeRetrievedException: Property DefaultSchema is not available for Database '[EJEMPLO OPUS]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.
at Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index)
at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetPropertyObject(Int32 index)
at Microsoft.SqlServer.Management.Smo.SchemaCollectionBase.GetDefaultSchema()
at Microsoft.SqlServer.Management.Smo.TableCollection.get_Item(String name)
at EcoSoft.Commons.Services.DataBackup.SqlServerManager.GetModulo1DataBasesInfo()
at Opus.Modulo1.Application.UserInterface.EliminarProyectoDialogController.ObtenerBasesDeDatosLocales()
at Opus.Modulo1.Application.UserInterface.EliminarProyectoDialogController.ObtenerListaDeSesiones()
at Opus.Modulo1.Application.UserInterface.EliminarProyectoDialog.EnlazarListaDeSesiones()
at Opus.Modulo1.Application.UserInterface.EliminarProyectoDialogController.MostrarVista()
at Opus.Modulo1.Application.Modulo1CommandHandler.EjecutaEliminarObra(Command command)
at EcoSoft.Windows.Commands.BaseCommandHandler.Execute(Command command)
at EcoSoft.Windows.Commands.CommandBaseController.ExecuteOnCommandHandler(Command command, ICommandHandler hostCommandHandler)
at Opus.Modulo1.Application.Modulo1CommandInitializer.CommandExecute(Object sender, CommandEventArgs e)
at EcoSoft.Windows.Commands.Command.OnExecute(CommandEventArgs e)
at EcoSoft.Windows.Commands.Command.DoExecute()
at EcoSoft.Windows.Commands.Executors.DxBarItemCommandExecutor.button_ItemClick(Object sender, ItemClickEventArgs e)
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)