Project Server 2010 new resource customization

Hi
 How to add  Timesheet Manager for a new resource programmatically

Youc an do it while creating the resource by adding the Guid to the column RES_TIMESHEET_MGR_UID or update the resource dataset later on as below
 SvcResource.ResourceClient ResClient = SetResClientEndPoints();
            SvcResource.ResourceDataSet ResDS = ResClient.ReadResource(new Guid("94cb3050-fe7a-4a45-a0f2-23f748c93ef0"));
             Res[0] = new Guid("94cb3050-fe7a-4a45-a0f2-23f748c93ef0");
            ResClient.CheckOutResources(Res);
            ResDS.Resources.Rows[0]["RES_TIMESHEET_MGR_UID"] = new Guid("8fd6ee5e-1ecb-4262-8a02-b046cc6ac09c");
            ResClient.UpdateResources(ResDS,false,true);
Thanks | epmXperts | http://epmxperts.wordpress.com

Similar Messages

  • Project server new resource Customization and Programming

    hi
    how to add categories(like My Tasks, My Resources) for a new resource programmatically in project server 2010?

    Hi
    You may add the categories to a group , later you can add the user to specific group
    Either you can hardcode the group guid or get the group guid by reading all the groups
    Sample:
    Guid gpUID = new Guid("303D8BA6-BD1A-437A-984E-B19AD11EF345");
    srvSecurity.SecurityGroupsDataSet secutiryAuthDs = new srvSecurity.SecurityGroupsDataSet();
                    secutiryAuthDs = objSecurity.ReadGroup(gpUID);
                    srvSecurity.SecurityGroupsDataSet.GroupMembersRow securityAuthRow = secutiryAuthDs.GroupMembers.NewGroupMembersRow();
                    secutiryAuthDs.GroupMembers.AddGroupMembersRow(gpUID, resourceRow.RES_UID);
                    objSecurity.SetGroups(secutiryAuthDs);
    You are going to update the group after adding the user to group
    Hope this helps
    --Happy troubleshooting
    Thanks --Ajith

  • Project Server 2010 - Active Directory Enterprise Resource Pool Synchronization limitations

    Greetings again.
    I have a quick question about the limitations of Active Directory Enterprise Resource Pool Synchronization.  Specifically, what has your experience
    been with extremely large numbers of users (10k plus).  Is anyone aware of a
    practical limit of users in your AD group you would recommend when using the
    Schedule Synchronization feature on a nightly or weekly basis?
    There is a caveat to this question however.  The client has decided (perhaps for some misinformed reasons) to allow access for every user, to every
    project site, within their PWA environment.  They’ve selected the View Project Site option within the
    Categories for the Team Members PWA Group for which 90% of their intended users reside.  So when we ran a couple test syncs in DEV with a smaller AD group of about 8,000 users, the sync understandably
    lasted upwards of 18 hours.  Obviously unacceptable for a PROD environment on a nightly basis and not necessarily ideal for a weekly sync either.
    Experience in addition to documents like these, “Best
    practices for managing a large number of resources in Project Server 2010” tell me that we are way over the practical limit of a scheduled resource pool synchronization...IF
    the client really desires that all users access all their sites.  But before I submit my recommendations, I wanted to check with the community just in case others may have found a way to synchronize large numbers of users (10k plus) on a nightly or weekly
    basis, within a reasonable time frame AND allowed all users to access all sites within PWA.
    What do you think?
    As always, thanks for your help.
    Chris Addis - MCTS

    Hello Hrishi.
    My delayed response has been due to a large amount of testing we have been performing on this particular topic.  Here is an update, please feel free to provide feedback.
    We went back to testing and spent more time reviewing the documents: 
    Best practices for managing a large number of resources in Project Server 2010 and
    SharePoint Server 2010 capacity management: Software boundaries and limits.  Our team interpreted those documents as saying, 1,000 security
    scopes per site is a recommended limit.  It does not say it’s a hard limit, just a recommended limit.  “When the recommended unique security scope boundaries are exceeded, performance issue can occur.”
    So we decided to perform some tests (31 in total) to try and get a gage of what we are seeing.
    We needed to establish a baseline first.  So we performed a series of 23 Active Directory Resource Pool Synchronizations with various settings in a clean, Out of the Box, environment in order to see some consistent numbers.  Here is it’s summary:
    Our AD group of 8,000 users took about 32 minutes, on average, every time to sync.  The difference between the first sync and last sync differed only by 1-3 minutes.
    Adding 40 project sites increased the average sync time from 32 to 120 minutes.
    Adding 100 users to each of those 40 project sites, did not increase the sync times.
    One setting (identified at this time) reduced the synchronization time.  It was the
    Project Site Permissions check box found within the Project Web App > Server Settings > Project Site Provisioning Settings area.  By deselecting this check box we reduced or synchronization time back to the 32 minute
    average.
    The View Project Site check box within the Project Web App > Server Settings > Manage Groups > Team Members group had no apparent effect on the sync times besides what we had gleaned from the Microsoft documentation.
    Naturally, this left us with a problem.  As I’m sure you know, by deselecting the check box (Project Site Permissions), our project sites are now (figuratively speaking) orphans with no connection to the parent site.  This generates
    a new set of issues.  For example:
    Newly created project sites cannot be accessed by the owner and team members.  They will require someone like the farm admin to come in behind them and add the intended users to the project site along with their required permissions.
    All current and futures sites will no longer have users added via the standard method of building a team and publishing the project, but will have to be added manually.
    You can use the Synchronize option found within Project Web App > Server Settings > Project Sites page, but that kinda defeats the purpose.  It would require constant updating on a per site basis to keep up with
    PM changes.  Not very sensible, but it does work.
    With this baseline information, we moved our tests into our DEV environment which somewhat mimics our PROD environment.  This environment has 352 project sites and we performed 8 tests.  This is where we had some large sync time numbers. 
    Here is the DEV test summary:
    With the Project Site Permissions check box cleared, our AD group of 8,000 users took on average 30 minutes to sync.  This was in line with our baseline times.  With the exception of one test sync that took 99 minutes to complete. 
    That anomaly is acquiescent with what I’ve seen over the years.  Sometimes syncs do some unusual things.
    With the Project Site Permissions check box selected, our AD group of 8,000 users took on average 690 minutes (11.5 hours) to sync.  Unacceptable of course.
    So here’s what we’ve learned when dealing with extremely large numbers of active directory users in your Resource Pool sync:
    We did not see a decrease in subsequent sync times after the initial Active Directory Resource Pool Synchronization as some might expect.
    Our attempt to decrease sync time via the option of removing the View Project Sites was not successful.  (Unless we interpreted Microsoft's document incorrectly.)
    However, our interpretation of the recommended software boundaries and limits of SharePoint Server 2010 as it pertains to security scopes per site at 1,000, appears to be correct.
    Using the option of clearing the Project Site Permissions does produce a reduction in AD sync time, but at a cost segregating your project sites and thus the creation of new processes of maintaining them.
    I’ll remind others that these results are particular to our environments, there may still be exceptions yet to discover.  Others may see numbers contrary to ours.
    The biggest surprise to some members on our team (myself excluded) was that we did not see a reduced sync time after any of our initial syncs.  Some are under the impression that after your initial sync, you should see reduced sync times.  I haven’t
    found that to be the absolute case in all situations, just in some situations.  The reason for this still eludes me.  Any thoughts would be appreciated.
    I’ll let this sit a bit longer, but if no one disagrees with the results, I think we have our answer:
    The number of project sites directly affects your Active Directory Resource Pool Synchronizations if you are using the
    Project Site Permissions option.  If you plan on synchronizing over 1,000 users
    and you have a large number of project sites, proceed with the knowledge that you may have performance issues and long sync times.
    As always, I’d love to hear from you or others just in case I’m missing something.
    Chris Addis - MCTS

  • Project Server 2010 , Project Center, Resource Center, My Work not loading

    Hi,
    We have Project Server 2010 SP-2 env
    Yesterday one of my Project Manager told me that he is not able to access any of the following page Project Center, Resource Center, My Work in our Quality env. Issue is it shows page is loading infinitely long and on botton it shows some script error mentioned
    below
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
    Timestamp: Tue, 21 Oct 2014 13:55:19 UTC
    Message: 'null' is null or not an object
    Line: 217
    Char: 4
    Code: 0
    URI: http://XXXXXXXXXXX/_layouts/inc/pwa/library/webmethodmanager.debug.js?rev=BtnvMSOtt14tg%2FnfhDTJpA%3D%3D
    Also I have checked event logs in shows WebHost failed error with Event ID 3 , complete detail mentioned below.
    Event Log Error
    WebHost failed to process a request.
     Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/45523402
     Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/PSI/ProjectServer.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'FirePoint.SharePoint.RssViewerWebPart,
    Version=1.4.7.12, Culture=neutral, PublicKeyToken=e891f27e2edd24d0' or one of its dependencies. The system cannot find the file specified.. ---> System.IO.FileNotFoundException: Could not load file or assembly 'FirePoint.SharePoint.RssViewerWebPart, Version=1.4.7.12,
    Culture=neutral, PublicKeyToken=e891f27e2edd24d0' or one of its dependencies. The system cannot find the file specified.
    File name: 'FirePoint.SharePoint.RssViewerWebPart, Version=1.4.7.12, Culture=neutral, PublicKeyToken=e891f27e2edd24d0'
       at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
       --- End of inner exception stack trace ---
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
       at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
     Process Name: w3wp
     Process ID: 5052
    Also I have checked Brian Smith blog to resolve WebHost error with Event ID 3, but that didn't help.
    So kindly help me to get this issue resolve and do let me know in case need further details.
    Thanks

    Hi,
    From error log it seems you have some custom or thrid party web part activated in your application and that web part is not able to load which might causing those pages to get corrupt.
    As a fix can suggest you below to two thing to check
    1) Remove that "FirePoint.SharePoint.RssViewerWebPart" from your environment and try to access those PWA pages again.
    2) Even after removing above web-part solution does not fix this issue, as it is quality env can you try to disconnect and reconnect the share-point farm . Then try to access those pages again.
    Share us the latest update and your finding on this issue.
    Regards
    Sachin Vashishth MCTS

  • Project Server 2010 Resource Assigments - Need a license for every Resource?

    I am trying to determine the requirements for Project Server 2010 licenses.
    In Project Server 2010, I need to add resources to the pool, then assign a resource to a project task.  The task will be maintained/statused through a manager, not the resource.  
    Does that resource need to have a Project Server license even if the resource never accesses Project Server even through PWA?

    Hi JenKranich,
    You need licences only for users that will access
    Project Server data by any means :
    MS Project Pro, Sharepoint sites and/or
    PWA.
    But resources not associated with users are not "real person" accessing data but just informal entity, thus no need for licences for those resources.
    It is important to note that if those resources can access the SharePoint site, since it contains Project Server data (risks, issues, deliverables), then they DO need a licence.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Is it possible to create a formula that converts a resource hours into full time units in project server 2010

    Hi
    Is it possible to create a formula that converts a resource available hours into full time equivalent units in project server 2010? Say a resource has 160 available hours for any given month this will translate into 1 FTE for this month. If it is 80 hours
    for that month then it will be 0.5 FTE and so on and so forth.
    Thanks,
    -Maurizio

    Maurizio,
    It's a bit late, but there are two OLAP cubes that can provide you with this information in a pivot table in Project Server 2010.
    "MSP_Portfolio_Analyzer" and "Resource Timephased" contains capacity measures that be used to provide calculated measures when the cube database is generated. You change OLAP cube configuration in "Server Settings -> Database Administration -> OLAP
    Database Management". In either of the aforementioned cubes, use "Calculated Measures" to create two measures:
    Member Name
    MDX Expression
    Available (FTE)
    ([capacity]-[work])/[capacity]
    Work (FTE)
    [Work]/[Capacity]
    These two fields will appear in the pivot table field list as "Values", and when combined with a "Time" column, can give you a picture of FTE usage and availability.
    I prefer the portfolio version since it contains project/assignment data and resource data, letting you see just  how resources are being utilized.
    One thing I have not been able to get around is getting ""Maximum Units" for a resource factored into the measure. A common practice is to allocate more that "100%" to generic resources to represent teams for planning purposes. The OLAP measures will show
    only 0.0 to 1.0 FTE for any resource, even if a resource represents more than one body.
    If you have an SSRS query you could share, I would appreciated it!
    Hope this helps!
    JTC
    JAckson T. Cole, PMP, MCITP

  • Project Server 2010 - Import Project Wizard - Local Resource Import Error

    Using Project Server 2010 SP2 with admin rights when I encountered the following error:
    Steps:
    Upon importing a local mpp file with Import Projects Wizard
    Mapped Resources.  Some were mapped to enterprise resources and others were left as local.
    Following completion of import process (mapped task fields, and save), the resources that were marked as "keep as local" were imported to the server as enterprise resources.
    I have never encountered this issue with previous versions of project server and am wondering if anyone else has run into the same issue and if there is a patch?  The error is consistently repeatable and I will check utilizing the account
    of someone without admin rights to see if it happens there as well. 
    It appears that in proceeding to validation step, the import field is automatically defaulted to Yes when proceeding to step 2.  If the user doesn't manually flag this back to No, then the resource is imported to project server.

    Hi Luis,
    I just ran a quick test and I couldn't reproduce your issue with PS2010 SP2. My local resources have been kept as local resources after the import process whereas the resources with a similar name than enterprise resources have been mapped with enterprise
    resources.
    Not sure which CU I have but I'd suggest you to upgrade to the
    latest CU.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Project Server 2010: PWA Removing Default Project Site Security Groups When Creating a New Project

    I looked for this specific issue with Project Server 2010/PWA/SharePoint and could not find an exact answer... hopefully someone can help.
    We are currently using Project Server 2010 and have a number of project site templates that are used dependent upon the enterprise project type selected. Each of these project site templates have unique permissions which should create the default security
    groups on the project site upon publishing/syncing:
    <Project Name> Members
    <Project Name> Owners
    <Project Name> Visitors
    <Project Name> Project Managers (Project Web App Synchronized)
    <Project Name> Team Members (Project Web App Synchronized)
    Web Administrators (Project Web App Synchronized)
    Whether a user creates a project through PWA or Project Pro 2010 and imports the project into PWA, we get a weird result in the Site Permissions of the newly created project site. PWA will remove all default security groups from the project site template
    and add a whole list of users in the Site Permissions list without groups. 
    Once the project is published and the project site is created, we can then go back and add those default security groups back in the project Site Permissions and even add a couple of custom groups without them being removed on all subsequent project syncs
    or publishing. 
    How do we get PWA to not overwrite the project site templates' security groups and place each user in the proper default security groups? At the same time, how is PWA adding a number of users into the Project Site Permissions?
    Thanks in advance.

    Paul,
    Thanks for that information. Right now we are using the Test environment to turn the Auto-sync feature back on. I suspect that the reason this is happening is due to PWA groups/categories/security templates. There may be more than one PWA group that is "overwriting"
    the default project site groups upon initial creation of the project. We will look further into the security settings to tighten up the policies. 

  • 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.

  • Project Server 2010 - Updated User Profile - Display Name is Old Name

    Similar to question"It shows the Domain\Logon account instead the User Name (up right corner)" but not quite the same. I also checked on the related topics list and could not find a solution.
    We have a Resource in Project Server 2010 whose name changed. This included a change to her loginID as well as her email address. I went in to PWA > Server Settings > Security > Manage Users and changed the
    Name, Email Address, and User Login Account fields accordingly. When the user goes into Project Server or any of the Project Sites, her old User Name is reflected. If she accesses any other SharePoint site (not associated with Project Server) her
    new name shows up in the upper right hand corner of the screen.
    We do not have AD Synchronization turned on.
    How can we edit the name that appears in the upper right corner of the screen?

    Hi,
    Use Display name shown on right hand site is not from PWA, its from SharePoint User profile. When we make change to user display name, sometime SharePoint Still retain the old account and also add new account. To fix the issue we have to remove the user
    profile from PWA root site.
    Open PWA and navigate to following path
    Site Actions>>Site Settings>>People and Groups
    Click on More from left hand site list of groups
    Select appropriate group,   belongs to the user
    Select the user and from Actions tab remove the user. (you may see two entries old and new), Either you can delete both or click on each account to validate correct user ID.
    Once again navigate to PWA>>Server Settings>>Manage User
    Edit affected user and click on Save
    Have user log on to PWA and validate the result.
    Hrishi Deshpande – Senior Consultant DeltaBahn
    Blog | < |
    LinkedIn
    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.

  • Project server 2010 What are the number of Custom fields and views allowed?

    How many customizations are permitted in Project Server 2010?
    Thanks in advance

    Hi
    new findings on that issue...
    There is an article for Project Online that speaks about limits for reporting: https://support.office.com/en-US/Article/Project-Online-software-boundaries-and-limits-5a09dbce-1e68-4a7b-b099-d5f1b21ba489?ui=en-US&rs=en-US&ad=US
    Apart from that you will have an issue if you like to upgrade to Project Server 2013. When trying to convert the 2010 databases to a 2013 database a SQL stored procedure will fail if you have more custom fields than fit into the UserViews.
    Error message will be something like this:
    System.Data.SqlClient.SqlException (0x80131904): INIT METADATA ERROR!  At least one mismatch found between SQL schema for view MSP_EpmProject_UserView and reporting metadata.  Call to MSP_Epm_CheckIntrinsicAttributes failed for Projects  INIT
    METADATA ERROR.    
     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)    
     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.Office.Project.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command)  ClientConnectionId:21f11abd-7388-48a0-a029-b5161fcb2dc8
    Workaround for the issue (UNSUPPORTED !!!!!!)
    Execute the Convertto-SPProjectDatabase script. Now you need to be fast or well prepared. You need to find the MSP_Epm_CheckIntrinsicAttributes stored procedure. Execute an ALTER statement for it and change the last lines of code to something like this:
    LblError:
       PRINT @ErrorMessage
        --changed RETURN code if an error occurs to be able to proceed with migration 
        --RETURN 1
         RETURN 0
    END
    I hope that helps someone out there - when I came across the issue last night, a google query returned nothing for INIT METADATA ERROR....
    Regards
    Christoph
    Christoph Muelder | Senior Consultant, MCTS, MCSE | SOLVIN information management GmbH, Germany

  • Line Classification Reporting in Project Server 2010

    I’m trying to understand the Line Classification (LC) functionality and reporting in Project Server 2010 having not used this before. 
    I have added a new LC titled ‘Billable’ to the system and then added a task to my timesheet with the new Billable LC and then logged time to both the Standard and Billable LCs of the same task (not sure why MS have decided to call this Billing Category
    – rather confusing).  I was expecting that when the timesheet was approved the hours in both the Standard and Billable LCs would be combined and the total show-up on the task in the MS Project Professional plan but this appears not to be
    the case, only the hours logged to the Standard LC show in the project plan. 
    Is this correct or am I missing a step to get the new LC hours into reporting?
    Thank you.

    Hi Jane,
    I'll try to be more explicit. Hours logged against other LC than standard will NOT be lost, they will simply not be pushed to the project plan. Only those against standard LC will be pushed as actual work after PM approval.
    That being said, ALL actuals regardless of the LC will be in the Reporting DB and OLAP cubes for example. Meaning that using for example one of the 3 timehseet OLAP cubes, you'll be able to report actual hours against LC, periods, projects, resources, managers...
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Problem: Task completion sync back from Exchange 2010 to Project Server 2010

    I have new installation of PS 2010 and Exchange 2010 (one server holds all roles including CAS).
    For sync between PS and EX 2010, I following the technet article Configure Project Server 2010 to work with Exchange Server 2010 at http://technet.microsoft.com/en-us/library/ff468700%28office.14%29.aspx (yes I read the second part on Impersonation, too).
    Basically I followed the video and opted for "Impersonation for all users".
    I got tasks appear in resources outlook "Tasks" folder no problem. They appeared instantly after project is published. But when the resource update the completion in outlook, it failed to update the Project server.
    The applog on Exchange server has the following events:
    A notification for subscription [IABmaWxiZXJ0Lm1zYy5hbHR1cmFzYW5hbHl0aWNzLmNvbRAAAABpsVspLo+TSpth0iMukr+TjiFq73wS0Qg=] against endpoint [http://MyPSserver/PWA/_vti_bin/PSI/ExchangeSync.asmx] couldn't be sent. (Send attempts: 2) Details: WebException:
    The remote server returned an error: (500) Internal Server Error. StatusCode: InternalServerError Internal Server Error    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Exchange.Services.Core.NotificationServiceClient.HandleResponse(IAsyncResult responseAsyncResult)
    After 8 unsuccessful attempts to send a notification for subscription [IABmaWxiZXJ0Lm1zYy5hbHR1cmFzYW5hbHl0aWNzLmNvbRAAAABaEEJ+4ahFSY6IVGcSZ7/m4kLgKCES0Qg=] against endpoint [http://MyPSserver/PWA/_vti_bin/PSI/ExchangeSync.asmx], the subscription has
    been removed. Details: WebException: The remote server returned an error: (500) Internal Server Error. StatusCode: InternalServerError Internal Server Error    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Exchange.Services.Core.NotificationServiceClient.HandleResponse(IAsyncResult responseAsyncResult
    The W3C log on PS app server has the following related entries (401 and 500 errors. 10.0.0.76 is Exch server. 10.0.0.77 is the PS app server):
    2014-03-20 18:12:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 0
    2014-03-20 18:12:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 15
    2014-03-20 18:12:39 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 31
    2014-03-20 18:12:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 0
    2014-03-20 18:12:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:12:39 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 31
    2014-03-20 18:12:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 0
    2014-03-20 18:12:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:12:39 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 31
    2014-03-20 18:12:41 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 0
    2014-03-20 18:12:41 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:12:41 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 62
    2014-03-20 18:28:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 15
    2014-03-20 18:28:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:28:39 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 46
    2014-03-20 18:28:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 15
    2014-03-20 18:28:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:28:39 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 31
    2014-03-20 18:28:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 0
    2014-03-20 18:28:39 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:28:39 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 15
    2014-03-20 18:28:41 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 2 5 15
    2014-03-20 18:28:41 10.0.0.77 POST /PWA/_vti_bin/PSI/ExchangeSync.asmx - 80 - 10.0.0.76 - 401 1 2148074254 0
    2014-03-20 18:28:41 10.0.0.77 POST /_vti_bin/PSI/ExchangeSync.asmx - 80 MyDomain\MyExchServer$ 10.0.0.76 - 500 0 0 15
    I am new to PS 2010. Help is appreciated. Thanks.

    Here are the errors found in Project Queues:
    ExchangeSyncExchangeSubscriptionUpdateForUserFailed (40511). Details: id='40511' name='ExchangeSyncExchangeSubscriptionUpdateForUserFailed' uid='ef501cc2-9305-47b5-92b3-021e3b41d1b5' teamMemberUid='b8f2e0cd-9882-4677-be61-b2780b32bae5' exception='System.NullReferenceException:
    Object reference not set to an instance of an object. at Microsoft.Office.Project.Server.ExchangeSync.ExchangeSyncUtil.UpdateExchangeSubscription(Guid resourceUid, SubscriptionContext context) at Microsoft.Office.Project.Server.ExchangeSync.ExchangeSyncUtil.UpdateExchangeSubscription(Guid
    resourceUid) at Microsoft.Office.Project.Server.ExchangeSync.ExchangeSubscriptionRefreshProcessor.Refresh(PlatformContext ctx)'.
    ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'.
    The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='ef4e51a1-8cb2-4ec2-bfc4-530f1f34cd8c' QueueMessageBody='Project UID='2668bb26-5c23-42ce-843a-fa49feadba05'. PublishType='ProjectPublish'' Error='The INSERT
    statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'. The statement has been terminated.'.
    ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'.
    The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='0b88178b-2e45-41af-a85f-8c5590e9c3e7' QueueMessageBody='Project UID='2668bb26-5c23-42ce-843a-fa49feadba05'. PublishType='ProjectPublish'' Error='The INSERT
    statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'. The statement has been terminated.'.
    ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'.
    The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='0d7421f6-2579-4656-b956-d50ecc7f5f1c' QueueMessageBody='Project UID='2668bb26-5c23-42ce-843a-fa49feadba05'. PublishType='ProjectPublish'' Error='The INSERT
    statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'. The statement has been terminated.'.
    ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'.
    The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='3456b70e-fe16-4b3a-ab66-f2a5237fbaeb' QueueMessageBody='Project UID='2668bb26-5c23-42ce-843a-fa49feadba05'. PublishType='ProjectPublish'' Error='The INSERT
    statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'. The statement has been terminated.'.
    ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'.
    The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='fc78474a-bf5c-422c-a209-cb79e3201e38' QueueMessageBody='Project UID='2668bb26-5c23-42ce-843a-fa49feadba05'. PublishType='ProjectPublish'' Error='The INSERT
    statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'. The statement has been terminated.'.
    ReportingProjectChangeMessageFailed (24006) - The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'.
    The statement has been terminated.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='d2f4b313-0c21-4a2c-b8a7-f6bd7aef13fe' QueueMessageBody='Project UID='2668bb26-5c23-42ce-843a-fa49feadba05'. PublishType='ProjectPublish'' Error='The INSERT
    statement conflicted with the FOREIGN KEY constraint "FK_MSP_EpmAssignment_ResourceOwnerUID". The conflict occurred in database "ProjectServer_Reporting", table "dbo.MSP_EpmResource", column 'ResourceUID'. The statement has been terminated.

  • Project Server 2010 Web services access with Client Certificate Authentication

    We switched our SharePoint/Project Server 2010 farm to use client certificate authentication with Active Directory Federation Services (AD FS) 2.0, which is working without issue. We have some administrative Project Server Interface (PSI)
    web service applications that no longer connect to server with the new authentication configuration.  Our custom applications are using the WCF interface to access the public web services.
    Please let us know if it is possible to authenticate with AD FS 2.0 and then call
    Project Server web services. Any help or coding examples would be greatly appreciated.

    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

  • Project Server 2010 - Modification date and name of the person who made the last change in the project

    Hello everybody
    I'm with a doubt.
    I got in the business
    environment Project Server 2010 and
    would like to get the publication date,modification
    date and name
    of the person who made
    the last change in
    the project. It is possible
    to doby the native
    resources or is
    there any query in
    SQL Server to perform a
    query of this information.
    Thank you.
    Obrigado por contactar o fórum Microsoft Technet!

    Hi Hezequias,
    You can get the ProjectModifiedDate column in MSP_EPMProject_userView in the Reporting DB where you can
    get the data based on the projectUID. 
    The "last saved" date in the draft DB (be aware that querying in the draft DB is not supported by MS).
    For the "last modified by", I think it is not stored in any place.
    But you can develop custom code upon publishing the project (Event BeforePublish), writing the current
    date and username automatically into a custom enterprise field.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

Maybe you are looking for

  • Ask again:  Where can I find source code for CPRM algorithm?

    Hi, everyone. Where can I find reference implementation or some sample codes for CPRM(content protection for recordable media) algorithm? Can anyone help? Information about CPRM can be find here, http://www.4centity.com/ JAVA version is preferred and

  • Touch no longer backing up?

    As the title says. It syncs fine but it no longer is going through the backup process. Just started recently since the latest itunes update. Calendar syncing issues as well but I just turned that preference off. But I wanted to mention it. Any ideas?

  • Possible to re-link files after a near disaster?

    A few weeks ago I decided to get organized and began going through my iMac internal hard drive and Hitachhi 320 external hard drive where I keep my Lightroom 3 files and removing the duplicates that I found on the internal hard drive. I wanted to get

  • Derivation of functional areas

    Hi everybody:                    I wonder if you can help me with the following: New P/L accounts were created and when I'm testing them in development, the functional area stays blank. However, when I'm testing with another account, which was the or

  • "Scan String For Tokens" weird behaviour

    I am trying to carry out the simple task of getting a string with comma delimiters and produce a string_array with the values in between the commas; this would simplify calling the different parts of the string. Example: INPUT: this,is,an,example OUT