MSSQL Server Permission Issue on Restore

Receive the error: Cannot execute as the database principal because the principal “dbo” does not exist, this type of principal cannot be impersonated, or you do not have permission. (Microsoft …

Filter Events By User

12345<QueryList>   <Query Id="0" Path="Security">     <Select Path="Security">* [EventData[Data[@Name=’subjectUsername’]=’Tor’]]</Select>   </Query> </QueryList>