Skip to content

Remove-SqlOrphanUser fails #296

Description

Exception calling "ExecuteNonQuery" with "1" argument(s): "ExecuteNonQuery failed for Database 'dbname'. "
At C:\Users\user\Documents\WindowsPowerShell\Modules\dbatools\functions\Remove-SqlOrphanUser.ps1:219 char:37

  •                                 $server.Databases[$db.Name].ExecuteNonQuery( ...
    
  •                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : FailedOperationException

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions