Project Server 2010: AssignmentUIDInvalid on UpdateStatus()
Hello,
we want to update actual work via statusing.UpdateStatus(changeXML) for specific assignments.
For this purpose we built a changeXML that includes ResID (equally ResUID of assignment owner) and call UpdateStatus with this changeXML. Now, everything goes fine for administrators, i.e. they can update the status and submit it to project afterwards for themselves
or other resources. Just for some other users (which do possess the StatusBrokerPermission) we get an "AssignmentUIDInvalid" exception. But the assignment UID is valid, ie. there are in fact assignments with that UID.
My guess is, that the AssignmentUIDInvalid exception just wrapped some other problem which I can't figure out.
Then I tried the same changeXML with the ChangeXML utility from Project SDK 2010 which gave me the same
error. The ResID equals the assignment owner which is in this case equal to the uid of the assigned resource. But this resource is not shown in the list of resources I can make status updates for in the ChangeXML utility, it is an enterprise resource that
cannot logon to PWA.
Today, I digged a bit deeper, ran SQL Profiler on the database system.
There I saw that the PSI executes the stored proc "MSP_DATAEDIT_GET_ASSIGNMENTSAVED_DATA" of the project draft database, but with the given proj and assignment uid this yields no rows in return. If we execute MSP_DATAEDIT_GET_ASSIGNMENT_DATA, we get
the correct assignment. So there must be some corruption between the two table MSP_ASSIGNMENTS_SAVED and MSP_ASSIGNMENTS. But those tables are not documented in any way. So what could the problem be? It is obviously not a permission problem.
Thank you, Tom
Hi BIS,
Thanks for posting in the MSDN Forum.
I will involve some experts into your thread to see whether they can help you out. There might be some time delay, appreciate for your patience.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Similar Messages
-
Unable open Project details or a project from PWA Project server 2010 with Alias name
Hi,
I am unable to open the Projects from Project center with the Alias name with the server name i am able to open the projects, version is project server 2010,
My system is ABC.DC.IN alias name i have given is DEF.AD.COM
With the system name i can able access PWA and all are working fine.
As i have observed with alias name i can able to login to pwa and all the server setting approval center all are working fine but only in the project center i am not able to open the projects (http://DEF.AD.COM/pwa/ProjectDrillDown.aspx .xxxx)
its is coming in the below of the ie.
But with Alias name these are the issues i am facing,
1.when longing with alias name its asking two times for user name and password
2.when i click on a project from project center its taking some time and asking for user name and password after i enter user name and password "PAGE cannot displayed" error i am getting.
can any one Help me.
vijay kommireddiHi Eric,
Thanks for your Reply.
As you said i have added in Manged Path as (Testpwa/projects.aspx as <Wildcard inclusion>) But still problem is there it is asking user
name password again if click on any project in project center and and showing page cannot be displayed error.
This is url its is showing in the below of the IE ( http://def.ad.com/testpwa/projectdrilldown.aspx?ProjUid=e28c6d43-85b6-478d-9542-2961cc81a69e)
I have observed one more thing if click on Project
details then only this issue is coming project schedule and project information
is also opening with Alias name.
My farm version is 14.0.7015.1000
Vijay Kommireddi -
MS Project Server 2010 gives me the following error when I try to click on the [No Group] group:
Error message:
The group "" cannot be found. You tried to display a view that references a group that is not available.
Specify a different group for the view."
Note: When I look at the drop downlist for the Group on the View Ribbon, [No Group] appears in the Built-in section of the list. It also appears on the Organizer.Michael W --
I have seen this error message several times when the project got corrupted due to drops in my network connection while the enterprise project was open. If memory serves me correctly, the method for resolving this problem is to use the Save For
Sharing feature. To do this, complete the following steps:
Add the Save for Sharing button to your Quick Access Toolbar, if you have not already done so previously. Use the Project Options dialog for this.
Open the project in question and click the Save for Sharing button.
In the Save for Sharing dialog, save the MPP file in a location where you can find it easily, such as your Desktop.
Close the MPP file and then reopen it.
Click File > Save As and then click the Save button.
Using this process, Microsoft Project will resolve the corruption in your project. Please let us know if this process works for you.
Dale A. Howard [MVP] -
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 -
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 | -
Project Server 2010 Migratet from one farm to another farm
Hi ,
I need to migrate existing Project server 2010 farm one server to another server.
Kindly suggest me what is the best way we need to fallow.
Existing Environment two server:
1. App server(SharePoint 2010 +Project Server 2010)- Existing PWA site is running
2.Database server(with DNS instance name)
New Environment:
1.App server (fresh installed SharePoint + project server 2010)
2.DB server fresh server with sql 2008
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterEvent viewer Error:
Failed to provision site PWA with error: Microsoft.Office.Project.Server.Administration.ProvisionException: Membership synchronization failed. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.Library.SPRequest.RemoveRoleDef(String bstrUrl, Int32 lRoleID)
at Microsoft.SharePoint.SPRoleDefinitionCollection.Delete(SPRoleDefinition roleDefinition)
at Microsoft.Office.Project.Server.BusinessLayer.SharePointSecurityHelper.DeleteRoleByName(SPWeb web, String roleName)
at Microsoft.Office.Project.Server.BusinessLayer.SharePointSecurityHelper.DeleteRoles(SPWeb web)
at Microsoft.Office.Project.Server.BusinessLayer.SharePointSecurityHelper.ConfigureDefaultPWAWSSSecurityModel(SPSite topSite, SPWeb web)
at Microsoft.Office.Project.Server.BusinessLayer.Admin.<>c__DisplayClass18.<QueueUpdateUsersAddRemoveStatusOnPwaRootsAndWorkspaces>b__17()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.Office.Project.Server.BusinessLayer.Admin.QueueUpdateUsersAddRemoveStatusOnPwaRootsAndWorkspaces(Dictionary`2 deletedUserUidsLoginNames, Guid[] addedUserUids, Boolean isFullSync, Boolean syncWorkspaces)
at Microsoft.Office.Project.Server.BusinessLayer.Admin.SynchronizeMembershipForPwaAppRootSite()
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.SynchronizePwaMembership(ProjectProvisionSettings provset, ProjectSite projectSite)
--- End of inner exception stack trace ---
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.SynchronizePwaMembership(ProjectProvisionSettings provset, ProjectSite projectSite)
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| Twitter -
Project Server 2010 - Error 20010 with a master project and 3 sub-projects during publication
Hi,
Here is the situation :
One master project with three sub projects.
Sub projects are really similar (Same ressources and nearly same tasks but only the first contain real work for now).
Sub projects got no sub projects nor links between projects.
The owner of the master project got read rights through projects permissions on sub projects.
Sub projects are link in "read only".
We applied Project Server 2010 SP2 last week end and the issue appeared monday.
Here are the symptoms :
When we link only one sub project (Doesn't matter which one), the owner can publish, no problems.
With 2 sub projects, the error may occur.
With 3 sub projects, the error always occurs.
With admin rights, the error doesn't occur.
Here is the error :
ID : 20010 (0x4E2A)
Description : You don't have required permissions to perform the action (Average traduction)
Detail : <detail><errinfo><general><class name="Project"><error id="20010" name="GeneralSecurityAccessDenied" uid="19515c1d-2624-466f-953a-b7fc67337b81"/></class></general></errinfo></detail>
I'm unable to determine which sub project is the culprit, if there is one, as it's working when I link only one of them.
Thanks for your time !Fylim --
If the project manager in question does not need to edit any of the three projects, the PM does not need to have Read/Write access to any of the three projects. Because you said that the PM needs to set links in all three projects, this means that
the PM will be editing all three projects. In order to edit the three projects, the PM must have Read/Write access to all three. Setting cross-project links constitutes editing of the projects, which is why the PM must have Read/Write permission.
Make sense?
Regarding SP2, I am not aware that this would change anything, but I could be wrong. The reality is that regardless of which SP you have applied to Microsoft Project and Project Server 2010, the PM in this situation MUST have Read/Write access to the
projects that he/she needs to edit with cross-project links. Hope this helps.
Dale A. Howard [MVP] -
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 - MCTSHello 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 - Change Status Manager
End Goal: We would like to perform this change via SQL statement - which I believe I have I feel like I am missing something and not sure what it is.
Background: We migrated from a different product to Project Server 2010, while our team members were assisting users to move their projects from the old application to Project 2010 they did not realize their names would appear as status
managers.
The quick solution would be to tell the owners of the projects to change the information themselves (republish or go in themselves and change every line); however we feel this can be cumbersome and too much work due to having hundreds of projects and there
are thousands of fields that need to be modified. I can quickly accomplish what I want with an UPDATE command and be done with it (no user involvement).
What I am running into in my test environment is that I can modify the fields (query below) to the appropriate status manager, but I cannot get the changes to appear in Project Professional - it still shows the old value.
I have used the following command to change the Status Manager to the Project Owner (I'm new to SQL, and we no longer have a DBA - so if my code isnt the greatest...I'll fix it)
USE ProjectServer_ReportingUPDATE MSP_EpmTaskSET TaskStatusManagerUID = MSP_EpmProject.ProjectOwnerResourceUIDFROM MSP_EpmProjectWHERE MSP_EpmTask.ProjectUID = MSP_EpmProject.ProjectUID
This modifies all the values correctly - Project Owners become the Status Manager in SQL
Question: Is there something I am missing or can do OR I am not doing to make this new value show up? Is there a better way to do this from an administrative point of view, with no customer/user interaction?
Your help is greatly appreciated
Thank You
kbwreckerMerely my personal opinion having been a Project Server 2010 admin in a medium-sized corporation:
I think you are going to seriously do some damage if you go about trying to modify SQL tables behind Project Server's back. There are a LOT of operations that go into a simple "publish" and I doubt that the minor changes you want to make will account for
all of them. Are you confident you're adjusting all of the values necessary? You may have a detrimental impact on in-flight approvals, timesheets, projects, tasks, assignments.. There is just far too much IMO.
Believe me, I know it is not an ideal solution to have the business make their own adjustments. However sometimes it is just what has to be done. My vote is to craft brief instructions and send them out to the PMs. It's easy to do, they can change one row
and then drag the field down like in Excel to edit all the rest; it's a 1-minute operation, max.
Due to the nature of the field, (not being something you can edit via PWA, and even in Project Pro it only allows you to change it to yourself or another current Status Mgr) I think you'll have a hard time scripting this one via macro etc.. However if you
do find a way, seriously keep in mind your scope and don't edit them all at once, it will need to kick off publishes and check-ins for all the affected projects.
Good luck! -
Hi,
When migrating from a Prod Environment to a Test Environment using the Project Server 2010 5 Database backup and restore process (actually 6 DB's with the Project Sites DB), upon encountering a failure during provisioning the PWA Instance, we get the errors listed
at the base of this posting in our Event Logs.
To clarify what we have done already, we have:
1. Backed up the 6 databases from the Source Environment.
2. Removed the existing PWA_Content and PWS_Content (Project Sites) databases from the Target Environment Farm.
3. Restored the 6 databases in the Target Environment.
4. Given the SP Farm Service Account 'db_owner' rights to each of the 6 restored databases.
5. Added the PWA_Content and PWS_Content databases (exact same names) to the Target Environment.
6. Locked down (offline/stopped), all of the SharePoint Content databases in the Farm except for the PWA_Content database.
7. Run the PWA Provisioning process from the 'Project Server' SharePoint Service in Central Admin.
It is during the PWA provisioning that we encounter these errors.
As the Target Environment is for Test/Dev purposes, the SP Farm Service Account is setup to support all of the SharePoint Farm Services, is in the Local Admin Group of each of the Servers (App, WFE and DB), and is actually in the sysadmin
role on the DB Server.
Any suggestions on what is causing this denied access situation would be most appreciated.
Cheers,
Wayne
Event Log Entries:
============================================
Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Date: 1/22/2014 2:47:34 PM
Event ID: 6971
Task Category: Provisioning
Level: Error
Keywords:
User: ACCOUNTS\svc_psfarm
Computer: SERVER.accounts.domain.com
Description:
Failed to provision site PWA with error: Microsoft.Office.Project.Server.Administration.ProvisionException: Membership synchronization failed. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.Library.SPRequest.AddRoleDef(String bstrUrl, String bstrName, String bstrDescription, Boolean bHidden, Int32 lRoleOrder, UInt64 iPermMask, Byte iType, Int32 lRoleDefID)
at Microsoft.SharePoint.SPRoleDefinitionCollection.AddCore(SPRoleDefinition role)
etc....
Failed to create the Report Center web (Exception: PSI Entry Point:
Project User: DOMAIN\svc_psfarm Correlation Id: c0a30b18-46e4-4447-b469-f8fd3bb1490a
PWA Site URL: http://pstest2010/PWA
SSP Name: Project Server
PSError: NoError (0))
Failed to grant 'DOMAIN\svc_psfarm' access to web application 'SPWebApplication Name=Portal'.
Error: System.Security.SecurityException: Access denied. Only machine administrators are allowed to create administration service job definitions of type: Microsoft.SharePoint.Administration.SPUpdateWorkerProcessGroup, Microsoft.SharePoint, Version=14.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c.
at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition..ctor(String name, SPService service, SPServer server, SPJobLockType lockType)
at Microsoft.SharePoint.Administration.SPUpdateWorkerProcessGroup..ctor(SPTimerService timerService, String[] loginsToAdd, String[] loginsToRemove)
at Microsoft.SharePoint.Administration.SPWebApplication.GrantAccessToProcessIdentity(String username, SPPolicyRoleType policyRole)
at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.GrantAccessToWebApp(List`1 webApps, String userName) The Zone of the assembly that failed was: MyComputerIs the Test and Production in the same domain. If they are not, then the SIDs associated with the SQL accounts may look the same but they are not. At times, I have had to recreated accounts when in different domains.
I would also use PowerShell cmdlets and see if it finds any issues, such as Test-SPContentDatase.. Validate the SharePoint content databases, because if not setup properly the Provisioning will fail.
Also check these properties.
$web=get-spweb http://prodproj01/pwa
$Web.AllProperties[“PWAURL”] ### see what the value is.. you may have to blank it out, specially if it is pointing to a different URL
Here is how to fix.
$Web.AllProperties[“PWAURL”]=””
$web.Update()
Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries -
Project Server 2010 - Applying CUs after SP2?
I am taking over support of a development environment for Project Server 2010 and would like to update it to a more recent level of CU. We have one DB server, and all other components are on one additional server.
Current levels from the Control Panel: MS Proj Server 2010 14.0.7015.1000, MS Sharepoint Server 2010 14.0.7015.1000, Service Pack 2 KB2687452 applied.
Farm Info: Config DB version: 14.0.6134.5001.
1. Can I apply the April CU and it will include all the previous CUs since SP2? Do I need to install the CUs one at a time?
2. For each CU, do I install the Sharepoint component first, then Project?
3. I keep reading information about problems with SP1 but I don't see it in my Control Panel as installed (just SP2.) Can I install Feb or April 2014 CU and avoid whatever issues were happening with July 2013 CU and SP1?
4. Any advice on next steps is greatly appreciated.Hi LD2009,
here are the answers to your questions:
Q1: The CU April 2014 has included all fixes since SP2. So you don't need to install older CUs.
Q2: You don't need seperate packages for SharePoint and Project Server. There is a Rollup-Package which updates both SharePoint
and Project Server together. You can find it
here.
Q3: You must enshure that SP2 was installed and deployed correctly. In the Central Administration check if all databases were upgradet to the latest Level. If not, run psconfig.
If you have the BCS Service configured then you have to run the following PS script (otherwise the BCS database would remain in the compatibility mode):
(Get-SPDatabase | ?{$_.type -eq “Microsoft.SharePoint.BusinessData.SharedService.BdcServiceDatabase”}).Provision()
For all other issues we need more details.
For more informations read the blog posts from
Brian Smith and
Stefan Goßner.
I hope this helps.
Regards
Bernhard Fischer
Bernhard Fischer [MVP] | www.wodey.de -
Project server 2010 don't respect the 'Choose an account' option
We have in our company Project Server 2010.
We use to create the 2 URLs accounts for all users through the Create Accounts and choose the 'Choose an account' option so the users can select weather to work offline ("Computer") or from one of the URLs.
We encountered two cases already, that the Project Pro don't respect the
'Choose an account' option -
Every time we select the 'Choose an account' radio botton and close the Project Pro it automatically open the default account without showing the accounts window and switches back to 'Use my default account'.
If these 2 users interested in working offline they have to swich it manually only after the default account opens but they cannot open the second URL.
Does anyone know of such a case and is there a workaround to solve it?Hi Maya,<o:p></o:p>
Do you see this behavior on multiple machines or single machine?<o:p></o:p>
Try removing the accounts and recreating it again with "Choose an account" option and check if that helps<o:p></o:p>
Also let us know what value you see for the "Autoconnect" registry key at below location?<o:p></o:p>
Hkey_current_user\Software\Microsoft\Office\14.0\MS Project\Settings\<o:p></o:p>
Thanks,<o:p></o:p>
Kiran K.<o:p></o:p> -
Project Server 2010 Jobs All 'Waiting To Be Processed'
Hello,
We have installed Project Server 2010 for evaluation and are running into an issue when creating new projects in the Project Center. The installation included SharePoint 2010 and is a single-machine install (i.e. DB and WFE on same machine).
We can access the site without any problem and when accessing the Project Center and electing to create a new project from Basic Project Plan template, the interface processes the request and then informs us that the request was taking a long time to process
and to check the Manage Queue Jobs interface for status.
Reviewing the queued jobs reveals four queued tasks for Project Create, Project Publish Notifications, Project Publish and Start Workflow, all with a Job State of 'Waiting To Be Processed'. When we originally ran into this issue, we realized that the
User Profile Synchronization Service was configured to run with the Network Service account and that the two relevant ForeFront Identity Manager services were not running. We had read that this may cause the queue to not process requests, so we reconfigured
the system to use a domain account and started the User Profile Synchronization Service Application (which in turn started the ForeFront Identify Manager services).
However, this did not help and the jobs (as well as new jobs) are still waiting to be processed. We don't see any errors listed in the queue and can't really find relevant errors in the SharePoint logs or event viewer.
Has anyone else run into this problem who can provide some insight? Thanks.
JohnAnother thing to check John, and you may well find evidence in the ULS logs, is that the queue service is really running. Just looking in Services isn't enough. When the queue service starts it will check for the presence of PWA sites within
each and every (probably just one) Project Service Application you have running. It will then spawn an extra process for each Service Application it finds that has one or more PWA instances. So you should always see at least two Microsoft.Office.Project.Server.Queuing.exe
processes running within Task Manager -and if you just see one the looking in the ULS logs should give an indication why it didn't start up (re-starting will give you a fresh entry in the log - which will be easier than searching through lots of logs.
Best regards,
Brian.
Blog |
Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter |
Project Developer Center |
Project Server Help | Project Product Page -
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.
ThanksHi,
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 : Webapp - tasks - "An Unknown Error has occured"
Software used
Project server 2010
SharePoint 2010 RTM
Sql Server 2008 R2
Steps taken
new project server 2010 setup on a virtual machine
importing/publishing 2 projects from projectcentral 2000 to project server 2010.
a user has 122 tasks (in project central 2000 he only gets 15 tasks in his view)
unable to view the detail of the tasks --> unkown error.
there is a sql time out in the log files, from the following query (when i run it in SQL management studio it takes > 5 minutes)
declare @ResUid UniqueIdentifier; set @ResUid = '9ffd71a7-c94a-44f5-b3b1-6d27eb17f541';
declare @ViewUid UniqueIdentifier; set @ViewUid = 'a20480ef-c755-4da7-a36f-5fe92fed0c68';
declare @P0 UniqueIdentifier; set @P0 = '9ffd71a7-c94a-44f5-b3b1-6d27eb17f541';
SET NOCOUNT ON
SELECT MAS.ASSN_UID , MAS.PROJ_UID INTO #T0
FROM dbo.MSP_ASSIGNMENTS_SAVED AS MAS
INNER JOIN dbo.MSP_PROJECTS AS MP ON MP.PROJ_UID = MAS.PROJ_UID
INNER JOIN dbo.MSP_TASKS_SAVED AS T ON T.PROJ_UID = MAS.PROJ_UID AND T.TASK_UID = MAS.TASK_UID
INNER JOIN dbo.MSP_PROJECT_RESOURCES AS R ON R.PROJ_UID = MAS.PROJ_UID AND R.RES_UID = MAS.RES_UID
INNER JOIN dbo.MSP_RESOURCES AS R2 ON R2.RES_UID = R.RES_DEF_ASSN_OWNER
LEFT JOIN dbo.MSP_RESOURCES AS R3 ON R3.RES_UID = MAS.RES_UID_OWNER
LEFT JOIN dbo.MSP_RESOURCES AS R4 ON R4.RES_UID = MAS.WRES_UID_MANAGER
WHERE MAS.WASSN_LOCKDOWN_BY_MANAGER = 0AND T.TASK_IS_ACTIVE = 1 AND ( (MAS.RES_UID_OWNER = @P0) )
CREATE CLUSTERED INDEX PK_#T0 ON #T0 (ASSN_UID, PROJ_UID)
SET NOCOUNT OFF
SELECT MAS.ASSN_UID , MAS.PROJ_UID , MAS.TASK_NAME , MAS.ASSN_START_DATE , MAS.ASSN_FINISH_DATE ,
ASSN_REM_WORK , MAS.ASSN_PCT_WORK_COMPLETE , ASSN_WORK , ASSN_ACT_WORK , MAS.TASK_UID , PROJ_NAME ,
WASSN_IS_NEW_ASSN , MAS.WASSN_REMOVED_BY_RES , case when exists ( select * from MSP_ASSIGNMENT_TRANSACTIONS t where MAS.ASSN_UID = t.ASSN_UID and t.ASSN_TRANS_STATE_ENUM = 1) then 1 else 0 end AS
ASSN_RESPONSE_PENDING , MAS.WASSN_MGR_UPDATED , MAS.WASSN_ACTUALS_PENDING , MAS.WASSN_SEND_UPDATE_NEEDED , MAS.WASSN_LOCKDOWN_BY_MANAGER
, MAS.WASSN_DELETED_IN_PROJ , MAS.WASSN_COMMENTS , R.RES_NAME , T.TASK_IS_MILESTONE , WASSN_UPDATE_TRACKING_MODE
, T.TASK_NOTES , T.TASK_IS_MANUAL , T.TASK_HIERARCHY , T.TASK_DUR_TXT , T.TASK_FINISH_TXT ,
T.TASK_START_TXT , MAS.TASK_IS_SUMMARY , WO.WOBJ_UID , MP.PROJ_OPT_MINUTES_PER_DAY , MP.PROJ_OPT_MINUTES_PER_WEEK ,
MP.PROJ_OPT_DAYS_PER_MONTH , MP.PROJ_OPT_CURRENCY_CODE , MAS.ASSN_STOP_DATE , T.TASK_IS_SUBPROJ , T.TASK_IS_ACTIVE ,
T.TASK_START_DATE , T.TASK_FINISH_DATE , T.TASK_DUR , MAS.RES_UID , R.RES_MATERIAL_LABEL , R.RES_TYPE ,
ASSN_UPDATE_NEEDED
FROM dbo.MSP_ASSIGNMENTS_SAVED AS MAS
INNER JOIN dbo.MSP_PROJECTS AS MP ON MP.PROJ_UID = MAS.PROJ_UID
INNER JOIN dbo.MSP_TASKS_SAVED AS T ON T.PROJ_UID = MAS.PROJ_UID AND T.TASK_UID = MAS.TASK_UID
INNER JOIN dbo.MSP_PROJECT_RESOURCES AS R ON R.PROJ_UID = MAS.PROJ_UID AND R.RES_UID = MAS.RES_UID
INNER JOIN dbo.MSP_RESOURCES AS R2 ON R2.RES_UID = R.RES_DEF_ASSN_OWNER
LEFT JOIN dbo.MSP_RESOURCES AS R3 ON R3.RES_UID = MAS.RES_UID_OWNER
LEFT JOIN dbo.MSP_RESOURCES AS R4 ON R4.RES_UID = MAS.WRES_UID_MANAGER
INNER JOIN #T0 AS keys ON keys.ASSN_UID = MAS.ASSN_UID AND keys.PROJ_UID = MAS.PROJ_UID
LEFT JOIN dbo.MSP_WEB_OBJECTS AS WO ON WO.WOBJ_PROJ_UID = T.PROJ_UID AND WO.WOBJ_TASK_UID = T.TASK_PUBLISHED_UID AND WO.WOBJ_TYPE = 2
WHERE MAS.WASSN_LOCKDOWN_BY_MANAGER = 0AND T.TASK_IS_ACTIVE = 1
DROP TABLE #T0;
This query creates a tempory table -- when ran seperately = fast
The query does a selection joining the temporary table.
When running the second query without the join on the temp it takes 8 seconds and result in 826 records (all assignements in the db)
After looking at the join and where clauses used in the first and second query i see they are almost identical and with only adding "AND ( (MAS.RES_UID_OWNER = @P0) ) " and not using a temp table, I get the wanted result (122) only taking half
a second.
So
Suggestions how to fix, circumvent the problem?Exact same problem, took me hours to trace it, but i get the exact same behavior, some people can open the tasks view normally, some other people get timeouts.
Tried multiple browsers, logging different users on different machines, different hours in the day with different loads and capacities, verified that SQL Server and SharePoint Servers and Project Servers are not over utilitized.
There just seems to be something wrong with this query, i tried running it in SQL Server Management Studio, and it does indeed take alot of time to generate results, about 5 mins or so for some users.
Please can anyone suggest a solution other than contacting support, this is heavily impacting our business.
Maybe you are looking for
-
Since installing Leopard, I have at least 5 applications that will randomly quit (Safari, Firefox, Excel, Final Draft, iTunes) and weird other problems like freezing on quickbooks. Should I go back to Tiger? How would I even do that? Does anyone else
-
Font.registerFont and ApplicationDomain problem
HI, Here's the scenario, I have application A that load application B in a seperate application domain. Application B load an external font library (font.swf) and when loaded, application B try to register the fonts with Font.registerFont(fontClass).
-
Possible to include all columns of a table in a SELECT but exclude BLOBS?
Hi I am using Oracle 9i. I was hoping the following would give me a list of rows in 1 table on a schema that are not in another identical table on another schema: select * from online.table minus select * from offline.table However, the statement iss
-
RT Build Specifications: Component Definition Category is unresponsive
Hi, I am using LabVIEW 2013 SP1 f2, with Real-Time 13.0.1 When I open the Properties page for a Real-Time Application build specification (to run on a cRIO-9075), and select the Component Definition category, I find that the following occurs: - LabV
-
Charging for first time: Will Itunes auto sync ?
I'm about to charge a new 4 gHz Nano for the first time , using a Windows XP PC. I will charge it for a few hours in advance of giving it to my son for his birthday tomrrow. One quick question... We currently have Itunes 7.0 on the PC with two differ