Update project description using PSI

hello forum members,
Does anyone know how to update a project description using PSI in an existing project? I can't see any methods or class members that let me do this. Any suggestions
are appreciated. 
tatiana
tatiana

never mind. got it.
the code is below:
 SvcProject.ProjectDataSet projectds = projectClient.ReadProject(projectGuid, SvcProject.DataStoreEnum.WorkingStore);
                    projectds.Project[0].WPROJ_DESCRIPTION = "test programmatically added description";
tatiana

Similar Messages

  • Update Project Server using PSI

    I need to update a project server 2007 file (tasks and custom fields) using PSI on a weekly basis. How do I update a required custom field in the project using C# and PSI web services? I get the following error when I save the changes:
    false);
    projectSvc.QueueUpdateProject(jobId, sessionId, projectDs,
    Error:
    PSCLientError Output:CustomFieldRequiredValueNotProvided        mdpropuid:
    ============================
    System.Web.Services.Protocols.SoapException: ProjectServerError(s) LastError=Cus
    tomFieldRequiredValueNotProvided Instructions: Pass this into PSClientError cons
    tructor to access all error information
       at Microsoft.Office.Project.Server.WebService.Project.QueueUpdateProject(Guid
     jobUid, Guid sessionUid, ProjectDataSet dataset, Boolean validateOnly)
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data;
    using System.Web;
    using System.Web.Services.Protocols;
    using System.Threading;
    using PSLibrary = Microsoft.Office.Project.Server.Library;
    using IntegratedMasterSchedule.ProjectWebSvc;
    using IntegratedMasterSchedule.WebSvcLoginWindows;
    using System.Net;
    using System.Globalization;
    namespace IntegratedMasterSchedule
    public partial class MasterSchedule
    private static CustomFieldWS.CustomFields customFieldClient = new CustomFieldWS.CustomFields();
    [STAThread]
    static void Main()
    try
    #region Setup
    const string PROJECT_SERVER_URI = "http://ServerName/xxx";
    const string PROJECT_SERVICE_PATH = "_vti_bin/psi/project.asmx";
    const string QUEUESYSTEM_SERVICE_PATH = "_vti_bin/psi/queuesystem.asmx";
    const string SESSION_DESC = "Sample utility";
    Guid sessionId = Guid.NewGuid();
    Guid jobId;
    // Set up the Web service objects
    ProjectWebSvc.Project projectSvc = new ProjectWebSvc.Project();
    projectSvc.Url = PROJECT_SERVER_URI + PROJECT_SERVICE_PATH;
    projectSvc.Credentials = CredentialCache.DefaultCredentials;
    QueueSystemWebSvc.QueueSystem q = new QueueSystemWebSvc.QueueSystem();
    q.Url = PROJECT_SERVER_URI + QUEUESYSTEM_SERVICE_PATH;
    q.Credentials = CredentialCache.DefaultCredentials;
    //Get the project
    Guid projectId = GetProjectUidFromProjectName(projectSvc, "Project Name");
    // Read the project you want
    Console.WriteLine("Reading project from database");
    ProjectWebSvc.ProjectDataSet projectDs = projectSvc.ReadProject(projectId, ProjectWebSvc.DataStoreEnum.WorkingStore);
    #endregion
    #region Change task name and update
    // Check out the project
    Console.WriteLine("Checking out project");
    projectSvc.CheckOutProject(projectId, sessionId, SESSION_DESC);
    // Make changes
    // - Note: Task 0 is the summary task which can't be changed.
    projectDs.Task[1].TASK_NAME += " Changed";
    // Save the changes
    Console.WriteLine("Saving changes to the database");
    jobId = Guid.NewGuid();
    projectSvc.QueueUpdateProject(jobId, sessionId, projectDs, false);
    WaitForQueue(q, jobId);
    #endregion
    #region Check in
    // Check in the project
    Console.WriteLine("Checking in the project");
    jobId = Guid.NewGuid();
    projectSvc.QueueCheckInProject(jobId, projectId, false, sessionId, SESSION_DESC);
    WaitForQueue(q, jobId);
    #endregion
    #region Exception Handling and Final
    catch (SoapException ex)
    PSLibrary.PSClientError error = new PSLibrary.PSClientError(ex);
    PSLibrary.PSErrorInfo[] errors = error.GetAllErrors();
    string errMess = "==============================\r\nError: \r\n";
    for (int i = 0; i < errors.Length; i++)
    errMess += "\n" + ex.Message.ToString() + "\r\n";
    errMess += "".PadRight(30, '=') + "\r\nPSCLientError Output:\r\n \r\n";
    errMess += errors[i].ErrId.ToString() + "\n";
    for (int j = 0; j < errors[i].ErrorAttributes.Length; j++)
    errMess += "\r\n\t" + errors[i].ErrorAttributeNames()[j] + ": " + errors[i].ErrorAttributes[j];
    errMess += "\r\n".PadRight(30, '=');
    Console.ForegroundColor = ConsoleColor.Red;
    Console.WriteLine(errMess);
    catch (WebException ex)
    string errMess = ex.Message.ToString() +
    "\n\nLog on, or check the Project Server Queuing Service";
    Console.ForegroundColor = ConsoleColor.Red;
    Console.WriteLine("Error: " + errMess);
    catch (Exception ex)
    Console.ForegroundColor = ConsoleColor.Red;
    Console.WriteLine("Error: " + ex.Message);
    finally
    Console.ResetColor();
    Console.WriteLine("\r\n\r\nPress any key...");
    Console.ReadKey();
    #endregion
    static private void WaitForQueue(QueueSystemWebSvc.QueueSystem q, Guid jobId)
    QueueSystemWebSvc.JobState jobState;
    const int QUEUE_WAIT_TIME = 2; // two seconds
    bool jobDone = false;
    string xmlError = string.Empty;
    int wait = 0;
    //Wait for the project to get through the queue
    // - Get the estimated wait time in seconds
    wait = q.GetJobWaitTime(jobId);
    // - Wait for it
    Thread.Sleep(wait * 1000);
    // - Wait until it is done.
    do
    // - Get the job state
    jobState = q.GetJobCompletionState(jobId, out xmlError);
    if (jobState == QueueSystemWebSvc.JobState.Success)
    jobDone = true;
    else
    if (jobState == QueueSystemWebSvc.JobState.Unknown
    || jobState == QueueSystemWebSvc.JobState.Failed
    || jobState == QueueSystemWebSvc.JobState.FailedNotBlocking
    || jobState == QueueSystemWebSvc.JobState.CorrelationBlocked
    || jobState == QueueSystemWebSvc.JobState.Canceled)
    // If the job failed, error out
    throw (new ApplicationException("Queue request " + jobState + " for Job ID " + jobId + ".\r\n" + xmlError));
    else
    Console.WriteLine("Job State: " + jobState + " for Job ID: " + jobId);
    Thread.Sleep(QUEUE_WAIT_TIME * 1000);
    while (!jobDone);
    static public Guid GetProjectUidFromProjectName(Project proj, string projectName)
    Guid result = Guid.Empty;
    ProjectDataSet dsProjectList = new ProjectDataSet();
    dsProjectList = proj.ReadProjectList();
    for (int row = 0; row < dsProjectList.Project.Count; row++)
    if (projectName == dsProjectList.Project[row].PROJ_NAME.ToString())
    result = dsProjectList.Project[row].PROJ_UID;
    break;
    return result;

    Hi cochocip,
    your projectDataSet has no custom field (required) set
    The md_prop_uid is the uid for this custom field).
    If your custom field is not based on lookup table, you can use a code like this:
    Log to CustomFields webservice
    Get Custom field's md_prop_uid using ReadCustomFields.....
    and add this code after
    // Make changes
    // - Note: Task 0 is the summary task which can't be changed.
    projectDs.Task[1].TASK_NAME += " Changed";
    WebSvcCustomFields.CustomFieldDataSet newCF = customFieldsWS.ReadCustomFieldsByMdPropUids(new Guid[] {
    p_md_prop_uid }, false);
    WebSvcProject.ProjectDataSet.TaskCustomFieldsRow a = projectDs.TaskCustomFields.NewTaskCustomFieldsRow();
    a.SetDUR_FMTNull();
    a.SetFLAG_VALUENull();
    a.SetINDICATOR_VALUENull();
    a.SetNUM_VALUENull();
    a.SetDUR_VALUENull();
    a.SetDATE_VALUENull();
    a.CUSTOM_FIELD_UID = Guid.NewGuid();
    a.MD_PROP_UID = p_md_prop_uid;
    a.MD_PROP_ID = newCF.CustomFields[0].MD_PROP_ID;
    a.PROJ_UID = p_prjDS.Project[0].PROJ_UID;
    a.TASK_UID = p_taskGuid;
    a.FIELD_TYPE_ENUM = newCF.CustomFields[0].MD_PROP_TYPE_ENUM;
    switch (newCF.CustomFields[0].MD_PROP_TYPE_ENUM)
    case 21: //String
             a.TEXT_VALUE = p_value;
                    break;
    case 15: //number
             a.NUM_VALUE = Convert.ToDecimal(p_value);
                    break;
    case 4: //DAte
             a.DATE_VALUE = Convert.ToDateTime(p_value);
                    break;
                    default:
    projectDs.TaskCustomFields.AddTaskCustomFieldsRow(a);
    where p_value is the value that you want save in this field.
    I hope this code can help you
    Cheers,
    Paolo

  • Project Server 2013 : How to Change Project owner Using PSI

    Hi,
    I have the following sets of codes for changing the project owner but both of them have not worked.
    1>
    private static bool UpdateProjectOwner()
       bool projUpdated = false;
       try
         User newOwner = projContext.Web.SiteUsers.GetByLoginName(Username);
         Guid ProjectGuid = ProjectUID;
         //Console.Write("\nUpdating owner to {1} on project: {0} ...," ProjectGuid, Username);
         DraftProject draftProjectToUpdate = projContext.Projects.GetByGuid(ProjectGuid).CheckOut();
         draftProjectToUpdate.Owner = newOwner;
         QueueJob qJob = draftProjectToUpdate.Update();
         projContext.Load(qJob);
         projContext.ExecuteQuery();
         JobState jobState = projContext.WaitForQueue(qJob, timeoutSeconds);
          QueueJob qJob2 = draftProjectToUpdate.CheckIn(false);
          projContext.Load(qJob2);
          projContext.ExecuteQuery();
          JobState jobState2 = projContext.WaitForQueue(qJob2, timeoutSeconds);
         catch (Exception ex)
           Console.ForegroundColor = ConsoleColor.Red;
           Console.WriteLine(ex.Message);
           Console.ResetColor();
       return projUpdated;
    2>
    String projectOwnerIDstrNew = Convert.ToString(dr["ProjectOwnerUID"]);                        
    String projectOwnerIDstrOriginal = Convert.ToString(project_Ds.Project[0].ProjectOwnerID);
    if (!projectOwnerIDstrNew.Equals(projectOwnerIDstrOriginal))
     Guid ownerID = new Guid(projectOwnerIDstrNew);
     project_Ds.Project[0].ProjectOwnerID = ownerID;
     project_Ds.AcceptChanges();
    bool managerChanged = true;
    Is there any mistake in these above functions ?
    If Not, then is there any other way of updating the project owner with help of PSI.

    Hi Steve,
    Are you talking about PWA or Project Pro?
    In PWA: the project has to be checked in first, then go to the "options" tab in the ribbon and unselect the checkbox that allows displaying time with the date.
    In Project Pro, it is up to users to set in the date format without the time in file\options\schedule, date format.
    In the PDP, date custom fields are displayed by default with time, the only suggestion I could make would be to create an associated custom field equal to your date field with a formula displaying only the date.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Updated Projects that used Color Assist Cause FCPX to Crash

    Hi All,
    After it's release I used Technicolor's now defunct and unsupported Color Assist software to grade a couple of projects. I've recently upgraded those project and events for use with 10.1. The projects and events appear in the browser but show a missing pugin warnning me that Color Assist isn't available.
    I'm not worried about retreiving the grade - my loss thanks to Technicolor. I would however like to somehow preserve the project intact for re-grading later.
    I've tried removing the Color Assist folder from the Project folder prior to performing an upgrade but no dice, FCPX still crashes.
    I'm sure the solution must only involve trashing the right render folders to wipe out any trace of Color Assist from the project. Anyone know which render files/folders I need to trash?
    Many thanks!

    Yes I too want to know if anyone else here resolved this issue as well.
    As OP mentioned, I'd like to preserve the project wihtout FCPX crashing , the grading can go to kingdomcome for all I care
    Regards

  • How to consume the Calendar Exception details from Project Server 2013 to an SSRS report using PSI ?

    Hello,
    Can anyone guide me how to access the calendar exception details from Project Server using PSI?
    I need to extract calendar details of enterprise resources , like exception name, exception type, exception start date and exception end date into my SSRS report hosted in SharePoint 2013 and 2010.
    I would be helpful if I can get a sample of this. I have read through many PSI documents in fact still going through ,what  PSI does and doesn't ,  PSI methods etc. from Project Server SDK and MSDN . Moreover, I
    am a beginner in .NET programming. I am confused and have lots of questions in my mind, like which PSI service should be used in my report(is it  just Calendar.svc), can we pull the details as XML type data source my SSRS report ,are
    there any other configuration settings apart from " setting up an event handler by installing an event handler assembly on each Project Server computer in the SharePoint farm, and then configuring the event handler
    for the Project Web App instance by using the Project Server Settings page in the General Application Settings of SharePoint Central Administration" (as per prerequisites for PSI in SDK) , how can I implement authentication settings
    -(when user with proper SharePoint permission
    can accesses the SSRS report  )
    Kindly bear with me if my questions are not appropriate .
    Please do guide me, and .
    Thanks in Advance!!
    Mridhula
    Mridhula.S

    Hi Brendan,
    Project server reporting database doesn't contain the calendar info. The only supported way to use the PSI to read the calendar info from Published database.
    See this
    reply from Amit.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

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

    Hello,
    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 use PSI with Project online 2013

    There are some entities in project server that we cant interact with using Client side object model like views etc. We need to use PSI for them.
    If not, Is there any other approach to get entities such as views.

    Hello,
    You can use the PSI, this link for SharePoint Online claims auth will help you authenticate - this helped us :)
    http://msdn.microsoft.com/en-us/library/office/hh147177(v=office.14).aspx
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • PS Project description when creating sales order using BAPI

    I am trying to create sales orders using BAPI_SALESORDER_CREATE_FROMDAT2.
    Because of the material configuration in table TCN61 the material will trigger a project creation in the project system.
    Now, in order to create a project, we must provide the project description.
    I would like to ask you if anyone knows how to pass the project description in one of the BAPI parameters.
    Thank you for your help.

    Thank you Sreedhar for the answer.
    I tried the CAMPAIGN field but did not work...
    In fact, I am not able to find a field, in any of the of the tables, that could hold the project description (PROJ-POST1).
    An entry is created in PROJ table when we manually create a sales order for materials specified in table TCN61.
    Thanks.

  • Restart project server workflow programmatically using psi 2010

    hi sir,
         I am working on project server 2010. I  want restart project server workflow using PSI. please suggest me
    vijay

    Hi,
    I think this might help:
    http://epmxperts.wordpress.com/2012/05/27/change-workflow-stage-using-psi-wcf/
    Paul

  • Unable to Update Tasks using PSI

    Hi,
    I have customized Ms Project Server to update a custom field in the tasks of Project Schedule after checkin of the Project.
    The code loops through all tasks and performs QueueUpdate operation to update all changes to Tasks. However, the updates made to the last task of the Project are updated in the system, no changes are saved for rest of the tasks.
    Could you please help provide some help in resolving this issue? Any help in this regard would be appreciated.

    Hi,
    I am trying to update Task Custom Fields in project server 2010.But it is throwing error at QueueUpdate Method.
    At projectSvc.QueueUpdateProject(jobId, sessionId, myProject, false);
    it is giving error:
    "ProjectServerError(s) LastError=CustomFieldRowAlreadyExists Instructions: Pass this into PSClientError constructor to access all error information
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at UpdateProjectStoreInformation.ProjectWebSvc.Project.QueueUpdateProject(Guid jobUid, Guid sessionUid, ProjectDataSet dataset, Boolean validateOnly)
       at UpdateProjectStoreInformation.ProjectListEventReceiver.ProjectListEventReceiver.ItemAdded(SPItemEventProperties properties)"
    Code is written below:
    if (taskEfforts != null && taskEfforts.Count > 0)
                                        for (int i = 0; i < myProject.Task.Count; i++)
                                            foreach (string key in
    taskEfforts.Keys)
    if (myProject.Task[i].TASK_NAME.ToString().ToLower().Equals(key.ToString().ToLower()))
    foreach (ProjectDataSet.TaskCustomFieldsRow cfRow in myProject.TaskCustomFields)
    if (cfRow.MD_PROP_UID == effortGuid)
    Logger.WriteLog("********Updating Efforts**********");
    cfRow.NUM_VALUE = Convert.ToDecimal(taskEfforts[key]);                                           
    Logger.WriteLog("task name:" + myProject.Task[i].TASK_NAME + " Effort:" + taskEfforts[key]);
    break;
    //break
                                        bool force = true;
                                        sessionId = Guid.NewGuid();
                                        string sessionDescription = "updated custom
    fields";                                  
                                        projectSvc.CheckOutProject(projectGuid, sessionId,
    "custom field update checkout");
                                      jobId = Guid.NewGuid();
                                      projectSvc.QueueUpdateProject(jobId, sessionId, myProject,
    false);
                                      WaitForJob(jobId);
          jobId = Guid.NewGuid();
                              projectSvc.QueuePublish(jobId, projectGuid, true, siteName);
                             //create a new job id
                             jobId = Guid.NewGuid();
                            //checkin the updated project                      
                            projectSvc.QueueCheckInProject(jobId, projectGuid,
                                force, sessionId, sessionDescription);
                            //wait for finishing
                            WaitForJob(jobId);
    Thanks

  • Update project fields including custom fields

    Hello forum members,
    i am trying to write a utility that would migrate project data from Oracle database into Project Server by using CSOM. However, SetCustomFieldValue() method is not working for me. I am getting the following  'Microsoft.ProjectServer.Client.ProjectCreationInformation'
    does not contain a definition for 'SetCustomFieldValue'. Any ideas? Is there a better way to do this with PSI? I would appreciate some code samples.
                    //todo: replace code to pull values from db
                    using (OracleConnection connection = new OracleConnection(connectionString))
                        newProj.Id = Guid.NewGuid();
                        newProj.Name = projName;
                        newProj.Description = "Test creating a project with CSOM";
                        newProj.Start = DateTime.Today.Date;
                        newProj.EnterpriseProjectTypeId = GetEptUid(basicEpt);
                        newProj.SetCustomFieldValue("Custom_<c22c082a-3490-e311-b25c-0050569d03ac>", "Approved"); //does not work
    tatiana

    ok. i found the answer! here is a link to the blog where i found it: http://blogs.msdn.com/b/brismith/archive/2010/08/25/project-server-adding-custom-fields-to-projects-and-tasks-using-the-psi.aspx
    here is the solution on how to add a value to a custom field by using PSI and it worked for me:
     //Adding a row for my first custom field 
                    SvcProject.ProjectDataSet.ProjectCustomFieldsRow cfRowCost = templateDs.ProjectCustomFields.NewProjectCustomFieldsRow();
                    cfRowCost.PROJ_UID = templateRow.PROJ_UID;
                    // The Custom_Field_UID is the unique identifier for each custom field row
                    cfRowCost.CUSTOM_FIELD_UID = Guid.NewGuid();
                    // The MD_PROP_UID identifies the specific custom field
                    cfRowCost.MD_PROP_UID = new Guid("6c289ce3-eb97-e311-87f7-0050569d03ac");
                    //give it a value
                    cfRowCost.TEXT_VALUE = "programmatically added to custom field";
                    //Adding to the dataset
                    templateDs.ProjectCustomFields.AddProjectCustomFieldsRow(cfRowCost);
    tatiana

  • Replacing a resource using PSI

    Hi,
    As per msdn documentation, I can see 'ProjectResourcesReplace' is a part of voidQueueUpdateProjectTeam Function.
    This
    function can be used to update project build team. But I am unable to understand how it can be used to replace resources in build team?
    Can
    anyone please help here? Thanks.
    Best
    Regards,
    Anuja

    Indeed Anujaa, you can refer to this
    article to see that the PSI cannot replace a resource that has actual. That being said I don't know if you can replace a resource with no actual.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Can I import HTMLs from inside the project and use as portlet page ?

    As you know, I am using Java Studio Creator 2 Update 1 for my current portal project. I have created JSR-168 JSF Portlet Project for my portlet development.
    As I have some html pages ready for my development,
    Can I import HTMLs from inside the project and use as portlet page for my project?
    I did the followings steps:
    1: In side the project - File -> Add Existing Item -> Web Page ( imported test.html page from my local folder)
    2: Let it convert some of the tags for me ( so now it becomes - �test.jsp� )
    3: Set it to initial view.
    4. A default portlet page � newPortletPage.jsp is still there with no initial view.
    Now after doing this, No Visual Designer and Properties window available to for that �test.jsp� page. Though it allowed me to �build� the project successfully.
    When I build and run the portlet application, got the error message �Error occurred in portlet!� on Pluto Portal. Please advice.

    You do not open fcpproject files. You don't double click or anything else. The files have to be in the correct folder structure in the Final Cut Projects folder and the application opens them automatically. Can you post screen shots of the Final Cut Projects folder and its location.

  • Error while updating lookup table through PSI

    Hi,
    I am trying to update a lookuptable through PSI using following code : 
    $lookupTableGuid = $svcPSProxy.ReadLookupTables($EPMTYString, 0 , 1033).LookupTables | where {$_.LT_NAME -eq $Lookuptablename}
    $lookuptable = $svcPSProxy.ReadLookupTablesbyUids($lookupTableGuid.LT_UID, 1 , 1033)
    $lookuptablerowValues = $svcPSProxy.ReadLookupTablesbyUids($lookupTableGuid.LT_UID, 0 , 1033).LookupTableTrees
    #get lookup table count
    $lookuptableValues = $svcPSProxy.ReadLookupTablesbyUids($lookupTableGuid.LT_UID, 0 , 1033).LookupTableTrees
    $count = $lookuptableValues.Count +1
    #Insert the rows of table in Lookup Table
    foreach ($rows in $table)
    $value_Code = $rows.Item("Project_code")
    $value_Name = $rows.Item("project_desc")
    $GUID = [System.Guid]::NewGuid()
    $LookupRow = $lookuptable.LookupTableTrees.NewLookupTableTreesRow()
    $LookupRow.LT_STRUCT_UID = $GUID
    $LookupRow.LT_UID = $lookupTableGuid.LT_UID
    $LookupRow.LT_VALUE_TEXT = $value_Code
    $LookupRow.LT_VALUE_DESC = $value_Name
    $LookupRow.LT_VALUE_SORT_INDEX = ($count ++)
    $lookuptable.LookupTableTrees.AddLookupTableTreesRow($LookupRow)
    $error.clear()
    #Exceptions Handling :
    Try
    $svcPSProxy.UpdateLookupTables($lookuptable , 0 , 1 , 1033)
    Catch
    write-host "Error updating the Lookup table, see the error below:" -ForeGroundColor Red -BackGroundColor White
    write-host "$error" -ForeGroundColor Red
    Initially, I tried to run with value of $value_code as "AACL", the code worked.
    But when I tried to insert value of code as "AACL - ALKYL AMINES CHEMICALS LIMITED"
    I got following error:
    Exception calling "UpdateLookupTables" with "4" argument(s): "Response is not well-formed XML."
    I could not understand why this error is appearing as I just added ' - ' to my code value. I checked for validity of ' -  'in the targeted column. No issue with that.
    Please help.
    Thanks and regards,
    Jayesh

    Hi All,
    The entries are maintained from DB level.
    Thanks for the help.
    DVRK

  • Problems updating projects to new versions of Premiere (CS5 to CC and CC to CC 2014) Memory consumption during re-index and Offline MPEG Clips in CC 2014

    I have 24GB of RAM in my 64 bit Windows 7 system running on RAID 5 with an i7 CPU.
    A while ago I updated from Premiere CS5 to CC and then from Premiere CC to CC 2014. I updated all my then current projects to the new version as well.
    Most of the projects contained 1080i 25fps (1080x1440 anamorphic) MPEG clips originally imported (captured from HDV tape) from a Sony HDV camera using Premiere CS5 or CC.
    Memory consumption during re-indexing.
    When updating projects I experienced frequent crashes going from CS5 to CC and later going from CC to CC 2014. Updating projects caused all clips in the project to be re-indexed. The crashes were due to the re-indexing process causing excessive RAM consumption and I had to re-open each project several times before the re-index would eventually complete successfully. This is despite using the setting to limit the RAM consumed by Premiere to much less than the 24GB RAM in my system.
    I checked that clips played; there were no errors generated; no clips showed as Offline.
    Some Clips now Offline:Importer  CC 2014
    Now, after some months editing one project I found some of the MPEG clips have been flagged as "Offline: Importer" and will not relink. The error reported is "An error occurred decompressing video or audio".
    The same clips play perfectly well in, for example, Windows Media Player.
    I still have the earlier Premiere CC and the project file and the clips that CC 2014 importer rejects are still OK in the Premiere CC version of the project.
    It seems that the importer in CC 2014 has a bug that causes it to reject MPEG clips with which earlier versions of Premiere had no problem.
    It's not the sort of problem expected with a premium product.
    After this experience, I will not be updating premiere mid-project ever again.
    How can I get these clips into CC 2014? I can't go back to the version of the project in Premiere CC without losing hours of work/edits in Premiere CC 2014.
    Any help appreciated. Thanks.

    To answer my own question: I could find no answer to this myself and, with there being no replies in this forum, I have resorted to re-capturing the affected HDV tapes from scratch.
    Luckily, I still had my HDV camera and the source tapes and had not already used any of the clips that became Offline in Premiere Pro CC 2014.
    It seems clear that the MPEG importer in Premiere Pro CC 2014 rejects clips that Premiere Pro CC once accepted. It's a pretty horrible bug that ought to be fixed. Whether Adobe have a workaround or at least know about this issue and are working on it is unknown.
    It also seems clear that the clip re-indexing process that occurs when upgrading a project (from CS5 to CC and also from CC to CC 2014) has a bug which causes memory consumption to grow continuously while it runs. I have 24GB RAM in my system and regardless of the amount RAM I allocated to Premiere Pro, it would eventually crash. Fortunately on restarting Premiere Pro and re-loading the project, re-indexing would resume where it left off, and, depending on the size of the project (number of clips to be indexed), after many repeated crashes and restarts re-indexing would eventually complete and the project would be OK after that.
    It also seems clear that Adobe support isn't the greatest at recognising and responding when there are technical issues, publishing "known issues" (I could find no Adobe reference to either of these issues) or publishing workarounds. I logged the re-index issue as a bug and had zero response. Surely I am not the only one who has experienced these particular issues?
    This is very poor support for what is supposed to be a premium product.
    Lesson learned: I won't be upgrading Premiere again mid project after these experiences.

Maybe you are looking for

  • 11.1.2.1 Planning application creation problem

    Hi, I have a problem creating a planning application. I've tried both the AppWizard and from Workspace. I am able to create a datasource that succesfully validates and when I apply the settings for the Planning application and press Execute it just h

  • Mass generation of profiles of customize role in sap

    Dear All, I am unable to generate mass profile for customize roles in SUPC.After pressing Generate button its showing "Choose at least One role".

  • Can my ipod be saved?

    My ipod recently quit working and just flashed and made clicking noises until it ran out of power...now I can't get it to do anything.  It won't even show up in my computer anywhere.  Help?!  It's not covered anymore..

  • Slow Macbook Pro with OS X Yosemite

    Hello. I have upgraded from OS X Mavericks to OS X Yosemite recently. My MacBook Pro seems to be working more slowly. Anyone experiencing this problem?Sl

  • Plan independent requirement?

    hi what is plan independent requirement and what is the link with it sales order.is it made after sales order or before sales order.please explain in detail.also please explain what is the the difference between mrp type PD and VB.