Project Server Event Handler Installer

Hi!
I created my first Event Handler to the Project Server and my question is how can I create installer to this solution?
I'm looking for the best way to install solution to other farm, but I'm new in Project Server.
Please help!
Thanks,
Mykie

Hi Mykie,
To deploy a Server Side Event Handler, you have to do 2 things:
Install the Assembly in the Global Assembly Cache (GAC)
Link your assembly to the Event in Project Server
For the first operation, I would recommand to create a SharePoint WSP solution. It's the simplest way to deploy assemblys in a farm. Another possibility is to use GACUTIL to register the assembly, but it's not always possible in a production environment.
For the second operation, you have to associate your assembly to the Server Side Event:
(detailed procedure here:
http://technet.microsoft.com/en-us/library/gg982976(v=office.15).aspx )
On the SharePoint Central Admin / Application Management / Manage Service Application / PWA /  Manage / Operational Policies/ Server Settings/ Server Side Event Handler
Select the correct Event Handler
Copy and paste the assembly info: fully qualified name, order...
After that, the Handler is operationnal.
Hope it helps,
Sylvain

Similar Messages

  • Project Server 2010 - PDP updates not triggering Project Server Events

    Hello,
    We're experiencing an issue whereby when a user updates a Project PDP, no update is triggered and reflected in the reporting database.
    My question is, which Server Side Event Handler is responsible for picking up PDP changes (i.e. Changes to Enterprise Custom Fields)?
    Can someone please assist?
    Thanks in advance.
    What we have configured and is working as expected...
    Event: Reporting
    Event Name: ProjectChanged, ProjectCreated, ProjectDeleted

    There may be multiple reasons for this.
    1. SharePoint timer Job is malfunctioning:
    For this try restarting SharePoint timer Job. through SP Powershell:
    Stop SPTimerv4 , Start SPTimerv4
     2: SharePoint Cache is full:
    Reset SharePoint Cache by deleting all XML files ( except cache.ini
    )  in SharePoint Cache located in System Drive\ProgramData\Microsoft\SharePoint\Config\<GUID>
    3: Check if Microsoft Project Server Event Service is running in Services.msc, try restarting it.

  • Microsoft Project Server Event/Queue Services has been disable

    Hi after update Service pack 2 and December 2013 CU,Microsoft Project Server Event/Queue Services has been disable . I have manually change and start  but after some time again same thing happen.
    Kinldy let me know the process hwo to resolve this issue.
    I have fallow the below link but this is not impactable on my envirnment.
    http://blogs.technet.com/b/projectsupport/archive/2012/12/26/project-server-2010-my-queue-service-keeps-getting-disabled.aspx
    Help is appricable.
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Muelder,
    Yes share point Project Appl service is enabled.
    Now i have resolved issue with the help of below script.
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectQueueService14"}).Instances | % {$_.Id} | Stop-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectEventService14"}).Instances | % {$_.Id} | Stop-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectQueueService14"}).Instances | % {$_.Id} | Start-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectEventService14"}).Instances | % {$_.Id} | Start-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectQueueService14"}).Instances | ft -AutoSize
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectEventService14"}).Instances | ft -AutoSize
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

  • Do I *really* need a Service Connection Point in AD to complete a Project Server 2010 SP2 installation?

    Hi all,
    I have installed Project Server 2010 SP2 and run psconfig.exe
    PSCONFIG is failing because it cannot set up a Service Connection Point in AD. I've checked in AD and the contains 'Microsoft SharePoint Products' does not exist. All the resolutions I can find suggest adding the container into AD.
    The issue I have is that I have no control of the AD, and adding containers will take lengthily negotiation.
    Is there any way of completing the installation and getting my site back without adding the container into AD?
    Thanks in advance.

    other solutions
    1) check timer service see if it is running
    http://www.jonthenerd.com/2011/06/30/sharepoint-2010-sp1-upgrade-error-unable-to-create-a-service-connection-point-in-the-current-active-directory-domain/
    2) check UAC (and the rest of the technet answers - some are listed below)
    http://social.technet.microsoft.com/Forums/en-US/94a8bb64-e0ea-493f-8e29-01347b1fc6c7/psconfig-fails-failed-to-upgrade-sharepoint-products
    3) My workaround:I
    run once again the command „PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures“  in
    the “Bin” Folder as an administrator console session.In the moment I saw the staus “Configurationtask 5 of 6 is executed”
    I start to run the command “net start SPTraceV4 & net start SPWriterV4 & net start SPAdminV4 & net start SPSearch4 & net start SPTimerV4” in a parallel administrator console session and after that the configuration task finished successfully.
    http://social.technet.microsoft.com/Forums/en-US/94a8bb64-e0ea-493f-8e29-01347b1fc6c7/psconfig-fails-failed-to-upgrade-sharepoint-products
    4) Try running the psconfig.exe command a second time
    5) had the same issue and called Microsoft support.  Here is the fix:
    Stop the "SharePoint 2010 Timer" service
    Delete ONLY the xml files from C:\ProgramData\Microsoft\SharePoint\Config\216f8013-b78b-4e5b-8631-3a5f4c7277e8
    Note: Do NOT delete the cache.ini file in this folder
    Edit cache.ini and change to "1"
    Start "SharePoint
    2010 Timer" service
    Run psconfig again:  PSConfig.exe -cmd upgrade -inplace b2b -wait -force
    6) Initially I tried http://support.microsoft.com/kb/2009272 but
    it did not help (I re-implemented later).
    I re-registered the DLL’s as perhttp://social.technet.microsoft.com/Forums/da/winservergen/thread/b4bd0deb-45d0-4661-8c50-a2b45db41103 from
    NareshD.  I do not believe this is necessary unless there is a corruption in the system but I am noting here just
    in case.
    I tried to run The PSConfig but it was failing:  I
    had to do the following in order to make it finish successfully:
    (from same page at http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/thread/94a8bb64-e0ea-493f-8e29-01347b1fc6c7/)
    On the migrated SBS2011 PSCDiagnostic Log I found no entry to detect or start the services SPWriterServiceInstance and SPTimerServiceInstance.
    I run once again the command „PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent
    -install -cmd installfeatures“ in the “Bin” Folder as an administrator console session.
    In
    the moment I saw the status “Configuration task 5 of 6 is executed” I
    start to run the command “net start SPTraceV4 & net start SPWriterV4 & net start SPAdminV4 & net start SPSearch4 & net start SPTimerV4” in a
    parallel administrator console session and after that, the configuration task finished successfully.  (I
    just opened another cmd window and copy/paste the sequence below when I saw the status “Configuration Task x of y” on the screen:
    net start SPTraceV4 
    net start SPWriterV4 
    net start SPAdminV4 
    net start SPSearch4 
    net start SPTimerV4
    -Note SPSearch4 is disabled in our system…
    Very awkward but it worked…
    I implemented http://support.microsoft.com/kb/2009272 again.
    Backup started working with no errors.

  • Differences Between Optimizer Solution and Planner Solution in Project Server Events

    Dear All,
    Does anyone know the differences between Optimizer Solution and Planner Solution in Project Server? 
    In http://msdn.microsoft.com/en-us/library/office/gg204879(v=office.15).aspx and http://msdn.microsoft.com/en-us/library/office/gg200978(v=office.15).aspx, they stated same definitions for both Optimizer Solution and Planner Solution.
    Thank you.

    Not entirely sure, but I'd guess they are the same.  This is probably a relic of the old Portfolio Server which had Planner and Optimizer as separate modules.  My guess is that some of that got grandfathered in to Project Server, but due
    to functionality creep, ended up meaning pretty much the same thing.
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

  • ProjectUID selected from the reporting database from Project Server OnPublished event is taking some delay

    Hi all,
    I'm invoking a stored procedure from the reporting database from the project server onPublished event.  I'm having some issues in getting the details of that particular project from the published event handler.  This i noticed that there is some
    delay is taking place in moving the data(project uid )  from the published to the reporting database .
    My stored procedure select statement is as follows:
    SELECT ProjectUID, ProjectName FROM MSP_EpmProject_UserView
     WHERE ProjectUID=value
    This stored procedure is invoked from the onPublished event of the project server event handler where that particular projectuid is passed in that stored procedure.I have noticed that some delay is taking palce to move  the data into the reporting database. 
    My stored procedure got invoked from the onPublished event of the project server event handler before the delay is complete.  So the row selected from the stored procedure is alwys zero (0).  Is there any other method to wait for repoting database
    to get refreshed. Please help me .

    Hi sabithad,
    The issue you are facing is because of the conflict of permissions, event handlers always works through administrative user credentials whereas the project is open in edit mode by the logged-in user. And you are tyring to update custom field at the back
    end with Administrative credentials, while project queue is in process by logged-in users credentials. Its not gonna work this way :) 
    The best option is to use Javascript on your PDP using CEWP, you can either build your complete logic in JavaScript and place that code on your PDP. OR you can use the combination of JavaScript and PSI and create a webpart to be placed on PDP.
    below blog link willgive you directions to go ahead with, but for sure the solution to your query is
    JavaScript :)
    http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/
    hope this helps.
    Khurram Jamshed - MBA, PMP, MCTS, MCITP (
    Blog, Twitter, Linkedin )
    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.

  • Project Server 2010 - Triggering event handler on click event of PDP

    Hi,
    We are trying to trigger an event handler/ process on click event of PDP page (similar to Project Details Page). Users do not have rights to checkin the project.
    So just on click event of pdp - an event handler or process should trigger.
    Could you please suggest me best possible way for the same? Thanks.
    Best Regards,
    Abhijit
    +91 8600577750

    There may be multiple reasons for this.
    1. SharePoint timer Job is malfunctioning:
    For this try restarting SharePoint timer Job. through SP Powershell:
    Stop SPTimerv4 , Start SPTimerv4
     2: SharePoint Cache is full:
    Reset SharePoint Cache by deleting all XML files ( except cache.ini
    )  in SharePoint Cache located in System Drive\ProgramData\Microsoft\SharePoint\Config\<GUID>
    3: Check if Microsoft Project Server Event Service is running in Services.msc, try restarting it.

  • Error creating Project Server 2013 Server Side Event Handlers

    Hi,
    I have created a WCF service and deployed it successfully.  Now when trying to add a new event receiver for Project CheckIn event, nothing happens.  Checking the service using Services panel, it shows Microsoft Project Server Events Service 2013
    is started.  I check the ULS logs and see exception:
    System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'pub.MSP_ADMIN_SetEventReceivers15RTM'
    I have service pack 1 installed for Project Server and SharePoint, version 15.0.4571.1502.  Any ideas?  I see there is a stored procedure without '15RTM' suffixed in PWA database.  I read another post on the forum relating to this same issue
    but didn't want to create each additional item in the DB (table, data type, stored procedure, etc).  Am I missing something?  Looking for suggestions here.  Your help is always appreciated.
    Thanks,
    kashif

    Hi Gokulraj,
    What permission mode are you using in project server 2013? Is it "project permissions mode" or "SharePoint permissions mode"?
    If you are using "project permissions mode", then go to Server Settings -> Manage users and click on the user with "team member" permissions to edit.
    In the next page, expand "Global Permissions" and "View Approval" permission.
    It could be the issue with the categories and category level permissions.
    Happy troubleshooting...
    Vikram Daruru - MSFT

  • Falied "Configure OLAP cubes for Project Web App" in Project Server 2013

    Hi
    I'm trying to use the PS2013's capability for generate SSAS Cubes; but after I execute
    the steps described on “Configure OLAP cubes for Project Web App (http://technet.microsoft.com/en-us/library/jj943761.asp)”  the only thing
    achieved is that the state being "Processing…" and the log:
    ===== Initiating OLAP database build process =====
    [10/11/2013 2:48 PM] Cube build request message has been added to the Project Server queue
    When I check the jobs, the one who is associated with the cube creation is on "Succeeded" state but the OLAP database is never created. There is no evidence I think on the Sharepoint log.
    For notice:
    10/11/2013 14:36:24.41 w3wp.exe (0x1A70)                       0x1848 
    Project Server                   Analysis Cube Building                       
    8ida        Information        Standard Information:PSI Entry Point:   Project User: PROJECTSERVER\system  Correlation Id: 0cea4e03-a432-e311-9401-001cc094718e  PWA Site
    URL: http://<server-name>/sites/Walkthroughs  SA Name: Project Server Service Application  PSError: NoError (0) Cube build request was placed on the Project Server Queue.  afaf4b9c-57d6-7004-2661-c95edeacab11
    10/11/2013 14:36:24.43 w3wp.exe (0x1A70)                       0x1848 
    Project Server                   Analysis Cube Building                       
    8swo     Medium               PWA:http://<server-name>/sites/Walkthroughs, ServiceApp:Project Server Service Application,
    User:PROJECTSERVER\system, PSI: [CBS] Status message: Cube build request message has been added to the Project Server queue,
    LogLevelManager Warning-ulsID:0x3873776F has no entities explicitly specified.                afaf4b9c-57d6-7004-2661-c95edeacab11

    Seems like an error occurred during site collection provisioning with the project server features. The provisioning process was interrupted from a system error and doesn't recovered after system restart.
    I just created and provisioned a new site collection and everything is working now.
    ===== Initiating OLAP database build process =====
    [10/16/2013 5:57 PM] Cube build request message has been added to the Project Server queue
    ===== Verifying and running pre-build server event handler =====
    [10/16/2013 5:57 PM] Verifying and running pre-build server event handler
    ===== Determining database and OLAP database structure =====
    [10/16/2013 5:57 PM] Cube build initialization started
    ===== Building database and cubes =====
    [10/16/2013 5:57 PM] Cube build session started
    ===== Verifying and running post-build server event handler =====
    [10/16/2013 5:58 PM] Verifying and running post-build server event handler
    ===== Processing OLAP database =====
    [10/16/2013 5:58 PM] Process OLAP database session started
    ===== Verifying and running post-process server event handler =====
    [10/16/2013 5:59 PM] Verifying and running post-process server event handler
    ===== Process Completed =====
    [10/16/2013 5:59 PM] Cube build request completed successfully.

  • Failed to build the OLAP cubes (Project Server 2013)

    We are receiving errors when attempting to build our OLAP cubes.  We've attempted to install the 2008 version of the SQL server native client 2008 but still the error appears.  Please advise.
    Configuration:
    Project Server 2013
    SharePoint 2012
    SQL Server 2012
    Error Message:
    ===== Initiating OLAP database build process =====
    [1/7/2014 2:00 AM] Cube build request message has been added to the Project Server queue ===== Verifying and running pre-build server event handler =====
    [1/7/2014 2:00 AM] Verifying and running pre-build server event handler ===== Determining database and OLAP database structure =====
    [1/7/2014 2:00 AM] Cube build initialization started ===== Building database and cubes =====
    [1/7/2014 2:00 AM] Cube build session started ===== Verifying and running post-build server event handler =====
    [1/7/2014 2:00 AM] Verifying and running post-build server event handler ===== Processing OLAP database =====
    [1/7/2014 2:00 AM] Process OLAP database session started ===== Process Completed =====
    [1/7/2014 2:00 AM] Failed to build the OLAP cubes. Error: Failed to process the Analysis Services database OLAP_FTF on the XYZ server. Error: Errors in the back-end database access module. The provider 'SQLNCLI10' is not registered.
    The following system error occurred:  Class not registered Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Project Reporting data source', Name of 'Project Reporting
    data source'.
    Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Project List', Name of 'Project List' was being processed.
    Errors in the OLAP storage engine: An error occurred while the 'Start Date' attribute of the 'Project List' dimension from the 'OLAP_FTF' database was being processed.
    Internal error: The operation terminated unsuccessfully.
    Server: The current operation was cancelled because another operation in the transaction failed.

    Hi Importek,
    Please have a look to a similar threads that has been answered.
    http://social.msdn.microsoft.com/Forums/en-US/a2696e29-e68e-45a8-8dae-fa8fa5640575/receive-the-following-error-when-trying-to-build-cube-errors-in-the-highlevel-relational-engine?forum=sqlanalysisservices
    http://social.technet.microsoft.com/Forums/projectserver/en-US/420958bd-4613-451c-ac06-a1f149f64da9/problem-when-trying-to-build-the-cube?forum=projectserver2010general
    Finally an article by Brian Smith:
    http://blogs.msdn.com/b/brismith/archive/2007/07/16/yet-another-olap-error-message-the-longest-yet.aspx
    This might be an issue of the SQL instance alias.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Microsoft.Project.Server.Library missing namespace name 'Office' -Error while building a PSI application using WCF sample code to read calendar exceptions.

    Hi,
    I have a WCF application to pull calendar exception detail from a Project Server instance 2013. As per msdn links shared below I have added two dlls Microsoft.Office.Project.Server.Library , Microsoft.Office.Project.Server.Events.Receivers as well as ProjectserverServices.dll
    from the server.
    On building the solution I am an error, The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?).
    The links referred for development are-
    https://msdn.microsoft.com/en-us/library/office/gg223326(v=office.15).aspx
    https://msdn.microsoft.com/en-us/library/office/ee872368(v=office.15).aspx
    Thanks in advance!!
    Mridhula
    Mridhula.S

    Hi All,
    The issue is resolved!! The Target framework by default was set to .NET Framework 4 Client Profile instead of .NET Framework 4.
    Regards,
    Mridhula
    Mridhula.S

  • Project Server certificate authentication

    I need to know if MS Project Server 2013 requires client-side certificate authentication so that I can implement correctly the authentication part  in my client app that needs to access the REST APIs of Project Server, and handle accordingly the server's
    certificate.
    Thanks in advance.

    what is the error occurred when the custom PSI app connects?
    can you upload the ULS logs here for research?
    What is the user account format you specified in the code for authentication?
    For proper authorization, the “user logon account” in PWA for the user needs to be changed from domain\username to the claims token (e.g.
    'I:0#.w|mybusinessdomain\ewmccarty').
    It requires you to manually call the UpnLogon method of
    “Claims to Windows Token Service”. if (Thread.CurrentPrincipal.Identity is ClaimsIdentity)  
    {  var identity = (ClaimsIdentity)Thread.CurrentPrincipal.Identity;  }  
    if (Thread.CurrentPrincipal.Identity is ClaimsIdentity)
    var identity = (ClaimsIdentity)Thread.CurrentPrincipal.Identity;
    Than you need to extract UPN-Claim from the identity.
    Upload the verbose log if possible.
    Did you see this?
    http://msdn.microsoft.com/en-us/library/ff181538(v=office.14).aspx
    Cheers. Happy troubleshooting !!! Sriram E - MSFT Enterprise Project Management

  • How to create event handler in project online

     how to create a remote event handler for project online...
    i want to create a event handler onprojectcreating using CSOM...need Help..

    Hi Abidulla,
    Here is a good post from UMT for you to start.
    http://www.umtsoftware.com/blog/2013/08/01/project-server-2013-remote-event-handlers/
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Project Server 2010 Active Directory Synchronization - duplicate Windows Name - Event ID 7734

    Environment: SharePoint Server 2010, Project Server 2010, SP2, DEC 2013 CU (Farm Build number: 14.0.7113.5001)
    Scenario: 
    Domain user has been added to the Active Directory group being synchronized with Project Server for the Team Members group.
    That user has participated as a team member in numerous projects, added documents, been assigned tasks, typical project stuff...
    Employee quits.
    AD account is deleted. (NOT deactivated or moved into another OU)
    Time passes...
    Employee gets rehired.  NEW AD account is set up: same display name, SamAccountName, email address, different GUID of course.
    Daily Active Directory job runs again and throws event ID 7734 and the sync ends with a partial fail.
    I understand why this is happening.  Solutions I've found point me to deleting the Enterprise Object resource in Project Server and then rerunning the sync.  Sure, this works BUT won't all of the previous documents, tasks,
    etc. be disassociated from that user?  If so, this is not ideal.
    2 questions:
    Is there a better way to deal with the fixing of the resource in Project Server to somehow link the old resource to the new resource allowing the sync to run successfully while still leaving the association to all old content intact?
    How are other organizations dealing with rehires when they have been added as resources in Project Server?  What is the best practice guidance from Microsoft on this?  Are other companies not actually deleting AD accounts when users leave organizations
    or are they putting them into a "ARCHIVE" OU or something like that? This happens at least half a dozen times a year at my company. We would like to keep our AD as clean as possible, but this appears to change our approach.
    Any suggestion/guidance is appreciated.

    For the question to relink the new account to the account which is already available in Project Server. You will have to update the WRES_AD_GUID to Null for the the Resource in MSP_RESOURCES table in the published database.
    Whenever a users gets synchronized to the PWA his ADGUID, SAMAccountName, Display Name, Email Address and DepartmentName is Synchronized from AD to Project Server. When the user was deleted and recreated the ADGUID got changed. During the next sync, project
    found the user with similar properties but different ADGUID which was updated in WRES_AD_GUID column in MSP_RESOURCES table. Hence it says that there is a duplicate account in the table with the same properties but a different ADGUID
    Nullifying the WRES_AD_GUID column value in MSP_RESOURCES table should get the user synchronized to Project server in the next sync.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • How to handle PSW approval task in project server 2013 through declarative workflow VS 2013

    Hello,
    Plz explain in detail handling PSW approval task in project server 2013 through declarative workflow VS 2013
    bcoz when using am posted on with this error when i try to approve the item
     "This list item  has not been created by the workflow.you cannot apply this content type"
    any help would be appreciated!!!!
    Thanks regards, Vignesh.

    I am also experiencing issues with this.  After the approval task is completed, the Workflow gets cancelled with the following message
    RequestorId: 60d96368-4cb4-b059-8086-604972a92e60. Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context)
    at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
    bookmarkManager, Location resultLocation)
    All other desired workflow actions work as expected.  Emails are sent, project is moved from stage to stage, however as soon as the workflow approval task is completed, either Approved or Rejected, the Internal Status is changed to Canceled and the
    workflow fails.
    What is interesting is when the Approval task is completed, the approver will receive an email notification that the task was CANCELLED or DELETED....
    not COMPLETED, which is what would be expected.
    Has anyone seen this - any potential resolution?

Maybe you are looking for