Project Server 2010 Webpart for Project Detail Pages
Hello,
I do have a requirement where I need to develop a Project Server Web Part to show some calculated project information based on some business rule from Reporting database.
That webpart I have to add in Project Detail Pages to show calculated project information for the Project I have selected/clicked from Project Center.
So please tell me how can I link my webpart with ProjUID in URL like "PWA/Project%20Detail%20Pages/ProposalStageStatus.aspx?ProjUid=2b24d36b-7796-4789-ada3-d895d218fc14"
So that it shows data corresponding to opened project in Project Server.
Thanks and let me know in case have any doubts in understanding the requirement.
Hi YLee_1980,
If I understand your requirement correctly then you can use ProjUID querystring paramater to get specific ProjectUID like below
HttpContext.Current.Request.QueryString["ProjUid"];
Then after getting ProjectUID you can use it anywhere in your SQL query, PSI method calling etc etc.
Also you can look into PS 2010 Solution Starter
custom solutions Kit to enhance your knowledge on PS 2010 development. That would a great starting point.
Thanks much hope this will help
Sachin Vashishth MCTS
Similar Messages
-
Hi,
We are using DM Dynamic Work flow in Project Server 2010 environment. When we tried to create a project the project is creating and teh workflow is not starting-- in the queue jobs the start work flow is failing withput blocking correlation -- below is teh
eror message which we are getting
Exception Starting Workflow: Exception has been thrown by the target of an invocation.. Trace: at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at Microsoft.SharePoint.Workflow.SPWorkflowManager.LoadPluggableClass(String
classname, String assembly, Object[] parameters) at Microsoft.SharePoint.Workflow.SPWorkflowManager.GetService(SPWorkflowAssociation association, SPWorkflowEngine engine) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow,
Collection`1 events, SPWorkflowRunOptionsInternal runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions
runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowManager.<>c__DisplayClass13.<StartWorkflow>b__12(SPSite superUserSite, SPWeb superUserWeb) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflow(Object context, SPWorkflowAssociation
association, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOpts) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflow(Object context, SPWorkflowAssociation association, String eventData, SPWorkflowRunOptions runOptions) at Microsoft.Office.Project.Server.BusinessLayer.Workflow.<>c__DisplayClass36.<StartWorkflow>b__33()
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.Workflow.StartWorkflow(Guid projectGuid, Guid enterpriseProjectTypeUid, Boolean isNewProject,
Guid previousEntepriseProjectTypeUid, Boolean skipStage, Guid stageToSkipTo):
WorkflowExceptionStartingWorkflow (35115). Details: id='35115' name='WorkflowExceptionStartingWorkflow' uid='c09fc55c-4f19-49f4-8e49-17d3af3d9916'.
Error:
WorkflowCannotStartWorkflow (35100). Details: id='35100' name='WorkflowCannotStartWorkflow' uid='42c15879-e40c-4d04-b76d-bde108da3a67'.
Queue:
GeneralQueueJobFailed (26000) - WorkflowStartWorkflow.WorkflowStartWorkflowMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='60422e4b-033b-4b41-aa71-503f4d7e20f4' JobUID='64b29d91-4f4e-4719-b199-d2dae88cfbd3' ComputerName='NP2EPMS600V' GroupType='WorkflowStartWorkflow'
MessageType='WorkflowStartWorkflowMessage' MessageId='1' Stage=''. For more details, check the ULS logs on machine NP2EPMS600V for entries with JobUID 64b29d91-4f4e-4719-b199-d2dae88cfbd3.
Request you to help as we are facing this issue from 2 days we tried most of the options like creating new workflow and the same issue persisits for the new once also.
Thanks
Geeth
Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.Hi Paul,
We are using a third party tool called UMT Project Essentials 2012, recently we have removed the tool from sharepoint central admin and uninstalled from the server.
We tried deleting some missing assemblies features web parts which are referencing to that tool but still we are not able to start the workflow and the same issue persists.
below are the log file for your reference.
09/19/2014 02:04:37.96 Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fu Unexpected Load
Workflow Class: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f'
or one of its dependencies. The system cannot find the file specified. File name: 'UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f' 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& stackMar... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fu Unexpected ...k,
Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String
assemblyString) at Microsoft.SharePoint.Workflow.ServiceConfigurationElement.get_AssemblyObject() at Microsoft.SharePoint.Workflow.ServiceConfigurationElement.get_ClassType() at Microsoft.SharePoint.Workflow.SPWorkflowExternalDataExchangeServiceCollection.Add(ServiceConfigurationElement
serviceCfg) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.EnsurePluggableServices(SPSite site, SPWorkflowExternalDataExchangeServiceCollection services, ExternalDataExchangeService existingServices) at
Microsoft.SharePoint.Workflow.SPWinOeHostServices..ctor(SP... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fu Unexpected ...Site
site, SPWeb web, SPWorkflowManager manager, SPWorkflowEngine engine) === Pre-bind state information === LOG: User = HALAMERICA\fhouspepmadmd LOG: DisplayName = UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f
(Fully-specified) LOG: Appbase = file:///C:/Program Files/Microsoft Office Servers/14.0/Bin/ LOG: Initial PrivatePath = NULL Calling assembly : Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
=== LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Program Files\Microsoft Office Servers\14.0\Bin\Microsoft.Office.Project.Server.Queuing.exe.config LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\mac... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fu Unexpected ...hine.config.
LOG: Post-policy reference: UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f LOG: The same bind was seen before, and was failed with hr = 0x80070002. --- End of inner exception
stack trace --- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at
Microsoft.SharePoint.Workflow.SPWorkflowManager.LoadPluggableClass(String classname, String assembly, Object[] parameters) b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96 Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f' or one of its dependencies. The
system cannot find the file specified. File name: 'UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f' 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 forIntrosp... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected ...ection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.SharePoint.Workflow.ServiceConfigurationElement.get_AssemblyObject() at Microsoft.SharePoint.Workflow.ServiceConfigurationElement.get_ClassType() at Microsoft.SharePoint.Workflow.SPWorkflowExternalDataExchangeServiceCollection.Add(ServiceConfigurationElement
serviceCfg) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.EnsurePluggableServices(SPSite site, SPWorkflowExternalDataExchangeServiceCollection services, ExternalDataExchangeService existingServices) at
Microsoft.SharePoint.Workflow.SPWinOeHostServices..ctor(SPSite site, SPWeb web,... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected ...
SPWorkflowManager manager, SPWorkflowEngine engine) === Pre-bind state information === LOG: User = HALAMERICA\fhouspepmadmd LOG: DisplayName = UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f
(Fully-specified) LOG: Appbase = file:///C:/Program Files/Microsoft Office Servers/14.0/Bin/ LOG: Initial PrivatePath = NULL Calling assembly : Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
=== LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Program Files\Microsoft Office Servers\14.0\Bin\Microsoft.Office.Project.Server.Queuing.exe.config LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config. LOG: Po... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected ...st-policy
reference: UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f LOG: The same bind was seen before, and was failed with hr = 0x80070002. --- End of inner exception stack trace
--- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at Microsoft.SharePoint.Workflow.SPWorkflowManager.LoadPluggableClass(String
classname, String assembly, Object[] parameters) at Microsoft.SharePoint... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:37.96* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected ....Workflow.SPWorkflowManager.GetService(SPWorkflowAssociation
association, SPWorkflowEngine engine) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions) b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.06 w3wp.exe (0x183C) 0x1520 SharePoint Foundation
Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://np2epms600v:32843/e088435160fb48758ab14cf625ed7499/MetadataWebService.svc'
Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges' MessageId: 'urn:uuid:cb6b4635-9c5f-4ad4-b755-0e5fb699d335'
09/19/2014 02:04:38.07 w3wp.exe (0x0CD4) 0x1D24 SharePoint Foundation
Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://np2epms600v.corp.halliburton.com:32843/e088435160fb48758ab14cf625ed7499/MetadataWebService.svc'
Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges' MessageId: 'urn:uuid:cb6b4635-9c5f-4ad4-b755-0e5fb699d335' a6d541cf-f5b9-4c7b-9e6b-d2637dd025b6
09/19/2014 02:04:38.07 w3wp.exe (0x0CD4) 0x1D24 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) a6d541cf-f5b9-4c7b-9e6b-d2637dd025b6
09/19/2014 02:04:38.07 w3wp.exe (0x0CD4) 0x1D24 SharePoint Server
Taxonomy fuc5 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' starting. a6d541cf-f5b9-4c7b-9e6b-d2637dd025b6
09/19/2014 02:04:38.08 w3wp.exe (0x0CD4) 0x1D24 SharePoint Server
Taxonomy fuc6 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' completed. a6d541cf-f5b9-4c7b-9e6b-d2637dd025b6
09/19/2014 02:04:38.08 w3wp.exe (0x0CD4) 0x1D24 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=4.88944823992994 a6d541cf-f5b9-4c7b-9e6b-d2637dd025b6
09/19/2014 02:04:38.12 Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fq Unexpected Start
Workflow: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f'
or one of its dependencies. The system cannot find the file specified. File name: 'UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f' 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, Bo... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.12* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fq Unexpected ...olean
forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String
assemblyString) at Microsoft.SharePoint.Workflow.ServiceConfigurationElement.get_AssemblyObject() at Microsoft.SharePoint.Workflow.ServiceConfigurationElement.get_ClassType() at Microsoft.SharePoint.Workflow.SPWorkflowExternalDataExchangeServiceCollection.Add(ServiceConfigurationElement
serviceCfg) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.EnsurePluggableServices(SPSite site, SPWorkflowExternalDataExchangeServiceCollection services, ExternalDataExchangeService existingServices) at
Microsoft.SharePoint.Workflow.SPWinOeHostServices..ctor(SPSite ... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.12* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fq Unexpected ...site,
SPWeb web, SPWorkflowManager manager, SPWorkflowEngine engine) === Pre-bind state information === LOG: User = HALAMERICA\fhouspepmadmd LOG: DisplayName = UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f
(Fully-specified) LOG: Appbase = file:///C:/Program Files/Microsoft Office Servers/14.0/Bin/ LOG: Initial PrivatePath = NULL Calling assembly : Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
=== LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Program Files\Microsoft Office Servers\14.0\Bin\Microsoft.Office.Project.Server.Queuing.exe.config LOG: Using machine configuration file from
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.12* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fq Unexpected ...config.
LOG: Post-policy reference: UMT.CostModule.Workflow, Version=2.0.0.0, Culture=neutral, PublicKeyToken=4ec97d0ba92f048f LOG: The same bind was seen before, and was failed with hr = 0x80070002. --- End of inner exception
stack trace --- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at
Microsoft.SharePoint.Workflow.SPWorkflowManager.LoadPluggableClass(String classname, String assembly, Object[] parameters) at Micr... b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.12* Microsoft.Office.Project.Server (0x100C) 0x1C20 SharePoint Foundation Workflow Infrastructure 72fq Unexpected ...osoft.SharePoint.Workflow.SPWorkflowManager.GetService(SPWorkflowAssociation
association, SPWorkflowEngine engine) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object
context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions) b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.12 Microsoft.Office.Project.Server (0x100C) 0x1C20 Project Server Project Server Workflow
ai7z Verbose Error is: WorkflowExceptionStartingWorkflow. Details: . Standard Information: PSI Entry Point: Project User: HALAMERICA\H139933 Correlation Id: b72f3008-fc65-400c-815d-393ccd1c8932 PWA Site URL:
http://devpsepm4tech.corp.halliburton.com/PWA SSP Name: Project Server Service Application PSError: WorkflowExceptionStartingWorkflow (35115) b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.13 Microsoft.Office.Project.Server (0x100C) 0x1C20 Project Server General
b0ry Medium PWA:http://devpsepm4tech.corp.halliburton.com/PWA, ServiceApp:Project Server Service Application, User:HALAMERICA\H139933, PSI: [ProjectServerError] Mismatched Attributes for PSErrorID WorkflowCannotChangeWorkflow. List of
defined attributes: none. List of provided values: 05c80469-125d-44bc-853b-b906f7e1076a, Microsoft.Office.Project.Server.BusinessLayer.QueueMsg.WorkflowChangeWorkflowMessage, 1, DontBlock. b72f3008-fc65-400c-815d-393ccd1c8932
09/19/2014 02:04:38.13 Microsoft.Office.Project.Server (0x100C) 0x0178 Project Server Queue
954
Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful. -
Project Server 2010 - Auto publish projects in Project Center
Hi,
We checked that we can make rules and auto publish the task updates. However we want to auto publish the projects in project center (Project Server 2010). Is there any way to do this?
Your help is appreciated.
Thanks,
AnujaHello,
Not quite from the project center but you could have a windows scheduled task that bulk published the projects over night or each week etc. See the PowerShell script below:
https://gallery.technet.microsoft.com/Server-2010-Publish-all-45ba385b
if you want to publish specific projects you could look at this script:
https://gallery.technet.microsoft.com/Server-2010-Publish-537857d8
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS |
MVP | Downloads -
Project Server 2010 how many CAL licenses do I need?
Hey Guys,
We have Project Server 2010 running for two years now.
We are preparing for the true-up yearly exercise with Microsoft to count the nbr of CAL licenses we need.
As Project Server admin I have been asked to provide an access log of the users accesing Project Server.
Is there a way to know how many users are accessing Project Server so we know how many CAL we need?
I alreayd read the project server 2010 licensing guide (http://download.microsoft.com/download/F/8/8/F88B3241-3E27-4BDD-8A01-ABF2422FB31C/Project%202010%20Licensing%20-%20Licensing%20Guide.pdf)
but it does not help me in this case.
Thanks in advanceI found my answer here :
http://social.technet.microsoft.com/Forums/en-US/0507ab7f-82d3-435d-8f90-74f2edfa3aa7/how-to-count-number-of-users-in-project-server-2010
"Well, you could just go to Server Settings >> Manage Users >> Actions and Export to Excel.
From there you can filter out the Active vs. Inactive Resources, and get your counts" -
Hi,
In Project Server 2010, it was possible to customize the JSGrid, thanks to the tutorial included in the SDK "Walkthrough:
Customizing the PWA Ribbon and Accessing the JS Grid". It works really fine, and I used this possibility in many Project Server 2010 implementation for Customer.
I would like to make it on Project Server 2013, but the same code doesn't work. I found some posts
here, where people had the same issue, but no clear answer.
The Project Server 2013 SDK does not contain the same tuto upgraded for 2013, and I hope that this possibility still exists.
If somebody has a very basic example to show how to execute some custom code on Focus Change event, or clic, or what ever event happening on this JSGrid, it would be very nice to share.
My installation is On Premise, not in On Line.
Thank you for your help !
SylvainHi,
In fact for filtering, you have to use delegate.
The "HandleFilter" function must be created by you. You have to bind this function to the correct delegate.
For filtering, the main delegates are:
SP.JsGrid.DelegateType.AutoFilter
SP.JsGrid.DelegateType.LaunchFilterDialog
SP.JsGrid.DelegateType.GetAutoFilterEntries
The post
here explains the process for 2010. For Project Server 2013, the difference is that we don't have the same objects.
Here you can find the way to declare the delegate in Project Server 2013, with the SetDelegate method:
var pc; // Contains the Project Center extension object.
var JsGridControlInstance;
var JsGridSatellite;
_spBodyOnLoadFunctionNames.push("ProjectCenterMain");
function ProjectCenterMain() {
pc = new ProjectCenterExtension();
function ProjectCenterExtension() {
if (typeof projectCenterComponent === 'undefined')
return;
JsGridSatellite = projectCenterComponent.get_GridSatellite();
JsGridControlInstance = projectCenterComponent.get_GridSatellite().GetJsGridControlInstance();
JsGridSatellite.get_tableViewParameters().bAutoFilterableColumns = true;
JsGridControlInstance.SetDelegate(SP.JsGrid.DelegateType.AutoFilter, HandleFilter);
JsGridControlInstance.SetDelegate(SP.JsGrid.DelegateType.LaunchFilterDialog, FilterDialog);
JsGridControlInstance.SetDelegate(SP.JsGrid.DelegateType.GetAutoFilterEntries, FilterMenu);
function HandleFilter(newState) {
alert("Filter !");
function FilterDialog(param) {
alert("FilterDialog !");
function FilterMenu(param) {
alert("FilterMenu !");
My advice to search, is to put a break point on the ProjectCenterExtension function, and through debugger, tou can drill down in the main methods and properties.
Often you will see functions with get_XYZ(), and then be able to make the matching with the Project Server 2010 syntax.
For the filtering implementation, I beleive that you can deal with your article based on 2010: it should work as soon as you will get the equivalent objects in 2013.
Hope it helps !
Sylvain -
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 -
Project Server 2010 Task page - An unknown error has occurred
Hi All,
I have searched inside the forum for similar problems but i didn't find any solution.
We have Project Server 2010 with December CU installed and
we are
experiencing
a serious
problem with two enterprise resources.
They can login to pwa succesfully but when they enter in the Task page the following error is raised:
An unknown error has occurred
There are no errors reported in the event viewer while in the ULS Log I found only this entry but i don't know if it's related with this issue:
Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace:
at Microsoft.SharePoint.SPWeb.get_CurrentUser()
at Microsoft.Office.Project.PWA.PJContext.get_RegionalSettings()
at Microsoft.Office.Project.PWA.PJContext.get_LocaleCulture()
at Microsoft.Office.Project.PWA.WCFContext.AuthenticateUser(Message message, WCFContext& wcfContext, String userName, Boolean isWindowsUser)
at Microsoft.Office.Project.PWA.WCFContext.GetContext(Message message, String userName, Boolean isWindowsUser, Boolean newCookie, Uri originalTargetUri)
at Microsoft.Office.Project.Server.ProjectServerRouter.Microsoft.Office.Project.Server.IProjectServerRouter.ProcessMessage(Message message)
at SyncInvokeProcessMessage(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
at System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.ServiceModel.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.InputQueue`1.AsyncQueueReader.Set(Item item)
at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)
at System.ServiceModel.Channels.InputQueue`1.EnqueueAndDispatch(T item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)
at System.ServiceModel.Channels.InputQueueChannel`1.EnqueueAndDispatch(TDisposable item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)
at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback, Boolean canDispatchOnThisThread)
at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, ItemDequeuedCallback dequeuedCallback)
at System.ServiceModel.Channels.HttpChannelListener.HttpContextReceived(HttpRequestContext context, ItemDequeuedCallback callback)
at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)
at System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state)
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke2()
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.WorkItem.Invoke()
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ProcessCallbacks()
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.CompletionCallback(Object state)
at System.ServiceModel.Channels.IOThreadScheduler.CriticalHelper.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
It's not a task related errors because i have alredy done an analysis of the resorce's assignments.
I have also verified IIS authentication settings as described in this
post but all had been alredy correctly configured.
We have a farm installation with two physical server:
Application Server with Windows 2008 R2, SharePoint 2010 Enterprise, Project Server 2010
Database Server with Windows 2008 R2 and SQL Server 2008 SP2
Any help would be greatly appreciated!
Thanks in advance.
RaffaeleHi,
I faced exactly the same problem: some resources try to connect to My Tasks, and get an Unknown error. No error message in ULS or Eventlog.
I hope I solved the problem, and want to share the experience here.
First, by reading this article,
http://www.projectserverexperts.com/ProjectServerFAQKnowledgeBase/Unknown%20Error%20My%20Tasks%20Page.aspx: even if the SQL Query returns me no records, it gives me the idea to delete (unpublish) some tasks (i managed to identify some tasks which raised
the problem, by assigning a test account on them, and see that the pb happened).
So I decided to delete my project from the Published Database (and keep it in the Draft of course). Than in Project Pro, I opened and Published: the problem seem to be solved.
I don't know the root cause of the pb: maybe some SQL data were corrupted for an unknown reason.
Hope it could help some one ! Don't hesitate to give feedback if you solved this pb with this solution, or workaround.
Sylvain -
An Unknown Error Has Occurred - Project Server 2010 - Tasks Page
Greetings! Some of my resources are recieving the error "An Unknown Error has occurred" (in red) when trying to access their TASKS Page in Project Server 2010.
I've researched this error quite a bit and am finding suggestions and answers pretty much all over the board. Before I have my server people start installing a slew of hot fixes - I want to know if anyone has an idea of the underlying cause
for this error. Since this issue doesn't affect everyone (i.e. I can access my task page), is it possibly related to the actual schedule in which they have assignments?
Any help is appreciated.
Thanks!
~Randyi have found the solution for this issue, you need to do this:
in the logs you must search the "exception" and the logs give you a ID, this ID is about the task assignment in the specific resource , so this assignment is corrupt.
this ID, you need to merge in the SQL server in the project server database, you need to merge ID task with ID Project with ID Resource, so when you identify the ID project and ID resource you can
DELETE this assignment in the project from project profesional, because this task has a corrupt assignment, you must delete
ONLY FROM project professional.
This solutión solve this specific problem for this assignment that
IS DIFERENT TO THIS SOLUTION post of Brian Smith:
http://blogs.msdn.com/b/brismith/archive/2010/07/02/project-server-2010-an-unknown-error-has-occurred-in-project-center-resource-center-or-tasks.aspx?Redirected=true
Erick Gutiérrez PMI Membership #ID 2089740 MTCS - Microsoft Project Server Managing Projects -
How to change the look and feel for Heading of quick launch menu in project server 2010
Hi
can someone tell me how to change the look and feel of Header names in quick launch.
I want the header to be displayed in Bold with Underline to it.
could this be possible for just header in quick launch in project server 2010.Hi Rohan
It does not work this way. You have to use a content editor webpart.
See references below that might help you starting with this customisation:
Http://go4answers.webhost4life.com/Example/sharepoint-2010-quick-launch-look-feel-78379.aspx
Http://m.sharepointpromag.com/sharepoint/four-ways-add-or-remove-quick-launch-menu-control
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
How to enable Portfolio Analysis Feature for Project Server 2010?
Hi,
We have a Project Server 2010 instance. We now want to Use the Portfolio Analysis on our server. How can we enable the feature on our existing environment without disturbing any current feature that we have ?
If someone can provide with the detailed steps for the configuration process that will be helpful.
ThanksHi ,
The portfolio feature is part of the out of the boxProject Server 2010 solution. Maybe you just have to unhide the links in the quick launch menu. It will not disturb any of your current configuration.
Please find here a couple of links:
https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=12&checkda=1&ct=1397216770&rver=6.0.5276.0&wp=MCLBI&wlcxt=technet%24technet%24technet&wreply=http%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fgg715564%2528v%3doffice.14%2529.aspx&lc=1033&id=254354&mkt=en-US
http://azlav.umtblog.com/2012/04/10/resource-plans-and-portfolio-analysis/
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
Error when navigating to the PWA root site for Project Server 2010
I received a nice Happy New Year from my Project Server 2010 today. I tried to navigate to the root site and received the following error.
Error
The base type 'Microsoft.Office.Project.PWA.PJBaseWebPartPage' is not allowed for this page. The type is
not registered as safe.
Troubleshoot
issues with Microsoft SharePoint Foundation.
Correlation ID: b1898d3e-5d41-4ed4-9466-1d7775714293
Date and Time: 1/3/2012 10:54:53 AM
I did some searching and found that it could be one of 2 things
1.
App Pool security
2.
Custom Master page.
All the sub-sites seem to work fine, so I went with option 2. I changed the Master page of the root site back to v4.master and everything works fine again.
So far the only solution I found to allow for using a Custom master page is to modify the web.config as suggested here:
http://jimecox.wordpress.com/2011/05/03/project-server-2010-changing-master-page/
My custom master was working fine for the past 6 months, so I’m not sure why I need to make this new update.
Anyone else run into this recently with another fix? The changes seem to be opening the security on the Project web app a bit or am I wrong?
Thank you in Advance!Looks like I fixed this by changing the Master page back to the OOTB version v4.master here:
https://<pwa url>/_Layouts/ChangeSiteMasterPage.aspx
Then I navigated to the PWA root site.
https://<pwa url>/default.aspx
Finally changed the master page back to my custom one. Error gone! -
Create a defaut view for the MS Project Server 2010 client
Dear Forum,
how can I create a defaut view for the MS Project Server 2010 client?
I saved a template and set a default view under File -> Options ->Project View. I also did the same in the checked-out enterprise global. If I then close the client and re-open it my default view changes back again to the previous one (not the view
I set as a default view).
What explains this behaviour and what can I do? Any hints?
Thank you very much for your help!Scheduler007 --
The view you selected by clicking File > Options > Project View is the default view for every new project you create from a blank project template. This is a global option, so setting it from the checked out Enterprise Global file serves no purpose.
When you select a view as your default view, you will see that view applied to the blank project that is opened when you launch Microsoft Project 2010, and you will see it applied if you create new blank projects. If you create enterprise templates for
people to use in your organization, you should simply apply the view to the template that you want as the default so that users will see this view immediately when they create a new project from the template. In addition, if you apply a view to an open
project, close and check in the project, and then reopen the project, you will see the last view applied in that project (as Guillaume correctly points out).
Beyond this, there is no method possible for the Project Server administrator to specify a default view for the Microsoft Project application used by the project managers in your organization. This is an option each PM must set. Hope this helps.
Dale A. Howard [MVP] -
Project Server 2010 - Different Schedule Dates for Different Users -- Same File
We have an issue regarding users viewing the same schedule, different machines.
The PMs have a schedule that was built in 2007 by the offshore team. We are running Project Server 2010 corporate, and they the PMs here on site have Project Professional 2010. Within the last couple of weeks, the PMs have noticed changes in
the dates.
When I open the schedule, I see the expected dates rendered in both PWA and Project Professional. Both draft and published versions are the same regardless of where the schedule is opened for editing. There are two PMs managing the schedules.
One sees what I see--the expected dates. The other sees differences in dates--months, in fact. Scheduled end date is 10/22/2013. When the second PM opens the schedule, he sees a scheduled end date of 2/17/2014.
I advised them that the offshore team needed to upgrade to 2010 due to the differences between 2007 and 2010. Additionally, and I could be wrong, having the server run in compability mode for so long (the upgrade was done in May 2013), is not ideal.
(Offshore team has since updated to 2010.)
Any thoughts on what could be causing this issue? Corrupt version of Professional? Settings askew?
Thank you,
L.D.My bad, I didn't know that you were not using Project Server.
Then the file might be corrupted.
Try the
XML export and the
save for sharing method to repair it.
Hope this helps,
Guillaume Rouyre, MBA, MCP, 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 -
Any good training videos for project server 2010
Hi All,
I am working on SharePoint for several years and we had installed project server & created PWA site. But project server looks lot different from SharePoint. is there any good training video's for project server 2010?
Thanks for any help
RithuRithu,
This would be a good place to start: http://technet.microsoft.com/en-us/library/ff628958(v=office.14).aspx
There are also several videos on Youtube as well. I am not sure if there is a 'structured' course available for Project Server 2010
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
Maybe you are looking for
-
Howdy Folks- I wrote a server monitor in java, which I was expecting to run for months at a time without restarting. Apparently there is some slow memory leak which results in an OutOfMemoryError after a few weeks. It's in a production system, so I c
-
How to search for a variety of characters
I am working on a document wherein a script I ran has applied differential results to page indicators. I am trying to ensure that I have easy accessibility to indexing in an e-book format, and so I am doing the following: 1.) Inserting notes at physi
-
SB live 5.1 not working even with original new installation cd.Pls H
Hi, I have purchased just last week a brand new PC with intel 95 chipset asus mbd P5-GL-MX having on -board azalia sound component.Along with just got box packed Li've 5. sound card. This has in pack original installation cd.after installing card and
-
Hi everybody, I've had my Lumia 820 for about 2 weeks. At the begining everything was fine, but recently I've had several problems with the device as I mentioned in the title. It turns itself off time to time. It doesn't matter if I'm using it or it'
-
Hi I have a customization in SAP B1 where I need to disable the Gross Profit Button in the Toolbar. is anybody help me how to disable it by hard code thanks Giovanni