When trying to create a new resource type in Symantec Management Console (Settings > All Settings > Notification Server > Resource and Data Class Settings > Resource Types), the error "Error processing context menu item: An error occurred calling web service.undefined." occurs.
Error processing context menu item: An error occurred calling web service.undefined.
Views that include the name "New_Resource_Type" already exist in the Symantec_CMDB database. As CMDB should create a new resource type named "New_Reource_Type_2" in "New_Resource_Type" already exists, it is unknown why it how this can occur.
When a new resource type is created, it creates nine new views in the Symantec_CMDB database with the name "New_Resource_Type". These are:
Note: When a user changes the new resource name, these views all change to the new name as well, replacing "New_Resource_Type" with the new name.
The solution is to drop the views of any "New_Resource_Type" views.
- Determine what "New_Resource_Type" views exist by running the following SQL script in Microsoft SQL Server Management Studio:
WHERE name like 'vRM%New_Resource_Type%'
- If any matches are returned for "New_Resource_Type" (excluding any additional matches, such as for "New_Resource_Type_2", etc.), drop the views by running the following SQL script in Microsoft SQL Server Management Studio:
DROP VIEW [dbo].[<view name>]
Where "<view name>" is the name of the specific view to drop. This may need to be done up to nine times, depending on how many are found from the above list.
- In the Symantec Management Platform console, create a new resource type. This now works correctly.
Unable to Create Resource Type from a Custom Security Role