Runbook for decommission vm from service manager end portal

Hi,
I have created runbook for provision vm in VMware and it is working fine from service manager self service portal...
Now my next requirement is end user should be able delete the vm which he provisioned from the portal....
So, I have created one simple work flow for delete VM and only vm name is the input parameter...
Now when create the request offering user should get the list of vms which he provisioned...How can I get the list of vms in request offering?
Thanks in advance for your help...
Regards,
Sudheesh M A

Hi,
This blog post show you query based list
http://blogs.technet.com/b/servicemanager/archive/2011/11/08/request-offering-wizard-overview.aspx and this
http://www.buchatech.com/2013/11/service-manager-request-offering-multiselect-user-prompt/
First you need to make sure you have the machines in Service Manager CMDB. If it is domain joined servers they should be in the CMDB, from the Active Directory connector. Then you need to have a way to filter out which machines to show for a user. When a
end user browse to the SCSM portal you can access the username from the service offering by a varaible named Token Portal User Name. The Token: Portal User Name is in format CONTOSO\leni (DOMAIN\username)
You can use it to filter which servers to show, if you add DOMAIN\username on a attribut on each server. For example if you add the owner of the VM to each server, in format DOMAIN\username you can then configure the query based list to show list all servers
were the notes field or owners field is equal to Token Portal User Name.
Once you have all servers in the CMDB and servers has owner in correct format you can start thinking about new runbooks.
Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

Similar Messages

  • Import System Center Monitoring Pack for System Center 2012 - Service Manager into SCOM 2007 R2

    I would like to know if there is SCSM 2012 SP1 MP available for SCOM 2007 R2 ?
    I downloaded the "System Center Monitoring Pack for System Center 2012 - Service Manager" MP from
    http://www.microsoft.com/en-us/download/details.aspx?id=29980 and then import into SCOM 2007 R2, however, I found that there are some MP dependencies issue.
    For example, the "Microsoft System Center Service Manager Library" MP requires "Microsoft SystemCenter Library" and "System.Health.Library" MPs of version 7.0.8427.0. Howerver, the "Microsoft SystemCenter Library"
    and "System.Health.Library" MP in SCOM 2007 R2 is of version 6.1.7221.0

    Import Management Pack from DVD disk SCOM 2012 R2
    SW_DVD5_Sys_Ctr_2012_R2_English_OpsMgr_MLF_X19-18307.ISO\ManagementPacks
    Have a nice day !!!

  • Cannot Start Workflow Service from Service Manager

    Hello Professionals,
    I have a problem with starting Workflow service from Service manager,
    I have configured all the settings and connection to database was successful.
    However, after closing the settings window and try to start the workflow service, i got "Cannot start Service; configuration is not correct or cannot connect to database"
    What may cause this issue?
    Thanks and Best Regards,

    Hi,
    Please check SAP note:
    2019304 - Workflow server connection stops if many workflow
    instances with script tasks run simultaneously
    Thanks & Regards,
    Nagarajan

  • An advanced solution for sending email from Solution Manager (or CRM)

    Hi all,
    did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
    <a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
    I´ve got some problems:
    I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
    I´ve got some errors:
    In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
    - method string_to_soli does not exist. There is a method xstring_to_solix.
    When I change to method xstring_to_solix
    - "L_STRING" is not type-compatibly to "IP_XSTRING".
    In method ZSM_ATTACH_PHIO_DOCU:
    - field DOCUMENT is unknown
    Regadrs
    Andy

    Hi all,
    did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
    <a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
    I´ve got some problems:
    I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
    I´ve got some errors:
    In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
    - method string_to_soli does not exist. There is a method xstring_to_solix.
    When I change to method xstring_to_solix
    - "L_STRING" is not type-compatibly to "IP_XSTRING".
    In method ZSM_ATTACH_PHIO_DOCU:
    - field DOCUMENT is unknown
    Regadrs
    Andy

  • Get user comments from Service Manager 2012

    Hi all,
    For some Service Manager customizations, I want to "export" the user comments from incident tickets to an email message. I want to do this with Orchestrator.
    I was thinking to create a runbook with the follow components:
    - Get Incident
    - Get relationship (Related class = Trouble Ticket User comments)
    In the last activity "send mail", I want to add the user comments. But I can't find the user comments from the Published data. (see print screen) 
    Know anyone of you if it is possible to get the user comments? If Yes, How to do that?

    Hi!
    Yes, it is possible. "Get Relationship" does just exactly that, it only gets the relationship between the Incident object and the Trouble Ticket User Comment object. After you have retrieved this, you then need to get the actual related object.
    To do that, you Get Object, the class you want (in this case Trouble Ticket User Comment), then make sure you add a filter to search for the "Related Object Guid" from the published data of the Get Relationship.
    Make sure you select the "Related Object Guid"! It is a very common mistake to choose "SC Object Guid", but that is just the guid of the relationship...not the object you want ;)
    A bit tricky to understand at first, but easy enough after you get the hang of it.

  • Pass a value to Runbook by sending email to Service Manager

    Is it possible to send an email to Service Manager with a value in either the subject or message body, trigger a service offering, and then pass that value to a Orchestrator Runbook?
    Currently, I can send an email that is answered by the Exchange Connector, it kicks off my Orchestrator Runbook, but I need to pass it a value.  How is this possible by sending an email?
    Thanks
    Paul S

    How do I setup the Service Offering to pass the Work Item Title and or description?
    Do I put it in the above mapping?
    When I select the above, it won't launch my run book, if I leave it blank, the run book launches, but fails as it's looking for an account ID...  In my subject line of the email I would send the <USERID> for example (without the brackets)
    Paul S

  • System & Installation Numbers are missing from Service Manager

    Hi All,
    We have just upgraded a system from 2007A to 8.8 and when you start the Service Manager the System and Installation Numbers are missing. Any idea as to why?
    Best regards
    Earl

    Hi,
    Please note that this is on account of Number Range Buffering in SAP. You can check for itsu2019 settings in T.Code: SNRO for Object: RP_REINR.
    This is an SAP standard functionality and, there is no need to touch these settings. You can refer the below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/95/3d5540b8cdcd01e10000000a155106/content.htm
    Regards,
    Kiron Kumar T.

  • Could not create VM from Service Management Portal API

    Hello,
    I need to create a VM using the SMP API.
    Sending the following request: 
    https://servername:30006/subscriptionID/services/systemcenter/vmm/VirtualMachines
    Accept-Encoding: identity
    Content-Length: 3132
    x-ms-principal-id: 
    Content-Type: application/json;odata=verbose
    Accept: application/json;odata=verbose
    User-Agent: Boss/0.1 
        "CloudId": "892f3c2e-7d43-4340-9b3c-99269885cdf6",
        "ComputerName": "BOSSTest",
        "Name": "BOSS Temp Machine Name",
        "StampId": "5dfdab3b-b3c7-45c6-bfc4-a95636c4542e",
        "VMTemplateId": "39153713-aa56-4f68-a58f-6687a1272fd2",
        "Description": "Test Automation",
        "DiskIO": null,
        "Dismiss": null,
        "Domain": null,
        "DynamicMemoryBufferPercentage": null,
        "DynamicMemoryDemandMB": null,a
        "DynamicMemoryEnabled": null,
        "DynamicMemoryMaximumMB": null,
        "Enabled": null,
        "ExcludeFromPRO": null,
        "ExpectedCPUUtilization": null,
        "FailedJobID": null,
        "FullName": "",
        "HardwareProfileId": null,
        "HasPassthroughDisk": null,
        "HasSavedState": null,
        "HasVMAdditions": null,
        "HeartbeatEnabled": null,
        "HighlyAvailable": null,
        "IsFaultTolerant": null,
        "IsHighlyAvailable": null,
        "IsUndergoingLiveMigration": null,
        "LastRestoredCheckpointId": null,
        "LibraryGroup": null,
        "LimitCPUForMigration": null,
        "LimitCPUFunctionality": null,
        "LinuxAdministratorSSHKey": null,
        "LinuxDomainName": null,
        "LocalAdminPassword": "!!123abc",
        "LocalAdminRunAsAccountName": null,
        "LocalAdminUserName": "Administrator",
        "Location": null,
        "MarkedAsTemplate": null,
        "Memory": null,
        "MemoryAssignedMB": null,
        "MemoryAvailablePercentage": null,
        "MemoryWeight": null,
        "ModifiedTime": null,
        "MostRecentTaskId": null,
        "NetworkUtilization": null,
        "[email protected]": "Collection(VMM.NewVMVirtualNetworkAdapterInput)",
        "NumLock": null,
        "OperatingSystem": null,
        "OperatingSystemShutdownEnabled": null,
        "Operation": null,
        "OrganizationName": null,
        "Owner": {
            "RoleID": null,
            "RoleName": null,
            "UserName": null,
            "odata.type": "VMM.UserAndRole"
        "Password": null,
        "Path": null,
        "PerfCPUUtilization": null,
        "PerfDiskBytesRead": null,
        "PerfDiskBytesWrite": null,
        "PerfNetworkBytesRead": null,
        "PerfNetworkBytesWrite": null,
        "ProductKey": null,
        "Retry": null,
        "RunAsAccountUserName": null,
        "RunGuestAccount": null,
        "ServiceDeploymentErrorMessage": null,
        "ServiceId": null,
        "SharePath": null,
        "SourceObjectType": null,
        "StartAction": null,
        "StartVM": true,
        "Status": null,
        "StatusString": null,
        "StopAction": null,
        "Tag": null,
        "TimeSynchronizationEnabled": null,
        "TimeZone": null,
        "TotalSize": null,
        "Undo": null,
        "UndoDisksEnabled": null,
        "UpgradeDomain": null,
        "UseCluster": null,
        "UseLAN": null,
        "UserName": null,
        "VMBaseConfigurationId": null,
        "VMCPath": null,
        "VMConfigResource": null,
        "VMHostName": null,
        "VMId": null,
        "VMResource": null,
        "VMResourceGroup": null,
        "VirtualHardDiskId": null,
        "VirtualMachineState": null,
        "VirtualizationPlatform": null,
        "WorkGroup": null,
        "odata.type": "VMM.VirtualMachine"
    i only get the response: 
    500 INTERNAL SERVER ERROR
    Date: Fri, 29 Nov 2013 13:21:46 GMT
    X-Content-Type-Options: nosniff
    Server: Microsoft-IIS/8.0, Microsoft-IIS/8.0
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET, ASP.NET
    Cache-Control: no-cache
    DataServiceVersion: 1.0;
    request-id: 853d7c54-ece5-0000-ff09-3e85e5ecce01
    Content-Length: 0
    When i look at the Service Management logs i found this: 
    Resource provider unexpected exception for request with verb 'POST', operation name 'Outgoing tenant proxy call', request URI 'https://svtdcspf01.tdc.eb-grp.net:8090/SC2012/VMM/a43cf9d2-3353-4611-969b-d45616bfe212/Microsoft.Management.Odata.svc/VirtualMachines',
     version '', client request Id '', server request Id '31098b27ca9f4301a7b091e4d6c4db3e.2013-11-29T13:21:44.6146313Z', status code 'InternalServerError', reason 'Internal Server Error', body '{"error":{"code":"","message":{"lang":"de-AT","value":"An
    error occurred while processing this request."},"innererror":{"message":"<ErrorInfo>\r\n  <DisplayableErrorCode>11418</DisplayableErrorCode>\r\n  <ErrorType>Error</ErrorType>\r\n  <Problem>You
    have no access rights for at least one of the required objects for this operation.</Problem>\r\n  <RecommendedActionCLI>Apply the Virtual Machine Manager administrator to obtain the required
    permissions.</RecommendedActionCLI>\r\n  <DetailedCode>None</DetailedCode>\r\n  <SymbolicErrorCode>ObjectsInaccessible</SymbolicErrorCode>\r\n</ErrorInfo>","type":"System.Management.Automation.RuntimeException","stacktrace":"
      at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)","internalexception":{"message":"<ErrorInfo>\r\n
     <DisplayableErrorCode>11418</DisplayableErrorCode>\r\n  <ErrorType>Error</ErrorType>\r\n  <Problem>You have no access rights for at least one of the required objects for this operation</Problem>\r\n  <RecommendedActionCLI>Apply
    the Virtual Machine Manager administrator to obtain the required permissions.</RecommendedActionCLI>\r\n  <DetailedCode>None</DetailedCode>\r\n  <SymbolicErrorCode>ObjectsInaccessible</SymbolicErrorCode>\r\n</ErrorInfo>","type":"Microsoft.SystemCenter.Foundation.Common.VMMErrorException","stacktrace":""}}}}'.
    Can someone help me? I have no idea which permissions i need!
    BR and Thanks in advice!
    Emanuel 

    Just to make sure, have you done this step stated at the link below?
    http://technet.microsoft.com/en-us/library/dn457792.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Milton Goh
    MCSE, MCSA, MCITP, MOF, ITIL, AIIM SharePoint Specialist
    Blog |
    Twitter

  • Creating a connection to Orchestrator from Service manager

    HI,
       i have finish installing System Center Orchestrator 2012 R2 and i was trying to integrate Configuration Manager and Service Manager with Orchestrator, however i ran into a problem when i was trying to access the Orchestrator Web Service URL
    for example  http://someserver:100/Orchestrator2012/Orchestrator.svc
    and its showing the following error for the above URL,
    Server Error in '/' Application.
    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL
    and make sure that it is spelled correctly. 
    Requested URL: /Orchestrator2012/Orchestrator.svc
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
         I was wondering if there is some configurations that needs to be done on Orchestrator or did i miss something out in the installation part of the Orchestrator.
        Another question that i had was that how does the two way communication works with CM and Orchestrator directly?     How does the two way communication happens with CM and SM?
    Thanks.

    Hi,
    It happens sometimes. The Orchestrator's web service isn't functional for some reasons. For your other questions I can say that SM connects to Orchestrator using the Orchestrator's web service. It seems that Orchestrator connects to SM using SM's API.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Service Manager and Portals

    I have a question :
    Have I to use a Service manager (registring it in weblogic
    properties ) to implements a portal that manages users autentication in
    a "main" jsp (with WLPS tags) ?.
    If i do that I've to assign an ACL to Portal Service Manager servlet
    to everyone (isn't it?) .
    If i'm right (¿what's the utility of Service Manager ?).
    thanks

    Hello Mig,
    You have to use the PortalServiceManager if you want to create a portal.
    You can create a personalized application that is not a portal that uses the
    JspServiceManager, and you could create a personalized application that does
    not use any servicemanager servlet at all (but I wouldn't recommend it).
    The PortalServiceManager extends JspServiceManager. The servicemanagers
    do not authenticate users. You can authenticate users with the <um:login>
    JSP tag, or do it yourself using the underlying weblogic security realm,
    which you set with "weblogic.security.realmClass" in weblogic.properties.
    If you are worried about anonymous users seeing things in the portal that
    you don't want them to see, then make your portlets "login required" using
    the administration tools.
    The PortalServiceManager manager init() method takes care of configuring
    your portal to set up autologin, a default group for inheritance, session
    timeout, and other things. Also, the use of a servicemanager allows you to
    write rules that use HttpSession attributes. The attributes are registered
    using the property management tools and the values are set using
    HttpSession.setAttribute().
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • How to reinstall Lightroom for Creative Cloud from Application Manager

    Lightroom would not launch from the Lightroom icon, so I tried to locate Lightroom and start it start it from my list of programs. Seemed to be a problem and still wouldn't start. I then removed Lightroom from Control Panel by "Add, Remove Programs". I wrongly presumed this would change the status in Adobe Application Manager from "installed".
    Please advise how I can re-install Lightroom with my Creative Cloud Membership. I think it would have been much easier to have a re-install button next to the product for situations like this, as the Application Manager doesn't seem to recognise uninstalled programs.
    Any help would be appreciated.  Also, please advise what I should do if this happens again, if different from what I mentioned above.
    Thanks,
    Julie

    I wrongly presumed this would change the status in Adobe Application Manager from "installed".
    It should. What specific error did you get with your LR? For anything else you might try running the Creative Suite Cleaner Tool and let it reinstall things...
    Mylenium

  • Service Manager 2012 Portal Requests with 2 stages of information

    Hello,
    We are automating some of our procedures using SCSM 2012 SP1 & SCO 2012 SP1 and want to use the portal to process requests.
    The issue is that when requests are made the person requesting this does not always have all (or even the correct) information to be able to run the automation jobs via orchestrator.
    Using a review activity helps but if this is rejected because of a small error we do not want the requester to fill out the whole form again because of a small mistake.
    What we would like to do is have a 2 stage portal process that once basic information has been entered another team can pick this up and add to and amend the information and add additional information before starting the automation process.
    Please let me know if this is possible via the portal?
    Thanks in advance
    Bob

    Hey
    This is not possible with the out of the box options. One way to go could be this:
    1. First team creates a request on the portal (SR1)
    2. Second team gets informed to "add" information to the request
    3. Second team creates a new request on the portal (SR2)
    4. Based on some logic, SR1 and SR2 are related to each other so that automation can get the information of both SRs
    We have built multiple complex multi-step request with this approach and it works perfect. Bt it needs proper planning before you start building :)
    Cheers
    Marcel
    Marcel Zehner // Blog --> http://marcelzehner.ch // Twitter --> @marcelzehner // Business --> http://www.itnetx.ch

  • Link to download SCA file from service market place for MDM adapter

    Hello All,
    Can anybody give me the link to download the SCA file for MDM adapter from service market place.
    Regards,
    Loveena

    https://websmp108.sap-ag.de/swdc -> search for all categories
    use the search term MDM adapter and you will find the required Hits ...

  • Outlook Integration with Service Manager

    Is there some integration between Outlook and service manager.  i'm looking to create incidents and requests from a specific e-mail queue.

    Hi,
    You may use Exchange Connector, please go through articles below for more details about Exchange connector setting up:
    http://blogs.technet.com/b/infratalks/archive/2012/08/16/step-by-step-installation-of-exchange-connector-3-0-rc-for-system-center-2012-service-manager.aspx
    http://www.msexchange.org/articles-tutorials/exchange-server-2010/monitoring-operations/configuring-exchange-connector-service-manager-2012.html
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Upgrading SC 2012 Service Manager SP1 to System Center 2012 R2 - ERROR

    Hi all
     Problems when upgrade from Service Manager in Microsoft System Center 2012 Service Pack 1 (SP1) to Service Manager in System Center 2012 R2 in test lab.
     I have two servers:
    SM - Windows 2012, SQL 2012 SP1, SCSM 2012 SP1 CU2
    DW - Windows 2012, SQL 2012 SP1, SCSM 2012 SP1 CU2.
    I successfully installed SCSM 2012 R2 on both servers.
    After restart data warehouse jobs  receive error in Operation Manager log on DW.
    Log Name:      Operations Manager
    Source:        Data Warehouse
    Date:          18.10.2013 20:15:48
    Event ID:      33503
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      DW2012.contoso.loc
    Description:
    An error countered while attempting to execute ETL Module:
     ETL process type: Transform
     Batch ID: 22989
     Module name: TransformEntityRelatesToEntityFact
     Message: UNION ALL view 'DWRepository.dbo.EntityRelatesToEntityFactvw' is not updatable because a primary key was not found on table '[DWRepository].[dbo].[EntityRelatesToEntityFact_2013_May]'.
     Stack:    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.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       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)
       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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader()
       at Microsoft.SystemCenter.Warehouse.Utility.SqlHelper.ExecuteReader(SqlConnection sqlCon, CommandType cmdType, String cmdText, SqlParameter[] parameters)
       at Microsoft.SystemCenter.Warehouse.Etl.StoredProcedure.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Warehouse.Etl.TransformModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser, Int32 batchSize)
       at Microsoft.SystemCenter.Warehouse.Etl.TransformModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Etl.ETLModule.OnDataItem(DataItemBase dataItem, DataItemAcknowledgementCallback acknowledgedCallback, Object acknowledgedState, DataItemProcessingCompleteCallback completionCallback, Object completionState)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Data Warehouse" />
        <EventID Qualifiers="32768">33503</EventID>
        <Level>3</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-10-18T14:15:48.000000000Z" />
        <EventRecordID>13089</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>DW2012.contoso.loc</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Transform</Data>
        <Data>22989</Data>
        <Data>TransformEntityRelatesToEntityFact</Data>
        <Data>UNION ALL view 'DWRepository.dbo.EntityRelatesToEntityFactvw' is not updatable because a primary key was not found on table '[DWRepository].[dbo].[EntityRelatesToEntityFact_2013_May]'.</Data>
        <Data>   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&amp; dataReady)
       at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       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&amp; task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp; task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader()
       at Microsoft.SystemCenter.Warehouse.Utility.SqlHelper.ExecuteReader(SqlConnection sqlCon, CommandType cmdType, String cmdText, SqlParameter[] parameters)
       at Microsoft.SystemCenter.Warehouse.Etl.StoredProcedure.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Warehouse.Etl.TransformModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser, Int32 batchSize)
       at Microsoft.SystemCenter.Warehouse.Etl.TransformModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Etl.ETLModule.OnDataItem(DataItemBase dataItem, DataItemAcknowledgementCallback acknowledgedCallback, Object acknowledgedState, DataItemProcessingCompleteCallback completionCallback, Object completionState)</Data>
      </EventData>
    </Event>
    Log Name:      Operations Manager
    Source:        Data Warehouse
    Date:          18.10.2013 20:15:49
    Event ID:      33502
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      DW2012.contoso.loc
    Description:
    ETL Module Execution failed:
     ETL process type: Transform
     Batch ID: 22989
     Module name: TransformEntityRelatesToEntityFact
     Message: UNION ALL view 'DWRepository.dbo.EntityRelatesToEntityFactvw' is not updatable because a primary key was not found on table '[DWRepository].[dbo].[EntityRelatesToEntityFact_2013_May]'.
    Log Name:      Operations Manager
    Source:        Data Warehouse
    Date:          18.10.2013 20:15:49
    Event ID:      33502
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      DW2012.contoso.loc
    Description:
    ETL Module Execution failed:
     ETL process type: Transform
     Batch ID: 22989
     Module name: TransformEntityManagedTypeFact
     Message: UNION ALL view 'DWRepository.dbo.EntityManagedTypeFactvw' is not updatable because a primary key was not found on table '[DWRepository].[dbo].[EntityManagedTypeFact_2013_May]'.
    How to fix this error?

    For anyone else, you may need to reset any failed jobs statusid back to 3 after you run the script from 
    http://technet.microsoft.com/en-us/library/dn299381.aspx (first
    issue)
    and after that run your jobs in correct order.
    I had to reset the statusid for DWMaintenence and common.load.
    Aengus

Maybe you are looking for

  • Macbook pro Hard drive replacement issue, won't read new drive.

    I have a Macbook pro Core 2 Duo. The 2nd generation Macbook pro. I am trying to install a 640GB Western Digital Scorpio Blue hard drive. I have formatted the new drive to Mac OS Extended (Journaled) with the GUID table though an external USB enclosur

  • Primary index

    Hi, I have created one table(internal table) in se11 and also have assigned some fields are as primary keys.I know that when we define primary key for one field the system will create primary index for that as ' 0 '.now my question is how to see and

  • Profile manager will not open in windows 7

    I am trying to create a new profile on a new ASUS netbook

  • E-Rec Portal Configuration

    Dear Friends, Please do let me know how to deploy E-Rec in the portal.  Name of the E-Rec business pacakge to be deployed in Enterprise Portal.? We are using ECC 6.0 and EP 6.0. Thanks in advance Regards, Sananthanan

  • Why isn't it possible to make comments and notes in protected PDF's?

    Many of the PDF's we use in the lectures in my school are protected with a password, and therefore I can't make comments and notes in the files when I've downloaded them, unlike in Acrobat Reader for PC. This is very inconvenient. Can't this easily b