Error during project server 2013 The property or field 'StartDate' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Hi sir,
when I have try to fetch the value of project start date and finish date and some other field value , I have recived error message like The property or field 'StartDate' has not been initialized. It has not been requested or the request has not been
executed. It may need to be explicitly requested.
I have used client context for project server 2013.
I have also load and execute query.but fail to resolve it Please suggest me and provide solution.
vijay
Hi,
If you use the Include<TSource> Method in the Load method, we will retrieve only the ids of items in this query, so
the listItems.ListItemCollectionPosition will not be initialized.
You can use the <ViewFields> tag in CAML Query to specify the field values to return with each item instead.
Best regards
Patrick Liang
TechNet Community Support
Similar Messages
-
Hi sir,
When I have get the value of project owner the error is occured
The property or field 'LoginName' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
vijayHi Vijay,
The owner details are not loaded by default when you load all projects.
You have to make sure the details of the project owner are loaded before you can access them:
foreach (PublishedProject pubProj in projContext.Projects){
User owner = pubProj.Owner;
projContext.Load(owner);
projContext.ExecuteQuery();
Console.WriteLine(owner.LoginName); -
hi sir,
I have try to update task assignments using csom model.
erro message ::The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested
foreach (PublishedAssignment assignItem in item.Assignments)
Guid id =assignItem.Id;
cc.Load(assignItem, a => a.Resource,a=>a.PercentWorkComplete);
cc.ExecuteQuery();
EnterpriseResource er = cc.EnterpriseResources.GetByGuid(assignItem.Resource.Id);
cc.Load(item.Assignments,c=>c.Where(uu=>uu.Id==id).IncludeWithDefaultProperties( l=> l.Task.Assignments,l=>l.Work));
cc.ExecuteQuery();
er.Assignments.Single(ll => ll.Id == id).Work = "9";
cc.Load(er);
cc.ExecuteQuery();
StatusAssignmentCollection sac = er.Assignments;
sac.Update();
sac.SubmitAllStatusUpdates("hello vijay");
vijayHi Vijay,
You didn't load the 'er.Assignments' collection.
Make sure it's loaded and it should work
Hope this helps -
Hi,
i have a simple javascript which throws me the following error:
SCRIPT5022: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
I am using it under O365 inside an Content Editor WebPart. I have a list called "myTestList" with several items and one column called "points". I want to retrieve only the items which
i have created and sum the points to show it inside a div. This is my code.
<div id="myPoints" style="font-size: 50px;">0</div>
<script language="javascript" type="text/javascript">
SP.SOD.executeOrDelayUntilScriptLoaded(retrieveMyItems, "sp.js");
function retrieveMyItems() {
var clientContext = new SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle('myTestList');
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Author' /><Value Type='Integer'><UserID /></Value></Eq></Where></Query></View>");
this.collListItem = oList.getItems(camlQuery);
clientContext.load(collListItem, 'Include(points)');
clientContext.executeQueryAsync(Function.createDelegate(this, this.onMyItemsQuerySucceeded), Function.createDelegate(this, this.onMyItemsQueryFailed));
function onMyItemsQuerySucceeded(sender, args) {
var listItemInfo = 0;
var listItemEnumerator = collListItem.getEnumerator();
while (listItemEnumerator.moveNext()) {
var oListItem = listItemEnumerator.get_current();
listItemInfo = listItemInfo + parseInt(oListItem.get_item('points'));
var div = document.getElementById("myPoints");
div.innerHTML = listItemInfo;
function onMyItemsQueryFailed(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
</script>
Whats wrong here?
Best Regards
Bog
Developers Field Notes | www.bog1.deSolved!
The set_viewXml line must be:
camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Author' /><Value Type='Integer'><UserID Type='Integer'/></Value></Eq></Query></Where></View>");
Best Regards
Bog
Developers Field Notes | www.bog1.de -
Saving Error in Project Server 2013, Need Help!
Hey All,
I am running into issues with a Projects saving from Project Pro 2013 to our Project Server 2013 Farm.
It is strange, when someone tries to save a project out of Project Pro 2013 to Project Server, it will run through the "Synchronizing Data to the Server", and then bombs out with error
Job Type: Save
Error ID:9000(0x2328)
The project could not be saved to the server, Etc..
My understanding is that this is a generic save error that could mean many things.
In the ULS logs under "Active Cache Save" , I am getting:
"Cancelling correlation 1339927b-e9e5-e311-941d-00155d2bc10d as save is an overwrite or resubmit"
What is strange at this point is if I check the project back in, and re-open/re-checkout the project, and try to save again, it is successful in saving.
Just a few details about the environment:
Project Server Version: 2013 RTM (In the process of upgrading)
SharePoint Version: 2013 RTM (In the process of upgrading)
Project Structure: One Master Project with all other projects being subprojects of the master
Published Status: All Published
SQL Version: SQL Server 2012 SP1
User Count: About 5 currently
Deployment: 1 WFE, 1 APP Server, 1 SQL Server
It is just odd, as it seems to be completely random. We have tried clearing caches out to see if that resolves it but it did not. It is just odd that it takes two saves for it to actually work correctly, and is problematic as the many times they are saving
from the master and it bombs out there.
I am not sure how it could be an issue as it is usually just a single user working on the individual subprojects.
Maybe it is an issue in the RTM? I couldn't find any info in any of the CU's or SP's that addresses this directly
Has anyone seen this, or have any suggestions?
MS Support has not been any help at all.
Thanks allI have heard of issues with Master and Sub-Projects and both being published to Project Server, as a rule it is a feature I learnt to avoid as a result of bad experiences with earlier versions of Project Server.
Whilst this will not resolve the issue you have encountered the following suggestion may help you avoid pain in the future and leverages the potential of Project Server to represent common attributes for projects.
Typically a Master/Sub Project environment is intended to reflect projects that are commonly aligned - it is not unusual for a Master Project to represent a programme and for there to be multiple sub-projects forming the programme - there can be programme
level events that have multiple predecessors from multiple sub-projects.
Rather than create a master and sub-project situation I would suggest looking to define two Enterprise Custom Project fields to assist with such situations. The first being a Project Field called Programme that has a look up table with a list of current
programmes you can select from. The second Project Field would be a Programme Status Field with an associated lookup table with 3 values, Master, Sub-Project, Standalone.
You can have a project represent the Master (Programme) project and open it and all sub-projects in the programme (albeit this would have to be a one by one action to begin with). With all the projects open go and open a New Window in Project Professional
and elect to include all the open projects in the new window - this will create a new project with all the selected projects showing as
"embedded objects" and then create dependencies from sub-projects to programme level events in the Master Project (I would suggest what I call
"one way traffic" when creating "cross project dependencies" to avoid further headaches). Close the project, you will be prompted to save changes which you should do but do not save the new window
"container" project. The dependencies across the projects will persist - in each project you will be able to see external successors - tasks in the master project. In the master project you will be able to see external predecessors.
In PWA you can create Project Centre Programme views that filter to exclude projects that ARE Standalone and group them by Programme and sort by Programme Status Field - this will ensure that the "Master" sits at the top of the pile for each programme grouping.
Just a suggestion - I hope the issue you have encountered is resolved soon.
Dominic Moss | MAPM Microsoft Certified Technology Specialist | Our Newsletter:
PM News Project Server Specialists
Project Server PRIME | Twitter:
@Twitter | Facebook:
@Facebook | Linkedin:
Wellingtone -
Hi,
I set myself as team member in Project Server 2013, when i click on Project,Approvals and Timesheet i receive the below error:
"Cannot communicate with the server. Verify your connection and try again"
I have other account with Project Manager rights, with that account i can open these pages.
Please help.
K.GokulrajHi Gokulraj,
What permission mode are you using in project server 2013? Is it "project permissions mode" or "SharePoint permissions mode"?
If you are using "project permissions mode", then go to Server Settings -> Manage users and click on the user with "team member" permissions to edit.
In the next page, expand "Global Permissions" and "View Approval" permission.
It could be the issue with the categories and category level permissions.
Happy troubleshooting...
Vikram Daruru - MSFT -
Error creating Project Server 2013 Server Side Event Handlers
Hi,
I have created a WCF service and deployed it successfully. Now when trying to add a new event receiver for Project CheckIn event, nothing happens. Checking the service using Services panel, it shows Microsoft Project Server Events Service 2013
is started. I check the ULS logs and see exception:
System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'pub.MSP_ADMIN_SetEventReceivers15RTM'
I have service pack 1 installed for Project Server and SharePoint, version 15.0.4571.1502. Any ideas? I see there is a stored procedure without '15RTM' suffixed in PWA database. I read another post on the forum relating to this same issue
but didn't want to create each additional item in the DB (table, data type, stored procedure, etc). Am I missing something? Looking for suggestions here. Your help is always appreciated.
Thanks,
kashifHi Gokulraj,
What permission mode are you using in project server 2013? Is it "project permissions mode" or "SharePoint permissions mode"?
If you are using "project permissions mode", then go to Server Settings -> Manage users and click on the user with "team member" permissions to edit.
In the next page, expand "Global Permissions" and "View Approval" permission.
It could be the issue with the categories and category level permissions.
Happy troubleshooting...
Vikram Daruru - MSFT -
Error Workflow Project Server 2013
I have Sharepoint 2013 farm.
In SPD 2013 create workflow Sharepoint 2013-Project Server.
And want to write in workflow log Project UID.
But in during i see error:
System.ApplicationException: HTTP 403 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["2"],"SPClientServiceRequestDuration":["120"],"SPRequestGuid":["4b9dff8b-d69b-8e93-0f66-fd65358fdc26"],"request-id":["4b9dff8b-d69b-8e93-0f66-fd65358fdc26"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 26 Feb 2013 07:58:54 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
{"error":{"code":"35120, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"ru-RU","value":"WorkflowActivityInvalidArgument"}}} в Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) в System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManagerHi guys, I have this error in a Project Server environment with SP1 installed. Is the CU of December included within the SP1? Or are there other reasons the error persists?
Here is the complete error message I got (looks the same as above right?):
RequestorId: 74967e53-aaf2-c09f-db28-36781c2c6f50. Details: System.ApplicationException: HTTP 403 {"error":{"code":"35120, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"en-US","value":"WorkflowActivityInvalidArgument"}}}
{"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["62"],"SPRequestGuid":["d4a58ef4-480e-4a4e-96ed-cf413fe705b5"],"request-id":["d4a58ef4-480e-4a4e-96ed-cf413fe705b5"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 13 Oct 2014 11:00:04 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation) -
8315 Error in Project Server 2013
Hey all,
My Project 2013 server just recently started throwing an 8315 error. Its details are:
Machine 'NTPRJWEB2 (SharePoint - 80(_LM_W3SVC_1989583194_ROOT))' failed ping validation and has been unavailable since '6/18/2014 2:27:52 PM'.
and:
Machine 'NTPRJWEB1 (SharePoint - 80(_LM_W3SVC_1989583194_ROOT))' failed ping validation and has been unavailable since '6/18/2014 2:27:49 PM'.
I have never had to deal with this error before. Can some one advise me what I need to do to resolve this?
Thanks,
JonathanHi Jonathan,
Are you having RTM version of SharePoint 2013? 8315, 8316, 8317, 8318 are known issues related to Request
management service in RTM build of SharePoint 2013. These issues should go off once you upgrade to the latest SP/CU.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
After installed February
2015 CU for SharePoint 2013 appear error when click on 'Shared
With' in list item.
The screenshots see here: 1 and 2
Is this a bug?Yes, this is a known bug introduced with the November 2014 CU. There is no solution as of yet.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Configure Workflow Manager 1.0 in Project Server 2013 with FBA
Hi,
Please suggest the ways to configure Workflow manger in Project server 2013 where PWA using FBA
we have tried for below situation, but no luck!!
The workflow manager configured using windows login account, we are associating a FBA site with workflow manager which is
Register-SPWorkflowService -SPSite 'http://FBAsite' -WorkflowHostUri 'http://workflowmanagerapplication:12291'
Following steps are taken care while creating workflow.
We have added users to the user service profile services
User profile synchronization is started
The user by whom we are logged is available in User Profile list
we are not running workflow with share point system account
Final step full synchronization of User Profile Application
Below the error we are getting when workflow run
Resume this workflow
RequestorId: 879e36f9-9db0-3c16-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["440"],"SPRequestGuid":["879e36f9-9db0-3c16-a91c-356d29becb34"],"request-id":["879e36f9-9db0-3c16-a91c-356d29becb34"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4605"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Sun, 15 Jun 2014 12:44:03 GMT"],"Server":["Microsoft-IIS\/7.5"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation)Hi Mafeer,
Since this issue is related to Project Server, I would like to recommend you to post there for more effective support:
Project Server General Questions and Answers
Thanks for your understanding. -
Project Server 2013 - This webpart was unable to load
Hi all,
I am getting the following error in project server 2013 project sites:
This webpart was unable to load. For more information, please contact your server administrator.
<Guid>
I only get this error message on 'Project Summary Web Part'.
Any idea what it could be?
Thank you,
SJHi there!
I got similar problem in a PDP that was working perfectly even after migration to 2013. On this case, my PDP was showing the webpart that let you to choose what fields and custom fields want to show on a specific PDP.
I created a copy of the crashed PDP and got the same error. So I bet for remove all the custom fields and add one by one to see what happens. The surprise came up when it started to work when my PDP had just pair of custom fields. With this procedure,
I found that the problem was on some specific custom fields created that had null values to all the projects created before. Once I forced value on those fields it worked properly!!
Sometimes EPM2013 has a very strange behavioural and in some cases just clicking on EDIT and SAVE without any change have solved some of my problems too.
I hope it helps this to you and feel free to contact me if I can somehow help you :)
Diego -
Excel Services for Project Server 2013 - Parameter
I have an
S curve graph project.
Using Excel Services connected to Project
Server 2013. You can pass parameter
by querystring to filter design?
TorresHello,
You could add the Excel Services report to a PDP and filter it using a query string filter web part, example below:
http://azlav.umtblog.com/2012/12/05/filtering-excel-webparts-in-office-365-part-2/
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Access Project Server 2013 from personal mobile device
Dear All,
This is something great about Project Server 2013 (PWA) where users can view theirs task & other information on their personal mobiles, tabs etc. But i not able to access my company Project Server 2013.
Is that i am missing something to install or configure PWA 2013 as i am admin for this application?
Kindly let me knowThat means your PWA site collection in not published externally so your mobile device can't resolve the DNS. If you connect your mobile device to the same network your Project Server environment is on, it will work as the DNS would resolve. You probably
want to look at publishing PWA externally if you want to use it on mobile devices. Here are some links for you / your IT department, the process is the same for PWA and any other SharePoint site collection:
http://www.brightstarr.com/sharepoint-technology-and-application-insights/securely-publishing-sharepoint-externally-using-web-application-proxy
http://blogs.msdn.com/b/sambetts/archive/2014/04/02/setting-up-a-reverse-proxy-for-sharepoint-with-tmg-server.aspx
http://www.isaserver.org/articles-tutorials/installation-planning/Planning-SharePoint-Publishing-TMG.html
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
"The property or field has not been initialized" Error, when debbuging app
Hello,
I'm following the instructions of a dev book but I get the following error message when debugging the app.
"The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested."
The code:
var collListItems;
$(document).ready(function () {
getConfigValues();
function getConfigValues() {
var context = SP.ClientContext.get_current();
var configList = context.get_web().get_lists().getByTitle('Configuration Values');
var camlQuery = new SP.CamlQuery();
collListItems = configList.getItems(camlQuery);
context.load(collListItems);
context.executeQueryAsync(onGetConfigValuesSuccess, onGetConfigValuesFail);
function onGetConfigValuesSuccess() {
var OrgLogoUrl;
var OrgName;
var listItemEnumerator = collListItems.getEnumerator();
while (listItemEnumerator.moveNext()) {
var oListItem = listItemEnumerator.get_current();
var current = oListItem.get_item('Title');
switch (current) {
case 'OrganizationName':
OrgName = oListItem.get_item('Value');
break;
case 'OrganizationLogoUrl':
OrgLogoUrl = oListItem.get_item('Value');
break;
if (OrgName && OrgName.length > 0) {
$('#DeltaPlaceHolderPageTitleInTitleArea').html(OrgName);
$('.ms-siteicon-img').attr('title', OrgName);
if (OrgLogoUrl && OrgLogoUrl.length > 0)
$('.ms-siteicon-img').attr('src', OrgLogoUrl);
else
$('.ms-siteicon-img').attr('src', '../Images/AppLogo.png');
function onGetConfigValuesFail(sender, args) {
alert('Failed to get the Configuration Values. Error:' + args.get_message());
What it have to do is to replace the Title and Site logo, using the "Title" and "Value" fields of the "Configuration Values" list.
My dev environment: SharePoint online, Azure, VS2013 Ultimate (trial)
I've tried to reach the author of the book but it's being 4 days and no response, maybe somebody here can help me.
Thanks in advance.
JimmyJaydeep, I don't get the values, see the HTML code below.
<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.js"></script>
<!-- Add your CSS styles to the following file -->
<link rel="Stylesheet" type="text/css" href="../Content/App.css" />
<!-- Add your JavaScript to the following file -->
<script type="text/javascript" src="../Scripts/App.js"></script>
</asp:Content>
<%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
KA Online Klas
</asp:Content>
<%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
<div id="menu">
<ul>
<li><a href="../Lists/Configuration Values">Site Configuration</a></li>
<li><a href="../Lists/Site Assets">Site Assets</a></li>
</ul>
</div>
</asp:Content>
Maybe you are looking for
-
Nokia 6300 error message when trying to connect to...
Hello I have owned a Nokia 6300 for several months and have been successfully backing up my phone book data etc via the PC Suite. However I have attempted to connect recently and the software does not recognise the phone stating: "There is a problem
-
I realize I need to upgrade with newer Mac/OS, but I don't have money to do so. But I'm trying to update my Firefox browser. I've tried several times with the newest Firefox update and several older versions, 3.0 and newer. But I keep running into th
-
Seeburger AS2: Error while parsing AS2 message: AUTHENTICATION_ERROR #
Hello all, unfortunaltey we get follow error back, if we receive a message from our partner: Error while parsing AS2 message: AUTHENTICATION_ERROR # The channel setup is correctly ( I think) (Sender Agreement:) By the Aapter-Specific Attributes: AS2
-
Now available on Linksys website 2.0.05 Just installed it and will test it out for a few days. Hope this version flies. Dated wrong on Linksys site but this build was just made as you see in the release notes. Remember the cookie issue had to do with
-
I don't have the Library panel in Illustrator CC
Anyone encountered this issue?