Project Server 2010 custom workflow - get project GUID
I am trying to get the Project GUID from the ProjectWorkflowContext and all I get are zeros. Any idea why? Thanks!
David L. Crooks
Received the answer from Mark Laukkanen:
Guid prjGuid = projectSequence1.WorkflowContext.ProjectUidl
David L. Crooks
Similar Messages
-
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. -
I have a workflow being deployed for the first time on a farm. When I create a project with an EPT connected to the workflow it runs and can enter the required field in a PDP. Then I Submit the workflow to go to the next stage and I get the "Unable
to open project, no valid Project Detail Page could be found for the project" error. After that the project is stuck on the same error. All of the 18 stages have PDP and Schedules assigned to them.
Any ideas on why the workflow cannot see the PDPs? Is there a farm permissions that I am missing? Thanks!Hi David,
It starts to be a bit technical for me, but here is what I found on the web (seems to be an authentication issue with Sharepoint 2010):
http://social.technet.microsoft.com/Forums/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the
http://social.msdn.microsoft.com/Forums/silverlight/en-US/5cc70ff6-50d9-4cd3-b092-12007f4e495b/response-message-contenttypebindingtype-mismatch
http://stackoverflow.com/questions/5263150/the-content-type-text-html-charset-utf-8-of-the-response-message-does-not-match
Hope it will help you going forward in resolving your issue.
Guillaume Rouyre - MBA, MCP, MCTS -
Project Server 2010 Timesheets not Updating Project Plans
We have several project plans that are not getting updates from approved timesheets.
Troubleshooting steps I've taken:
1) Verified the timesheet/task submissions by the resources
2) Verified they have been approved
3) Verified they have been accepted by the Status Manager and processed
4) All project plans have been published (I even used ProjTool ON the App server to do a full publish of all plans as a second step of publishing)
5) Verified OLAP was built successfully overnight (and every night)
6) Tasks have both remaining work and NO actual work in the Resource Usage view
7) Had a user recall and resubmit his timesheet using "Send Timesheet" to see if the task updates would come through - they did not (I am Status Manager and the timesheet shows Approved), and even published the plan and rebuilt the OLAP again,
just in case.
8) Verified that no tasks are marked for closure under Close Tasks for Update in Server Settings.
9) Verified Timesheet shows Actual Work on the Tasks via Pivot Table; compared Timesheet_User_View with MSP_Portfolio_View pivot table for project which shows 0 hours. Timesheet_User_View shows 33 hours.
All tasks have Remaining Work, are within the date range of the timesheet and are open for submitting time. Timesheets are still out of sync with project plans for many users and there is no apparent reason. I'm out of ideas!Hi,
In status manager's approval center, history, status updates, can you check the status of the approval? Do you have any errors in the ULs log for the approval or publish jobs?
Hope this helps,
Guillaume Rouyre, MBA, MVP, MCP | -
Project Server 2010 - Customizing the resource assignment workflow
Hi,
When you build project schedule and publish it, each resource will be able to view his assignments under Tasks then he can edit an assignment and does changes on it.
What I need to know, is there any way to customize the workflow that controls the assignment lifecycle so that for example if the resource changed the assignment end date I need to generate approval task to his manager and when approved it will generate
another approval task for his director and if the director approved the task then the change it get reflected on the schedule otherwise the change will be disregard and the resource will be notified by email.Hi,
There is no easy way to configure the task approval chain adding approval level and notifications. By default, the status manager of the task will receive the update for approval before it gets pushed in the project plan.
Doing some code, you might achieve something similar, like sending an email to a specific user if the assignment finish date has been changed, but the approval will always be send to the status manager once the update is submitted.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Project Server 2010 - Customizing the Ribbon with no code
Is there any way to add a print button to the ribbon with no code in PWA? Thanks!
Hello,
Most pages do have a print button by default. To add any buttons to the ribbon does require code, not much code, but you do need to create the feature for this. See the example from Alex for adding a print button to the PDPs.
http://epmsource.com/2012/01/26/adding-print-capabilities-to-project-detail-pages/
Thanks
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
How to define a unique project level custom field in project server 2010?
Hi every one;
is it possible to define a unique project level custom field?
our client wants to have a unique custom field( project code) which doesn't allow users to save and publish projects with the same value.
for example if user A define a project and set "project code = 1" if user B define another project and wants to save "project code =1" for it, the server doesn't allow him to save this value and he has to change value for example to 2
thanks for any helpFirst of all you need to have Project server development environment also for coding visual studio hands on is required.
To start with PSI (Project Server interface)you need to have Development Environment of Project Server 2010.
you can get the overview from http://msdn.microsoft.com/en-us/library/office/ms457477(v=office.14).asp
You
can get the information about SDK: Download SDK.
http://msdn.microsoft.com/en-us/library/office/ms512767(v=office.14).aspx
Below mentioned link is having code and reuqired information about :
Generate Unique ID for Project using a webpart
http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/ -
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:
-
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. -
Issue in Custom Filter in PWA of Ms Project Server 2010
Hi,
i am facing an issue on setting a cutom filter in the Project Center view of PWA. I am setting a custom filter and it works fine.
Projects are filtered as per the filter. However, on selecting the filter for editing, I get a message viz. "Failure. There was an error processing the request".
I am looking for pointers and guidance to resolve this issue. Any helpin this regard will be appreciated.Hi,
Evenif you already checked this out, it is likely to be a security issue. This functionality is managed by permissions in PWA server settings and not in the Central Admin.
Check this article :
http://msprojectnow.com/Blog/tabid/142/entryid/556/Enabling-Task-Sheet-functionality-to-Add-Yourself-to-a-Task-in-Project-Server-2010-PWA.aspx
Check if you're not belonging to multiple categories that might have the given permission disabled.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Updating custom fields in project server 2010/2013 using psi
Hi,
I have two custom fields . Lets call them A and B.
A has some content. Now i want B to have the same content as A . B is a formula custom field wher b=[A] .
now b is empty data and A has data.
how do i get column in B be populated.
i tried manual publish. IT worked but i have several projects.so iam looking for a script to do bulk publish so that data in B can be populated with data in A
a) i checked out project (CheckOutProject)
b) published project (QueuePublish())
c) checked in project (QueueCheckInProject())
however i donot get the value of A reflected in B using. Am i doing something wrong?
Pls help.Any pointers towards a script would behighly appreciated.
i am using project server 2010
Thanks
SuHello,
You probably want to use Project Pro to do the publish so the calculation happens and updates field B. For bulk publish using project pro use VBA to automate project pro to open each project then do save and publish etc.
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS |
MVP | Downloads -
How to Edit Custom Fields of Project Server 2010 Programatically
Hello,
I want to change the Custom field value of Project Server 2010. I am following the brain article. My problem is the code run successfully but the changes did not reflect to the Project server. Following is my code, Any Help??
private void UpdateRecordInProjectServer(string newValue, string projGuid, string propertyToEdit)
ProjectSoapClient projectSvc = new ProjectSoapClient();
CustomFieldsSoapClient customfieldSvc = new CustomFieldsSoapClient();
CustomFieldDataSet fieldDefs = customfieldSvc.ReadCustomFields(string.Empty, false);
LookupTableSoapClient loockuptableSvc = new LookupTableSoapClient();
Guid projectId = new Guid(projGuid);
ProjectDataSet projectDs = projectSvc.ReadProject(projectId, ListProjects.Project.DataStoreEnum.WorkingStore);
foreach (ProjectDataSet.ProjectCustomFieldsRow cfRow in projectDs.ProjectCustomFields.Rows)
// projectDs.ProjectCustomFields.RemoveProjectCustomFieldsRow(cfRow);
CustomFieldDataSet.CustomFieldsRow fieldDefinition = fieldDefs.CustomFields.Single(
cfd => cfd.MD_PROP_UID == cfRow.MD_PROP_UID);
if (fieldDefinition.MD_PROP_NAME == propertyToEdit)
cfRow.TEXT_VALUE = newValue;
//projectDs.ProjectCustomFields.AddProjectCustomFieldsRow(cfRow);
projectDs.ProjectCustomFields.AcceptChanges();
Guid sessionUid = Guid.NewGuid();
Guid jobUid = Guid.NewGuid();
if (!IsProjectCheckedOut(projectId))
projectSvc.CheckOutProject(projectId, sessionUid, "Updating
CF");
jobUid = Guid.NewGuid();
projectSvc.QueueUpdateProject(jobUid, sessionUid, projectDs, false);
System.Threading.Thread.Sleep(4000);
jobUid = Guid.NewGuid();
projectSvc.QueueCheckInProject(jobUid, projectId, false, sessionUid, "Updating
CF");
System.Threading.Thread.Sleep(4000);
jobUid = Guid.NewGuid();
projectSvc.QueuePublish(jobUid, projectId, true, SPContext.Current.Site.Url);
System.Threading.Thread.Sleep(4000);
Muhammad AliTry this instead of your last section(after last "if" statement):
jobUid = Guid.NewGuid();
projectSvc.CheckOutProject(projectId,
sessionUid, "Updating CF");
System.Threading.Thread.Sleep(4000);
projectSvc.QueueUpdateProject(jobUid, sessionUid,
projectDs, false);
System.Threading.Thread.Sleep(4000);
projectSvc.QueuePublish(jobUid, projectId, true, SPContext.Current.Site.Url);
System.Threading.Thread.Sleep(4000);
Here is QueueUpdateProject inserted before Publish and checkIn replaced with checkOut -
Create a Custom View in Project Server 2010 that is Visible in MS Project
Hello All,
We want our PMs to consistently report Physical % Complete, but couldn't find an existing "Status" or "EVM" view. So, in Project Server 2010, using Server Settings > Look and Feel > Manage Views, I created a customized project
view using existing fields (no customized fields, if that matters). The problem is that I cannot find the view when I open MS Project. Under Manage Views, in the Format View section, I have selected "Gantt Chart (Views)" for the Gantt
Chart format field. The view defaulted to "Timesheet" for the Grouping format field. Under the Security Categories section, I have selected My Projects and My Tasks. I have not applied a Filter. Any ideas why I cannot find
this new custom view in MS Project?
Was I supposed to create the new customized view directly in MS Project? If so, where would I find the steps to do that? Thank you!
JulieJulie --
Nice try, my friend. Your only mistake was trying to create the Microsoft Project view in PWA. You have to open the Enterprise Global for editing in Microsoft Project, and then create the custom view and table in the Enterprise Global. To
open the Enterprise Global for editing, click File > Info > Manage Enterprise Global. When you finish creating the custom view and table, then save, close, and check in the Enterprise Global file, and then exit Microsoft Project completely.
The next time you or any of your PMs launch Microsoft Project and connect to Project Server, the custom view and table will be visible for every current and future project. Hope this helps.
Dale A. Howard [MVP] -
How to get the usage of SSRS reports in project server 2010
Hi
Can any body tell me how to get the usage of the SSRS reports in Project Server 2010.
Thanks
Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.Hello,
See the links below on how to get the usage for SSRS reports:
http://sqlbadboy.wordpress.com/2013/09/12/reporting-services-reports-whos-using-them/
http://www.mssqltips.com/sqlservertip/1908/analyze-report-execution-and-usage-statistics-in-sql-server-reporting-services/
http://www.mssqltips.com/sqlservertip/1306/how-to-know-what-reporting-services-reports-are-being-used/
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS
Maybe you are looking for
-
How can I hide/rename a URL in my Mac signature e-mail
I know how to do it in an e-mail but I want to do it in one of my signatures I use all the time. Can't seem to figure it out. I type out the name I want and highlight it and of to add under edit and when I add it adds www and net or com. Any suggesti
-
hi I developed forms using Oracle Developer Suite 10g (9.0.4) and it is work correctly then I install Oracle Developer Suite 10g(10.1.2.0.2) and I compile it their is no error when I run it the browser a bear as gray screen and in the states bar writ
-
I am going to order the NEW mac mini and I have two questions. First, what cable do I need to hook it to my 40" Samsung HD flatscreen tv? Second, I am currently running a PowerMac G4 MDD with the black keys keyboard. Can I use this same keyboard with
-
Plug-ins not available when opening Garageband song with Logic-Pro 7.0.1
Can anyone help? Whilst on the move recently I found myself composing a piece using Garageband. However when I got back to the studio and attempted to open the song using Logic Pro 7.0.1 I get: Core Audio: Plug-in "BassAmpSi" not available! then Core
-
Error ID 2 Samsung Smart TV app
Hi The samsung TV app doesn't seem to work at all? I keeo getting "An Error has ocurred. Error ID 2" Why? ThanksM