Pass user roles in headers.
Access Manager has to set the role as an Header variable. Application has to retrieve the header variable for authorization purpose.
Yes, use nsroledn attribute in Header forwarding parameter.
But you should be aware of these things:
1. nsroledn can only show you the ldap role "explicitly" assigned to this user. If you have nested role setting,
you have to use nsrole (instead of nsroledn) to get all "implied" roles.
2. What you get from nsroledn/nsrole attribute is a list of DNs, not a list of the friendly role names, usually the RDN part (cn=myrolename,...) is the friendly names. So your applications have to recognize this format.
Similar Messages
-
Get authorization data by passing user role
Hi All,
Can anybody please tel me to retrieve user authorization data if i pass user role i want to get whole authorization data for that role.
Thanks,I am not sure about the authorization objects/values for a given role, but you can get that for a user using the FM SUSR_USER_AUTH_FOR_OBJ_GET.
-
Authorization object in procurement that checks user role
Hi Experts,
Please let me know if we have any standard authorization objects in the transactions PO or PR that checks the SAP User role. Authorization check can be done by sap role, we are not botherd checking on company code, purchase group and so on, Is there any standard procedure to find out that or any function module available to check that by passing user role. << removed >>
Cheers
Mohan
Edited by: Rob Burbank on Feb 19, 2010 12:24 PMeasiest way to find all authorization objects is to execute SU24.
There you enter the transaction code for which you want find the authorization objects. -
How to hide custom fields in Shopping cart depening on user role
Hi,
We have some custom fields in shopping cart for basic view. Every thing works fine. Now client is asking to hide all the custom fields based on user role.
I found some function module to fund roles. now my main problem is unable to find the cusotm filed screen field name.
When I tryed to find the screen field name using BBPSC02/03, its giving 'GT_DISPLAY_100-FIELD'. If I try to use this field, its not working.
Could you pls tell me how to find custom screen filed name to hide in shopping cart.
Thanks,
RamHi Ram,
As Laurent suggested,to hide the custom fields based on the user role,you need to implement the logic in BADi "BBP_CUF_BADI_2".
You have the importing parameter IV_USER in this BADI.
Pass this parameter to tables AGR_USERS and AGR_USERT to get the user role
OR
Use FM: BAPI_USER_GET_DETAIL
with USERNAME= user id and can retrieve Table: ACTIVITYGROUPS Field:AGR_NAME
if you want the otherway around
you can also use FM: RSRA_USERS_OF_AGR_GET
with I_AGR_NAME= role and you can retieve Table: ACTIVITY_GROUPS_USERS Field: UNAME(usr Id)
Then check the value for the User role as obtained using the above steps and accordingly set the property for the custom fields to hide them.
BR,
Deepti. -
Modify Script to Create User Role on Single Database.
Hi All,
Below is the script to create user role on database. Here problem is when I execute this script, it creates user role for all database within an instance and I want it to create user role only on 2 database say TEST1 and TEST2
Can anyone help me to modify the script?
--===================================================================================
-- Description
-- Database Type: MSSQL
-- This script creates a role called 'gdmmonitor' for ALL databases.
-- It grants some system catalogs to this role to allow Classification and Assessment on the database.
-- It then adds a user called "sqlguard" to all databases and grants this user gdmmonitor role.
-- before runnign this script
-- you MUST CREATE A SQL LOGIN CALLED 'sqlguard'
-- This sqlguard login doesn't need to be added to any database or given
-- any privilege. The script will take care of that.
-- Note:
-- If you wish to use a different login name (instead of 'sqlguard') you need to change
-- the value of the variable '@Guardium_user' in the script below;
-- (Look for the string: "set @Guardium_user = 'sqlguard'" and replace the 'sqlguard')
-- after runnign this script
-- Nothing to do, the script already creates the db user
-- User/Password to use
-- User: sqlguard (or any other name, if changed)
-- Pass: user defined
-- Role: gdmmonitor
--===================================================================================
PRINT '>>>==================================================================>>>'
PRINT '>>> Creating role: "gdmmonitor" at the server level.'
PRINT '>>>==================================================================>>>'
-- Change to the master database
USE master
-- *** If a different login name is desired, define it here. ***
DECLARE @Guardium_user AS varchar(50)
set @Guardium_user = 'sqlguard'
DECLARE @dbName AS varchar(256)
DECLARE @memberName AS varchar(256)
DECLARE @dbVer AS nvarchar(128)
SET @dbVer = CAST(serverproperty('ProductVersion') AS nvarchar)
SET @dbVer = SUBSTRING(@dbVer, 1, CHARINDEX('.', @dbVer) - 1)
IF (@dbVer = '8') SET @dbVer = '2000'
ELSE IF (@dbVer = '9') SET @dbVer = '2005'
ELSE IF (@dbVer = '10') SET @dbVer = '2008'
ELSE IF (@dbVer = '11') SET @dbVer = '2012'
ELSE SET @dbVer = '''Unsupported Version'''
IF (@dbVer != '2000')
BEGIN
-- This privilege is required to peform a specific MSSQL test.
-- Test name: SQL OLEDB disabled (DisallowAdhocAccess registry key)
-- Procedure execute: EXEC master.dbo.sp_MSset_oledb_prop
-- Purpose: To display provider property, not changing anything.
PRINT '==> Granting MSSSQL 2005 and above setupadmin server role'
EXEC master..sp_addsrvrolemember @loginame = @Guardium_user, @rolename = N'setupadmin'
END
SELECT @dbName = DB_NAME()
PRINT '==> Starting MSSql ' + @dbVer + ' role creation on database: ' + @dbName
-- find any members of the role if they exist
CREATE TABLE #rolemember (membername VARCHAR(256) NOT NULL)
INSERT INTO #rolemember
SELECT DISTINCT usr.name FROM dbo.sysusers usr, .dbo.sysmembers mbr
WHERE usr.uid = mbr.memberuid
AND mbr.groupuid = (SELECT uid FROM .dbo.sysusers WHERE name = 'gdmmonitor')
-- Drop the Role Members If they exist
IF EXISTS (SELECT count(*) FROM #rolemember)
BEGIN
PRINT '==> Dropping the gdmmonitor role members on: ' + @dbName
DECLARE DropCursor CURSOR FOR SELECT membername from #rolemember
OPEN DropCursor
FETCH DropCursor INTO @memberName
WHILE @@Fetch_Status = 0
BEGIN
PRINT '==> Dropping member: ''' + @memberName + ''''
exec('EXEC sp_droprolemember ''gdmmonitor'', ''' + @memberName + ''' ;')
FETCH DropCursor INTO @memberName
END
CLOSE DropCursor
DEALLOCATE DropCursor
END
-- drop the role if it exists
IF EXISTS (SELECT 1 FROM .dbo.sysusers WHERE name = 'gdmmonitor')
BEGIN
PRINT '==> Dropping the role gdmmonitor on: ' + @dbName
exec sp_droprole 'gdmmonitor'
END
-- Create the role
PRINT '==> Creating the role gdmmonitor on: ' + @dbName
exec sp_addrole 'gdmmonitor'
-- Grant select privileges to the role for MSSql Common
PRINT '==> Granting common SELECT privileges on: ' + @dbName
GRANT SELECT ON dbo.spt_values TO gdmmonitor
GRANT SELECT ON dbo.sysmembers TO gdmmonitor
GRANT SELECT ON dbo.sysobjects TO gdmmonitor
GRANT SELECT ON dbo.sysprotects TO gdmmonitor
GRANT SELECT ON dbo.sysusers TO gdmmonitor
GRANT SELECT ON dbo.sysconfigures TO gdmmonitor
GRANT SELECT ON dbo.sysdatabases TO gdmmonitor
GRANT SELECT ON dbo.sysfiles TO gdmmonitor
GRANT SELECT ON dbo.syslogins TO gdmmonitor
GRANT SELECT ON dbo.syspermissions TO gdmmonitor
-- Grant execute privileges to the role for MSSql Common
PRINT '==> Granting common EXECUTE privileges on: ' + @dbName
GRANT EXECUTE ON sp_helpdbfixedrole TO gdmmonitor
GRANT EXECUTE ON sp_helprotect TO gdmmonitor
GRANT EXECUTE ON sp_helprolemember TO gdmmonitor
GRANT EXECUTE ON sp_helpsrvrolemember TO gdmmonitor
GRANT EXECUTE ON sp_tables TO gdmmonitor
GRANT EXECUTE ON sp_validatelogins TO gdmmonitor
GRANT EXECUTE ON sp_server_info TO gdmmonitor
-- Check if the version is 2005 or greater
IF (@dbVer != '2000')
BEGIN
-- Grant select privileges to the role for MSSql 2005 and above
PRINT '==> Granting MSSql 2005 and above SELECT privileges on: ' + @dbName
GRANT SELECT ON sys.all_objects TO gdmmonitor
GRANT SELECT ON sys.database_permissions TO gdmmonitor
GRANT SELECT ON sys.database_principals TO gdmmonitor
GRANT SELECT ON sys.sql_logins TO gdmmonitor
GRANT SELECT ON sys.sysfiles TO gdmmonitor
GRANT SELECT ON sys.database_role_members TO gdmmonitor
GRANT SELECT ON sys.server_role_members TO gdmmonitor
GRANT SELECT ON sys.configurations TO gdmmonitor
GRANT SELECT ON sys.master_key_passwords TO gdmmonitor
GRANT SELECT ON sys.server_principals TO gdmmonitor
GRANT SELECT ON sys.server_permissions TO gdmmonitor
GRANT SELECT ON sys.credentials
TO gdmmonitor
--This is called by master.dbo.sp_MSset_oledb_prop.
--By defautl it should have already been granted to public.
GRANT EXECUTE ON sys.xp_instance_regread TO GDMMONITOR
GRANT EXECUTE ON sys.sp_MSset_oledb_prop TO GDMMONITOR
END
-- Re-add the dropped members
IF EXISTS (SELECT 1 FROM #rolemember)
BEGIN
PRINT '==> Re-adding the role members on: ' + @dbName
DECLARE DropCursor CURSOR FOR SELECT membername from #rolemember
OPEN DropCursor
FETCH DropCursor INTO @memberName
WHILE @@Fetch_Status = 0
BEGIN
PRINT '==> Re-adding member: ''' + @memberName + ''''
exec('EXEC sp_addrolemember ''gdmmonitor'', ''' + @memberName + ''' ;')
FETCH DropCursor INTO @memberName
END
CLOSE DropCursor
DEALLOCATE DropCursor
END
-- END of role creation on database
PRINT '==> END of role creation on: ' + @dbName
PRINT ''
-- Change to the msdb database
USE msdb
set @memberName = ''
SELECT @dbName = DB_NAME()
PRINT '==> Starting MSSql ' + @dbVer + ' role creation on database: ' + @dbName
-- find any members of the role if it exists
TRUNCATE TABLE #rolemember
INSERT INTO #rolemember
SELECT DISTINCT usr.name FROM .dbo.sysusers usr, .dbo.sysmembers mbr
WHERE usr.uid = mbr.memberuid
AND groupuid = (SELECT uid FROM .dbo.sysusers WHERE name = 'gdmmonitor')
-- Drop the Role Members If they exist
IF EXISTS (SELECT count(*) FROM #rolemember)
BEGIN
PRINT '==> Dropping the gdmmonitor role members on: ' + @dbName
DECLARE DropCursor CURSOR FOR SELECT membername from #rolemember
OPEN DropCursor
FETCH DropCursor INTO @memberName
WHILE @@Fetch_Status = 0
BEGIN
PRINT '==> Dropping member: ''' + @memberName + ''''
exec('EXEC sp_droprolemember ''gdmmonitor'', ''' + @memberName + ''' ;')
FETCH DropCursor INTO @memberName
END
CLOSE DropCursor
DEALLOCATE DropCursor
END
-- drop the role if it exists
IF EXISTS (SELECT 1 FROM .dbo.sysusers WHERE name = 'gdmmonitor')
BEGIN
PRINT '==> Dropping the gdmmonitor role on: ' + @dbName
exec sp_droprole 'gdmmonitor'
END
-- Create the role
PRINT '==> Creating the gdmmonitor role on: ' + @dbName
exec sp_addrole 'gdmmonitor'
-- Grant select privileges to the role for MSSql Common
PRINT '==> Granting common SELECT privileges on: ' + @dbName
GRANT SELECT ON dbo.sysobjects TO gdmmonitor
GRANT SELECT ON dbo.sysusers TO gdmmonitor
GRANT SELECT ON dbo.sysprotects TO gdmmonitor
GRANT SELECT ON dbo.sysmembers TO gdmmonitor
GRANT SELECT ON dbo.sysfiles TO gdmmonitor
GRANT SELECT ON dbo.syspermissions TO gdmmonitor
GRANT SELECT ON dbo.backupset TO gdmmonitor
-- Check if the version is 2005 or greater
IF (@dbVer != '2000')
BEGIN
-- Grant select privileges to the role for MSSql 2005 and above
PRINT '==> Granting MSSql 2005 and above SELECT privileges on: ' + @dbName
GRANT SELECT ON sys.all_objects TO gdmmonitor
GRANT SELECT ON sys.database_permissions TO gdmmonitor
GRANT SELECT ON sys.database_principals TO gdmmonitor
GRANT SELECT ON sys.sysfiles TO gdmmonitor
-- Grant execute privileges to the role for MSSql 2005 or above
PRINT '==> Granting MSSql 2005 and above EXECUTE privileges on: ' + @dbName
GRANT EXECUTE ON msdb.dbo.sp_enum_login_for_proxy TO gdmmonitor
GRANT SELECT ON sys.database_role_members TO gdmmonitor
END
IF (@dbVer > '2000' and @dbVer < '2012')
--This sp is not available in SQL 2012
BEGIN
GRANT EXECUTE ON sp_get_dtspackage TO gdmmonitor
END
-- Re-add the dropped members
IF EXISTS (SELECT count(*) FROM #rolemember)
BEGIN
PRINT '==> Re-adding the gdmmonitor role members on: ' + @dbName
DECLARE DropCursor CURSOR FOR SELECT membername from #rolemember
OPEN DropCursor
FETCH DropCursor INTO @memberName
WHILE @@Fetch_Status = 0
BEGIN
PRINT '==> Re-adding member: ''' + @memberName + ''''
exec('EXEC sp_addrolemember ''gdmmonitor'', ''' + @memberName + ''' ;')
FETCH DropCursor INTO @memberName
END
CLOSE DropCursor
DEALLOCATE DropCursor
END
-- drop the temporary table
DROP TABLE #rolemember
-- END of role creation on database
PRINT '==> END of gdmmonitor role creation on: ' + @dbName
-- Role creation complete
PRINT '<<<==================================================================<<<'
PRINT '<<< END of creating role: "gdmmonitor" at the server level.'
PRINT '<<<==================================================================<<<'
PRINT ''
PRINT '>>>==================================================================>>>'
PRINT '>>> Starting application database role creation'
PRINT '>>>==================================================================>>>'
use master
DECLARE @databaseName AS varchar(80)
DECLARE @executeString AS varchar(7950)
DECLARE @dbcounter as int
set @dbcounter = 0
DECLARE DatabaseCursor CURSOR FOR SELECT name from sysdatabases where name not in ('master', 'msdb')
and not (status & 1024 > 1)
--read only
and not (status & 4096 > 1)
--single user
and not (status & 512 > 1)
--offline
and not (status & 32 > 1)
--loading
and not (status & 64 > 1)
--pre recovery
and not (status & 128 > 1)
--recovering
and not (status & 256 > 1)
--not recovered
and not (status & 32768 > 1)
--emergency mode
OPEN DatabaseCursor
FETCH DatabaseCursor INTO @databaseName
WHILE @@Fetch_Status = 0
BEGIN
set @dbcounter = @dbcounter + 1
set @databaseName = '"' + @databaseName + '"'
set @executeString = ''
set @executeString = 'use ' + @databaseName + ' ' +
'PRINT ''>>>==================================================================>>>'' ' +
'PRINT ''>>> Starting MSSql ' + @dbVer + ' role creation on database: ' + @databaseName + ''' ' +
'PRINT ''>>>==================================================================>>>'' ' +
'/* Variable @memberNameDBname must be declare within the string or else it will fail */ ' +
'DECLARE @memberName' + cast(@dbcounter as varchar(5)) + ' as varchar(50) ' +
'/*find any members of the role if it exists*/ ' +
'CREATE TABLE #rolemember (membername VARCHAR(256) NOT NULL) ' +
'INSERT INTO #rolemember ' +
'SELECT DISTINCT usr.name FROM dbo.sysusers usr, dbo.sysmembers mbr ' +
'WHERE usr.uid = mbr.memberuid ' +
'AND groupuid = (SELECT uid FROM dbo.sysusers WHERE name = ''gdmmonitor'') ' +
'/*Drop the Role Members If they exist*/ ' +
'IF EXISTS (SELECT * FROM #rolemember) ' +
'BEGIN ' +
'PRINT ''==> Dropping the role members on: ' + @databaseName + ''' ' +
'DECLARE DropCursor CURSOR FOR SELECT membername from #rolemember ' +
'OPEN DropCursor ' +
'FETCH DropCursor INTO @memberName' + cast(@dbcounter as varchar(5)) + ' ' +
'WHILE @@Fetch_Status = 0 ' +
'BEGIN ' +
'PRINT ''==> Dropping member: '' + @memberName' + cast(@dbcounter as varchar(5)) + ' ' +
'exec(''EXEC sp_droprolemember ''''gdmmonitor'''', '''''' + @memberName' + cast(@dbcounter as varchar(5)) + ' + '''''';'') ' +
'FETCH DropCursor INTO @memberName' + cast(@dbcounter as varchar(5)) + ' ' +
'END ' +
'CLOSE DropCursor ' +
'DEALLOCATE DropCursor ' +
'END ' +
'/*drop the role if it exists*/ ' +
'IF EXISTS (SELECT 1 FROM .dbo.sysusers WHERE name = ''gdmmonitor'') ' +
'BEGIN ' +
'PRINT ''==> Dropping the gdmmonitor role on: ' + @databaseName + ''' ' +
'exec sp_droprole ''gdmmonitor'' ' +
'END ' +
'/* Create the role */ ' +
'PRINT ''==> Creating the gdmmonitor role on: ' + @databaseName + ''' ' +
'exec sp_addrole ''gdmmonitor'' ' +
'/* Grant select privileges to the role for MSSql Common */ ' +
'PRINT ''==> Granting common SELECT privileges on: ' + @databaseName + ''' ' +
'GRANT SELECT ON dbo.sysmembers TO gdmmonitor ' +
'GRANT SELECT ON dbo.sysobjects TO gdmmonitor ' +
'GRANT SELECT ON dbo.sysprotects TO gdmmonitor ' +
'GRANT SELECT ON dbo.sysusers TO gdmmonitor ' +
'GRANT SELECT ON dbo.sysfiles TO gdmmonitor ' +
'GRANT SELECT ON dbo.syspermissions TO gdmmonitor ' +
'/* Check if the version is 2005 or greater */ ' +
'IF (' + @dbVer + ' != ''2000'') ' +
'BEGIN ' +
'/* Grant select privileges to the role for MSSql 2005 and above */ ' +
'PRINT ''==> Granting MSSql 2005 and above SELECT privileges on: ' + @databaseName + ''' ' +
'GRANT SELECT ON sys.database_permissions TO gdmmonitor ' +
'GRANT SELECT ON sys.all_objects TO gdmmonitor ' +
'GRANT SELECT ON sys.database_principals TO gdmmonitor ' +
'GRANT SELECT ON sys.sysfiles TO gdmmonitor ' +
'GRANT SELECT ON sys.database_role_members TO gdmmonitor ' +
'END ' +
'/* Re-add the dropped members */ ' +
'IF EXISTS (SELECT 1 FROM #rolemember) ' +
'BEGIN ' +
'PRINT ''==> Re-adding the gdmmonitor role members on: ' + @databaseName + ''' ' +
'DECLARE DropCursor CURSOR FOR SELECT membername from #rolemember ' +
'OPEN DropCursor ' +
'FETCH DropCursor INTO @memberName' + cast(@dbcounter as varchar(5)) + ' ' +
'WHILE @@Fetch_Status = 0 ' +
'BEGIN ' +
'PRINT ''==> Re-adding member: '' + @memberName' + cast(@dbcounter as varchar(5)) + ' ' +
'exec(''EXEC sp_addrolemember ''''gdmmonitor'''', '''''' + @memberName' + cast(@dbcounter as varchar(5)) + ' + '''''';'') ' +
'FETCH DropCursor INTO @memberName' + cast(@dbcounter as varchar(5)) + ' ' +
'END ' +
'CLOSE DropCursor ' +
'DEALLOCATE DropCursor ' +
'END ' +
'/* drop the temporary table */ ' +
'DROP TABLE #rolemember ' +
'PRINT ''<<<==================================================================<<<'' ' +
'PRINT ''<<< END of role creation on: ' + @databaseName + ''' ' +
'PRINT ''<<<==================================================================<<<'' ' +
'PRINT '' ''' +
'PRINT '' '''
execute (@executeString)
FETCH DatabaseCursor INTO @databaseName
END
CLOSE DatabaseCursor
DEALLOCATE DatabaseCursor
-- Adding user to all the databases
-- and grant gdmmonitor role, only if login exists.
PRINT '>>>==================================================================>>>'
PRINT '>>> Add and Grant gdmmonitor role to: ''' + @Guardium_user + ''''
PRINT '>>> on all databases.'
PRINT '>>>==================================================================>>>'
USE master
/* Check if @Guardium_user is a login exist, if not do nothing.*/
IF NOT EXISTS (select * from syslogins where name = @Guardium_user)
BEGIN
PRINT ''
PRINT '************************************************************************'
PRINT '*** ERROR: Could not find the login: ''' + @Guardium_user + ''''
PRINT '*** Please add the login and re-run this script.'
PRINT '************************************************************************'
PRINT ''
END
ELSE
BEGIN
DECLARE @counter AS smallint
set @counter = 0
-- This loop runs 4 time just to make sure that the @Guardium_user gets added to all db.
-- 99% of the time, this is totally unnecessary. But in some rare case on SQL 2005
-- the loop skips some databases when it tried to add the @Guardium_user.
-- After two to three executions, the user is added in all the dbs.
-- Might be a SQL Server bug.
WHILE @counter <= 3
BEGIN
set @counter = @counter + 1
set @databaseName = ''
set @executeString = ''
DECLARE DatabaseCursor CURSOR FOR SELECT name from sysdatabases
where not (status & 1024 > 1)
--read only
and not (status & 4096 > 1)
--single user
and not (status & 512 > 1)
--offline
and not (status & 32 > 1)
--loading
and not (status & 64 > 1)
--pre recovery
and not (status & 128 > 1)
--recovering
and not (status & 256 > 1)
--not recovered
and not (status & 32768 > 1)
--emergency mode
OPEN DatabaseCursor
FETCH DatabaseCursor INTO @databaseName
WHILE @@Fetch_Status = 0
BEGIN
set @databaseName = '"' + @databaseName + '"'
set @executeString = ''
set @executeString = 'use ' + @databaseName + ' ' +
'/*Check if the login already has access to this database */ ' +
'IF EXISTS (select * from sysusers where name = ''' + @Guardium_user + ''' and islogin = 1) ' +
'BEGIN ' +
'/*Check if login already have gdmmonitor role*/ ' +
'IF NOT EXISTS (SELECT usr.name FROM dbo.sysusers usr, dbo.sysmembers mbr WHERE usr.uid = mbr.memberuid ' +
'AND mbr.groupuid = (SELECT uid FROM dbo.sysusers WHERE name = ''gdmmonitor'') ' +
'AND usr.name = ''' + @Guardium_user + ''') ' +
'BEGIN ' +
'PRINT ''==> Granting gdmmonitor role to ' + @Guardium_user + ' on database ' + @databaseName + ''' ' +
'execute sp_addrolemember ''gdmmonitor''' + ', [' + @Guardium_user + '] ' +
'PRINT '' ''' +
'END ' +
'END ' +
'IF NOT EXISTS (select * from sysusers where name = ''' + @Guardium_user + ''' and islogin = 1) ' +
'BEGIN ' +
'PRINT ''==> Adding user [' + @Guardium_user + '] to database: ' + @databaseName + ''' ' +
'execute sp_adduser [' + @Guardium_user + '] ' +
'PRINT ''==> Granting gdmmonitor role to ' + @Guardium_user + ' on database ' + @databaseName + ''' ' +
'execute sp_addrolemember ''gdmmonitor''' + ', [' + @Guardium_user + '] ' +
'PRINT '' ''' +
'END '
execute (@executeString)
FETCH DatabaseCursor INTO @databaseName
END
CLOSE DatabaseCursor
DEALLOCATE DatabaseCursor
END -- end while
-- Required for Version 2005 or greater.
IF (@dbVer != '2000')
BEGIN
-- Grant system privileges to the @guardium_user. This is a requirement for >= SQL 2005
-- or else some system catalogs will filter our result from assessment test.
-- This will show up in sys.server_permissions view.
PRINT '==> Granting catalog privileges to: ''' + @Guardium_user + ''''
execute ('grant VIEW ANY DATABASE to [' + @Guardium_user + ']' )
execute ('grant VIEW ANY DEFINITION to [' + @Guardium_user + ']' )
END
PRINT '<<<==================================================================<<<'
PRINT '<<< Finished Adding and Granting gdmmonitor role to: ''' + @Guardium_user + ''''
PRINT '<<< on all databases.'
PRINT '<<<==================================================================<<<'
PRINT ''
END
GOThanks a lot Sir... it worked.
Can you also help me in troubleshooting below issue?
This script is working fine on all databases except one MS SQL 2005 database. build of this database is 9.00.3042.00
SA account with highest privileges is been used for script execution. errors received are as follow:
>>>==================================================================>>>
>>> Creating role: "gdmmonitor" at the server level.
>>>==================================================================>>>
==> Granting MSSSQL 2005 and above setupadmin server role
==> Starting MSSql 2005 role creation on database: master
(0 row(s) affected)
==> Dropping the gdmmonitor role members on: master
==> Creating the role gdmmonitor on: master
Msg 15002, Level 16, State 1, Procedure sp_addrole, Line 16
The procedure 'sys.sp_addrole' cannot be executed within a transaction.
==> Granting common SELECT privileges on: master
Msg 15151, Level 16, State 1, Line 117
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 118
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 119
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 120
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 121
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 122
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 123
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 124
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 125
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 126
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
==> Granting common EXECUTE privileges on: master
Msg 15151, Level 16, State 1, Line 130
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 131
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 132
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 133
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 134
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 135
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission.
Msg 15151, Level 16, State 1, Line 136
Cannot find the user 'gdmmonitor', because it does not exist or you do not have permission. -
Using named Search has constrainst on user roles
Is there a standard way to use named search as a constraint for a user role. There are constraints related to flat files and masks but I can't find any on Named search file. Anyone have an ide how to solve this?
Regards
John-KjellHey John,
Why dont u save a named search in Data Manager with whatever field ie. on prices field.
And then u configure the User having that role in the Config UI ie. make all the configurations for that user like whichever fields u want to show to that user and than while passing the url for search ui in that u specify the user and the named search in the url itself.
For eg:
http://localhost:50100/SRM-MDM/SRM_MDM?sap-locale=EN&HOOK_URL=&mask=&namedSearch=&username=Admin&password=admin&catalog=SRM_MDM_Catalog_2.0&server=localhost&datalanguage=EN
In &namedsearch=<Specify the Named Search u saved>
and in &username=<Specify the user for which it is configured>
Try dis out
Regards Tejas................ -
Hi,
I have developed a JAAS module passing username and password and uses LDAP and Database for authentication. I also need to pass user type to the back-end. Can you please suggest how to do this?
Thanks,
MattYou can use to get the user/role information
Subject s = context.getSubject();
You can pass the Subject s as usual way. -
Hi,
I am trying to enable/disable a feature based on user.roles.
Added a constraint for that feature as below,
<adfmf:constraints>
<adfmf:constraint property="user.roles" operator="contains" value="manager" id="c1"/>
</adfmf:constraints>
In this case, Users have manager role should be able to access this feature.
My AccessControlService response is
{"userId" : "sales_mgr","roles" : [ "manager","MOO_OPPORTUNITY_SALES_MANAGER_DUTY","ZBS_ENT_SALES_MANAGER_DUTY"],"privileges" : [ "managerPriv","ZSF_DEFINE_SALES_FORECAST_PRIV","MOO_MANAGE_OPPORTUNITY_GROUP_SPACE_PRIV"]}
Repsonse has "manager" as one such role.
After adding constraint to the feature, am unable to access it.
I tried many possibilities like operator="contains" or "not" or "equal", but no use.
I don't know what is going wrong. Appreciate you help.
Thanks.If you are on 11.5.10 or greater or standalone 2.6.4 if you pass the responder value to wf_notification.respond API it should be updated in wf_notifications.responder column. The comments is now updated in wf_comments table against the notification id and not wf_notifications.user_comment column.
Thanks, Vijay -
User Role empty - Cannot connect to DB2
Hello,
I'm having trouble with a WLSE 2.13 that we have installed. It doesn't let us access via web to the software; the error that appears when trying to do so is "User role is empty". There also appears a moving banner saying "Database failed to respond correctly" after trying to authenticate the user.
however, when trying t oaccess through SSH, it works OK.
This is what I get with a diag all command:
<<< Executing ALL Diagnostics (except SmartMonTools) >>>
DIAG: IMAGE -- [Mon Oct 9 08:27:07 UTC 2006]
(please wait) ... DONE.
*** PASS: Software image verification passed. ***
DIAG: BIOS -- [Mon Oct 9 08:28:03 UTC 2006]
*** Drive model ST340014A, FwRev does not require BIOS patch. ***
DIAG: DMA -- [Mon Oct 9 08:28:03 UTC 2006]
Checking disk for DMA errors (please wait) ...
*** PASS: NO DMA IO errors found. ***
Checking disk sectors for errors (please wait) ...
*** PASS: NO disk sector errors found. ***
DIAG: DB2CLEAN -- [Mon Oct 9 08:32:48 UTC 2006]
*** PASS: No dump files found. ***
DIAG: DB2VERIFY -- [Mon Oct 9 08:32:48 UTC 2006]
*** FAIL: Cannot connect to DB2. Integrity verification failed. ***
DIAG: SERIALNO -- [Mon Oct 9 08:32:49 UTC 2006]
*** No Serial Number obtained for this appliance. ***
So it looks like the DB is corrupt for some reason. We have executed the initdb but no change in the error has been detected.
This is the result of the show version command:
(C) Copyright 2006 by Cisco Systems Inc.
WLSE 1130 Release 2.13.1FCS Mon Aug 14 12:16:20 UTC 2006
(build number 54)
Device Limit = 2550
Build Version (79) Fri Jan 6 23:20:15 UTC 2006
Uptime: 0 days 0 hours 34 mins
Linux version 2.4.32-8_WLSEsmp ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113
)) #1 SMP Wed Jan 25 13:16:55 PST 2006
I do think that there may be a sector in the hard drive that is not working (you can see why in the bootlog.txt file that I'm also attaching), but it looks a bit strange that it has only affected the access through the web...
Any ideas?Hi Fernando,
This might be related to few things:
- file anisnmp.conf corrupted preventing TomCat to start properly (# reset device-snmp would fix it)
- database corrupted and not accessible at all
(... reiniting the db might be the only solution)
- user roles corrupted
(would need to delete the user roles to reconstruct them)
Opening a shell and hit "#show tomcatlog" would give you a more accurate idea.
In case of broken anisnmp.conf, the error message is pretty explicit.
In case of other problems, that would need more investigation by TAC.
Before doing anything, remind to perform backups!
Pierre -
Hi,
Suddenly I got this error in SCVMM 2012-R2 Roll-up 1:
When working with User-Roles (create/update) or assigning a Cloud :
"VMM encountered a critical exception and created an exception report....
search user forums for well-known failure root causes for self-help" (how sweet)... (if it's "well known", why not coding the exception handling correctly?)
The relevant part of the report might be this:
"SCVMM Version=3.2.7620.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=3.2.7620.0
Executable Name=vmmservice.exe
Executable Version=3.2.7510.0
Base Exception Target Site=140717670746840
Base Exception Assembly name=System.Data.dll
Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
Exception Message=Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again."
(side question: what does this mean: "Ensure that the SQL Server is ... configured correctly"?
I can say that :
SQL is configured by the book, that all services are running (did a reboot of VMM server too) and that all other VMM functions work OK. I don't believe that SQL is only used for user-roles...
Acting as Domain admin and VMM admin.
All updates are installed.
Please find the report @the and and a screen shot attached.
Thanks for any help.
Report.txt:
------------------- Error Report -------------------
Error report created 03.04.2014 15:07:56
CLR is not terminating
--------------- Bucketing Parameters ---------------
EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=3.2.7620.0
P3(assemblyName)=Utils.dll
P4(assemblyVer)=3.2.7620.0
P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery
P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException
P7(callstackHash)=4c11
SCVMM Version=3.2.7620.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=3.2.7620.0
Executable Name=vmmservice.exe
Executable Version=3.2.7510.0
Base Exception Target Site=140717670746840
Base Exception Assembly name=System.Data.dll
Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
Exception Message=Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again.
EIP=0x00007ffb74c75a88
Build bit-size=64
------------ exceptionObject.ToString() ------------
Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
--- End of inner exception stack trace ---
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.<>c__DisplayClass15.<AddObjectSharingData>b__14()
at Microsoft.VirtualManager.Engine.DbAccessHelper.<>c__DisplayClass4.<HandleInsertErrors>b__3()
at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleInsertErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo duplicateErrorInfo)
at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.AddObjectSharingData(SqlContext ctx, ITaskContext taskCtx, Guid objectId, CarmineObjectType objectType, AccessControlData accessData)
at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddSharingData(SqlContext ctx, ITaskContext taskContext, LockableObject resource, AccessControlData data)
at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddResourceSharing(SqlContext ctx, ITaskContext taskCtx, LockableObject resource, List`1 destinationRoles, UserOrGroup destinationUser)
at Microsoft.VirtualManager.Engine.AuthorizationManager.GrantResourceTask.RunSharingSubTask()
at Microsoft.VirtualManager.Engine.AuthorizationManager.ResourceSharingTaskBase.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.AuthorizationManager.UserRoleTaskHelper.RunNewAndSetUserRoleSubtasks(ITaskContext taskContext, List`1 queuedSubtasks, UserRoleData userRoleData)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
*** Carmine error was: DatabaseFailure (2605); SQLServer; 8144
[s#5cf2] ExecuteNonQuery()
[s#5c38] Task`1.SubtaskRun(this: (Task`1#b), TaskID: (guid) 0e1c3e3d-76de-4d8b-bfc2-cbcc400fadf4)
Full call stack from when the exception was thrown: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Microsoft.VirtualManager.DB.CarmineSqlException..ctor(SqlException sqlException)
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.<>c__DisplayClass15.<AddObjectSharingData>b__14()
at Microsoft.VirtualManager.Engine.DbAccessHelper.<>c__DisplayClass4.<HandleInsertErrors>b__3()
at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleInsertErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo duplicateErrorInfo)
at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.AddObjectSharingData(SqlContext ctx, ITaskContext taskCtx, Guid objectId, CarmineObjectType objectType, AccessControlData accessData)
at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddSharingData(SqlContext ctx, ITaskContext taskContext, LockableObject resource, AccessControlData data)
at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddResourceSharing(SqlContext ctx, ITaskContext taskCtx, LockableObject resource, List`1 destinationRoles, UserOrGroup destinationUser)
at Microsoft.VirtualManager.Engine.AuthorizationManager.GrantResourceTask.RunSharingSubTask()
at Microsoft.VirtualManager.Engine.AuthorizationManager.ResourceSharingTaskBase.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.AuthorizationManager.UserRoleTaskHelper.RunNewAndSetUserRoleSubtasks(ITaskContext taskContext, List`1 queuedSubtasks, UserRoleData userRoleData)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
--- SqlException details -----------------
System.Data.SqlClient.SqlException (0x80131904): Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
ClientConnectionId:b85c83f3-e87d-4ec4-af12-41b4dd6ad8cb
Error = 8144
Index #0
Source: .Net SqlClient Data Provider
Number: 8144
State: 2
Class: 16
Server: localhost\SCVMM
Message: Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
Procedure: prc_RBS_UserRoleSharedObjectRelation_Insert
Line: 0
--- Caller StackTrace -----------------
FileName:; Method:ExecuteNonQuery(); lineNo:0; ilOffset:178.
FileName:; Method:<AddObjectSharingData>b__14(); lineNo:0; ilOffset:12.
FileName:; Method:<HandleInsertErrors>b__3(); lineNo:0; ilOffset:11.
FileName:; Method:HandleInsertErrors(); lineNo:0; ilOffset:6.
FileName:; Method:AddObjectSharingData(); lineNo:0; ilOffset:312.
FileName:; Method:AddSharingData(); lineNo:0; ilOffset:23.
FileName:; Method:AddResourceSharing(); lineNo:0; ilOffset:464.
FileName:; Method:RunSharingSubTask(); lineNo:0; ilOffset:49.
FileName:; Method:RunSubtask(); lineNo:0; ilOffset:23.
FileName:; Method:Run(); lineNo:0; ilOffset:354.
FileName:; Method:RunNewAndSetUserRoleSubtasks(); lineNo:0; ilOffset:166.
FileName:; Method:RunSubtask(); lineNo:0; ilOffset:140.
FileName:; Method:Run(); lineNo:0; ilOffset:354.
FileName:; Method:SubtaskRun(); lineNo:0; ilOffset:221.
FileName:; Method:RunInternal(); lineNo:0; ilOffset:112.
FileName:; Method:Run(); lineNo:0; ilOffset:4.
FileName:; Method:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem(); lineNo:0; ilOffset:0.
FileName:; Method:Dispatch(); lineNo:0; ilOffset:162.
-------- exception.InnerException.ToString() -------
System.Data.SqlClient.SqlException (0x80131904): Procedure or function prc_RBS_UserRoleSharedObjectRelation_Insert has too many arguments specified.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
ClientConnectionId:b85c83f3-e87d-4ec4-af12-41b4dd6ad8cb
--------------- exception.StackTrace ---------------
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.<>c__DisplayClass15.<AddObjectSharingData>b__14()
at Microsoft.VirtualManager.Engine.DbAccessHelper.<>c__DisplayClass4.<HandleInsertErrors>b__3()
at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleInsertErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo duplicateErrorInfo)
at Microsoft.VirtualManager.DB.DelegatedAdmin.UserRoleDBHelper.AddObjectSharingData(SqlContext ctx, ITaskContext taskCtx, Guid objectId, CarmineObjectType objectType, AccessControlData accessData)
at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddSharingData(SqlContext ctx, ITaskContext taskContext, LockableObject resource, AccessControlData data)
at Microsoft.VirtualManager.DB.DelegatedAdmin.ResourceSharingHelper.AddResourceSharing(SqlContext ctx, ITaskContext taskCtx, LockableObject resource, List`1 destinationRoles, UserOrGroup destinationUser)
at Microsoft.VirtualManager.Engine.AuthorizationManager.GrantResourceTask.RunSharingSubTask()
at Microsoft.VirtualManager.Engine.AuthorizationManager.ResourceSharingTaskBase.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.AuthorizationManager.UserRoleTaskHelper.RunNewAndSetUserRoleSubtasks(ITaskContext taskContext, List`1 queuedSubtasks, UserRoleData userRoleData)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetUserRoleSubtask.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
------------- StackTrace from handler --------------
This is the call stack from where the exception was caught, not where it was thrown.
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
-------------------- Assemblies --------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Module=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Version=4.0.30319.34011
BuildType=retail
Product=Microsoft® .NET Framework
VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
Version=4.0.30319.34003
BuildType=retail
Product=Microsoft® .NET Framework
TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Skuhelper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Remoting, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
Version=4.0.30319.33440
Product=Microsoft® .NET Framework
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Engine.Adhc.Operations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.TaskRepository, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
ImgLibEngine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
VmmHelperHost, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
VirtualizationInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
NetworkServiceInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
ClusterUtil, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
VMWareImplementation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.AuthorizationManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.AuthorizationManagerTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Backup, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.BitBos, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
Version=6.3.9600.16394
BuildType=retail
Product=Microsoft (R) Windows (R) Operating System
WsManWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
SqmWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Deployment, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Placement.ResourceModel, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.ImgLibOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Engine.CustomProperties, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.VmOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.MomDal, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Engine.PxeServer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Placement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.P2VCommon, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
PatchExtractor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
Engine.ConfigurationProviders, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
GatewayInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
Version=6.3.9600.16384
BuildType=retail
Product=Microsoft (R) Windows (R) Operating System
Microsoft.CapacityManager.Modeling.Store.ModelLibrary, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.CustomPropertyTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.UMOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Tasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.ServiceOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
GoalState, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.CloudService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
WSManAutomation, Version=3.2.7510.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
wmiWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
Version=4.0.30319.33440
Product=Microsoft® .NET Framework
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
DB.DelegatedAdmin, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.DelegatedAdmin.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.DelegatedAdmin.dll
Version=3.2.7620.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
DB.TieredPerfCounters, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.TieredPerfCounters.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\DB.TieredPerfCounters.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.PhysicalMachine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PhysicalMachine.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PhysicalMachine.dll
Version=3.2.7515.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.UpdateManagement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UpdateManagement.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UpdateManagement.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.RunAs, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.RunAs.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.RunAs.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Engine.DB.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.DB.Scheduler.dll
Module=C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.DB.Scheduler.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
--------- Extra Data for Watson Report -------------
Error Reporting Enabled=True
*** Extra Data ***
Process ID = 1500 (0x05dc)
Managed Thread ID = 25
Native Thread ID = 1260 (0x04ec)
Thomas.I (quite honestly) am one of those folks that generally do not read the KB articles associated with a patch or UR or SP - as you don't expect details like have been put into this particular one.
But as Kristian pointed out - within that KB article is the SQL script that modifies / updates this SQL Stored Procedure.
http://blogs.technet.com/b/scvmm/archive/2014/01/29/how-to-update-scvmm-2012-r2-to-update-rollup-1.aspx
Needless to say, the feedback was given to MSFT that folks would overlook that this SQL script needed to be run. So we are just trying to help out.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will. -
How can I add a user Role member that is from a different domain
We are currently building out SCOM 2012 R2 to provide monitoring as a service to some of our customers. As of now we have the RMS on our own department's domain (Domain A) which we have full control of and we have a gateway server that is on the company
wide domain (Domain B) so that we can monitor other departments devices as the leverage this system.
Monitoring is working just fine on both domains and we are just working on fine tuning SCOM so that we can roll it out as a service we offer to our customers. One of the next steps we are working on before rolling it out is giving specific users access
to view only their own devices, dashboards, and groups. So I created a Read-Only profile and went to add a user to test it out, but that user is on Domain B and SCOM is unable to resolve this account. I'm seeing Event ID 26319 with Error Code 1332.
How can I get SCOM to discover devices on a different domain so that I can give them different permissions for accessing the Operations Console and/or Web Console? Is this possible?
Here is the Error I'm seeing.
Log Name: Operations Manager
Source: OpsMgr SDK Service
Date: 2/4/2015 1:11:59 PM
Event ID: 26319
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxxx.xxxx.xxxxxxxx.xxx
Description:
An exception was thrown while processing UpsertUserRolesV2 for session ID uuid:f3b4015e-9583-4237-b7a6-406826434553;id=40.
Exception message: The creator of this fault did not specify a Reason.
Full Exception: System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException:
Unable to resolve the user [email protected] associated with the user role. Error code 1332. Check your active directory configuration.).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="OpsMgr SDK Service" />
<EventID Qualifiers="49152">26319</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-04T21:11:59.000000000Z" />
<EventRecordID>172748</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>xxxxx.xxxx.xxxxxxxx.xxx</Computer>
<Security />
</System>
<EventData>
<Data>UpsertUserRolesV2</Data>
<Data>uuid:f3b4015e-9583-4237-b7a6-406826434553;id=40</Data>
<Data>The creator of this fault did not specify a Reason.</Data>
<Data>System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException:
Unable to resolve the user [email protected] associated with the user role. Error code 1332. Check your active directory configuration.).</Data>
</EventData>
</Event>
Thanks for any help I can get in resolving this issue.
JakeThe SCOM Management Server is in Domain A. I've tried it already and it has failed.
So just to clarify the method I used was to go to Administration>Security>User Roles. Then New User Role>Read-Only Operator. In the Create User Role Wizard I then gave the User Role a name, Clicked "Add" under User Role Members.
Then the Select Users or Groups window pops up and I changed the Locations from Domain A to Domain B and searched for the user, which it's able to find, then clicked "OK" to add it to the User Role members which it does just fine. On
the next page which is Group Scope I checked the one group I want this account to have access to and then click next. This brings me to Dashboards and Views where I click the radio button for "Only the dashboards and views selected in each tab are
approved" and chose the folder of dashboards I want this account to access and then click next. This brings me to the Summary and I click "Create". At this point it thinks for a moment then closes out the wizard but the new Read-Only
Operator does not appear. I then look in Event Viewer and see the Event I pasted above.
Am I doing something wrong here? Any guidance on how to get around this issue would be much appreciated.
Thanks,
Jake -
User, Role, Profile Synchronization Job Fails
Hi Gurus,
When I am scheduling a job the User, Role, and Profile Sync. job fails giving an error
"Cannot assign a java.lang.String object of length 53 to host variable 5 which has JDBC type VARCHAR(40)."
This happens when the synchronization happens with a portal system. We dont have a ruleset for the portal system, So if I put in a "*", it includes this system and results in the error, If I manually select all other system, it works fine. Is there any way to remove this error so that I can schedule the jobs without having to select every system manually.
Regards,
ChinmayaHi,
As per my knowledge, in the Portal system, you should perform only user sync. Roles/profile sync will not work since portal will have workset roles.
Please refer SAP Note 1168120, which may help you to understand the limitations
Hope this helps!!
Rgds,
Raghu
Edited by: Raghu Boddu on Nov 4, 2010 7:39 PM -
Passing User-Password - while invoking web service
Hello Gurus,
I am calling a web-service in that[i] Authentication is required..... If i am invoking through browser ,,,, I can pass User name and password....
But i am calling from Plain Java class.... How should i pass authentication parameterHi Suresh & Mukesh,
Suresh:
I started the service by going through the following path System Administrator > System Configuration > Service Configuration > Application > <SERVICE_NAME> in system configuration of portal
Mukesh: Here I don't have any proxy settings.
Can you please let me know where I'm going wrong.
Thanx,
Dheeram -
Solution Manager 4.0 Solution Monitoring User -Roles-Profiles for Satellite
Hi All,
I have installed Solution Manager 4.0 (OS -Linux ,Database - DB2) .
Now i need to connect solution manager to the R/3 4.6C
Satellite Systems (DEV, QAS ,PRD) for Solution Monitoring
and Service level Reporting .
I have read the configuration guide , but unable to get clear idea .
1) what users (alos type of user -Dialog , Service, Communication etc) do i need create in DEV , and Test in QAS for solution Monitoring .
2) what exact roles /profiles need to be assigned to these users in satellite systems .
3) what users/roles /profiles needs to be done in SOLMAN system
i have applied all the required plug ins and support packs
in satellite systems and solman 40 ..
Please advice . Your response will be a great help for me .
SatishHello Satish,
Just clarify, if u have meant connecting the satellite systems for EWA reports to be precise. Early watch Reports. If its is the case, then repond so that i can putin my inputs which may be helpful for you in this config.
Rgds,
Sri -
Windows Small Business Server User Roles - Missing or deleted
I have a small business server sbs 2008 r2.
The user roles, Standard, Administrator, Standard w/ admin are no longer available. I don't know why, or how. All I can guess is the previous IT admin, removed the roles, without permission.
I am wondering is there a way to simply get them back?As Robert says, You can create them manually.
http://technet.microsoft.com/en-us/library/cc794287(v=ws.10).aspx
KnowHow :
Behind the scenes, each User Role is created as a disabled user account in Active Directory, and these accounts are used as “Templates” for user creation. To view these, open Active Directory Users and Computers (from the
Administrative Tools start menu folder, or through Start à Type “dsa.msc” and press enter. Drill down to the SBSUsers folder under “<yourdomain>\MyBusiness\Users\” and you’ll see several disabled user accounts listed.
Binu Kumar - MCP, MCITP, MCTS , MBA - IT , Director Aarbin Technology Pvt Ltd - Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Maybe you are looking for
-
[SOLVED]Amarok 2.0.2 Build Fails..Help
Hello all I am trying to compile amarok 2.0.2 but it fails at 8%. I tried to install it from aur and manually but the same error: [ 4%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/generator.dir/moc_shellimplgenerator.o
-
Tables for 2LIS_18_ORDER/2LIS_18_I3HDR .
Hi Xperts, Tables for 2LIS_18_ORDER/2LIS_18_I3HDR is not available in Help.sap.com. So could you please provide me the tables for this data sources? Regards, Sap
-
Hello RMAN experts... Oracle 10gR2 Recovery Catalog database Oracle 10gR2 Client database We have just created a new Oracle 10.2.0.3 rman recovery catalog which works fine with our Oracle 9 and 10 (10.2.0.3) databases on both HP-UX and NT servers. Pr
-
NEED INFO REGARDING WORKFLOW MAILER &MAPI
HI, Need information our workflow mailer is configured with LOTUS NOTES now we wanna to move to OUTLOOK and we use IMAP4 protocol now we wanna to replace this with MAPI. So please let me know how to configure in OUTLOOK and also MAPI is a oracle cert
-
Focus Management Problems in JDK 1.4.0
Hallo all, I have a severe problem in focus management. I inherited an applet designed in JDK 1.2.2 using focus events to generate calls in the correcponding server application. Now I'm trying to port this applet to JDK 1.4.0 for some good reasons su