SharePoint WSP deployment not updating List GUID to match target site?

We have done a "Save as Template" SharePoint site collection with a site and a sub-site saved as two WSP template files, including content. These deploy fine to our Staging server when we put them into a path-based site collection.
However, we are expected to use a host-named site collection.  Deploying to that, when accessing a page gives “list not found” error on the top site and “Invalid Page Layout” error on the subsite.
Using ULS I can see that on the top site SharePoint is trying to access the Pages List using the GUID from our development server. The GUID for the actual Pages Library is different on the Staging server, as the Pages Library was created when the Publishing
Feature was activated. I don’t see any easy way to update the baked-in list GUID which normally SharePoint would update as part of the deployment. Especially as it is a system library.
In this
thread I did find that this was a known issue up until the November 2014 CU, however, having upgraded the server to the December 2014 CU we still have the problem.
I have also noticed that for our Page Layouts on the subsite SharePoint has not updated the URLs (they still point at out Dev Server), resulting in "Invalid page Layout" errors.
Any suggestions for how to tell SharePoint the correct GUID to use for our Pages Library would be appreciated.

The only solution to this was to change the dev server to use Host Named Site Collections. We exported the (path based) Site Collection and then reimported it using the Backup-SPSite/Restore-SPSite powershell from here:
https://technet.microsoft.com/en-us/library/cc424952.aspx?f=255&MSPPError=-2147217396
We were then able to produce WSPs which the Staging server could understand - the lists updated correctly when deployed if the origin was a host-named dev site.

Similar Messages

  • Sharepoint Foundation Can not update External List by Work Flow

    Hi
    I try to update External List by other list Work Flow, in Sharepoint 2010 Foundation.
    Here is the manual: 
    http://msdn.microsoft.com/en-us/library/office/ff394479(v=office.14).aspx
    But it fails , and the error message is “The
    workflow could not update the item in the external data source. Make sure the user has permissions to access the external data source and update items.”
    Is there some limited in Foundation?

    http://social.technet.microsoft.com/Forums/en-US/0bb9ef28-3614-4db2-b19f-dd81e8cc2d42/the-workflow-could-not-update-the-item-in-the-external-data-source?forum=sharepointgeneralprevious
    With no Secure Store in Sharepoint what we ended up doing was creating a new external content type, adding a new connection and picking a connection type of .net type instead of sql.  This means we needed to create a .net app as the go between but within
    .net we had all the usual tools for connecting to sql without permission issues.
    Also check
    http://wyldesharepoint.blogspot.in/2010/06/setting-up-external-content-type-for.html
    If this helped you resolve your issue, please mark it Answered

  • SharePoint 2013 Workflow Not Updating on Deployment

    Developing a 2013 Workflow on SharePoint 2013 using Visual Studio 2012, deploying workflow changes does not update the workflow that runs. This has already been posted on the SP 2013 dev forum, but I wanted to check here with the workflow folks. Anyone run
    into this issue before and/or have tips for solving?
    Thanks.
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/cd543a00-f3ab-4a4a-8682-b81d8330b677
    http://blog.randomdust.com

    This issue is reported and I'll post about it once I have an update.  For now to workaround this issue, you can try these steps
    Change the default deployment option to “No Activation”
    Retract the solution using Visual Studio
    Deploy the solution. This time feature will not be activated by default as we have changed to “No Activation”
    Open the SharePoint designer and click on the “Workflow”  section. You will see your workflow already present there. Delete the workflow which you have created.
    Activate the feature manually.
    Now you should see your updated version.
    Chandrasekar Natarajan

  • PCI-6023E Boards calibrated at NI are not updated & listed in print calibrated document

    PCI-6023E boards calibrated at NI are not updated in my devices- print calibration records.
    Lee Bohot
    713-254-4825
    [email protected]

    I am refering to the NI website-MyNI/My Registered Products/On-line Calibration Certificates. When I enter a PCI-6023E serial number that has been recalibrated in Jan. '03 by NI, the web site says the device is out of calibration, but I have received a new calibration data sheet for the latest calibration. Will this new calibration be reflected in the web site?
    Thank you,
    Lee Bohot
    Lee Bohot
    713-254-4825
    [email protected]

  • Data not updating from psa into Data Targets

    Hiii,
    We have started data upload in info cubes from psa . The number of records was 4 in psa . But after waiting for at least 3 hours ,still the data is not updated  in info cube . The data which we want to upload in info cube (of stock) is of past date which due to some reason failed to update in BI from ECC . To upload the same that is data of past date we have deleted the setup table in ECC and then after filling the data again in set up tables, created a new info package from which uploaded data in PSA . But while trying to upload data in info cubes,it is not getting updated and the request status is showing still green yellow in psa.
    Please suggest how to resolve this issue.
    Thanks and regards

    Are you loading material movements from 2LIS_03_BF in to cube? If so, please look at the below link for inventory data loads.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/906b837a-0d54-2c10-08b8-bde70337547e?QuickLink=index&overridelayout=true
    Regards,
    JB

  • Non iTunes downloaded songs not updating metadata in iTunes Match?

    When I download a song to my computer and upload it to iTunes Match and set all the info it is not being reflected on my IOS devices.  There are other songs with the same metadata but the new stuff won't fall in line. What am I found wrong? Please help! ( read like lelu Dallas from 5 the element for laugh)

    Sorry aobut the delay, work stuff. It shows they are uploaded. These aren't song I bought on itunes, maybe I should've started with that.

  • Can not update request in data target

    Hi,
    We have a process chain for master data (10 parallel) loads.  One of the load
    failed with error "can not update request REQU_46xxxxxxxxxxxxxx in data target".
    When I checked the InfoPackage
    (a) update: full load
    (b) it has data selection
    (c) processing :PSA and then to data targets
    (d) Data targets: update in all data targets for which active rules exist.
    But I do not see any list of data targets here.
    Can some one please suggest me how do I correct this load failure.
    Thanks

    Hi Wondewossen, NS and Nagesh,
    Thanks for the information. I am in support, and the developer is
    not here now.
    I have checked Header tab in the monitor, in this there
    is a update symbol and infosource name and an -->
    but after arrow there is nothing.
    when I click on this I get a message
    "No active update rules exist".
    Can you please advice me how to I correct this.
    Thanks

  • SCEP standalone client not updating

    Hi All
    I have standalone SCEP installed clients which do not reboot, however I have noticed that the clients are not updating their definitions they have been sitting there 5 days now and no updates applied.
    The policy is to look at a UNC path followed by Microsoft but the client does not. The Definition Update Policy is also set to check for definitions everyone 4 hours, my understanding was if it cannot find definitions at the UNC path then it should go to
    Microsoft to receive the updates.  I have also set it to force a definition update if the computer is offline for more than two consecutive scheduled updates.
    Any ideas please ?

    How did you deploy policy for them?
    Are you sure policies been applied to these endpoints?
    Try change priority to first check Microsoft Update website and then UNC and see whether it makes any different or not?

  • Not updating to the data target

    hi experts,
    iam laoding data from cube1 to cube 2.
    in the cube2, i  made some update routine like if 2 key figures are so and so add new field with some value.
    in the simulation it is showing correct values, but it is not updating in to the data target.
    please treat this as urjent.
    regards
    kumar

    Hi,
       Where have you written the code ? - In Start Routine or in the Field Routine.
    I would advice to write in the Start Routine.
    Let's assume you write the code in the following way.
    LOOP at Data_package.
      IF Data_package-field1 = 'X' and Data_package-field2 = 'Y'.
         Data_package-fielld3 = 'A'.
      ELSE.
         Data_package-fielld3 = ' '.
      ENDIF.
    Modify Data_package.        ---> This is the most important one.
    ENDLOOP.
    Hope this helps.
    Regards,
    Balaji V

  • Sharepoint 2013, MS Project 2013 - Task List not updating when the project file is changed

    Hi
    I have created a SharePoint task list and timeline from a MS Project 2013 file on my PC. I have then created a new Project file from that task list which then places the new project file in the site asset folder and provides me with a synced copy. I now
    only use the SharePoint copy of the project file in my MS Project as any change I make to the project file should be reflected in the Task list and vice-versa
    However if I add some tasks into the middle of the project with MS project, the SharePoint Task list is not updated to show these additional tasks. If I open the SharePoint task list with MS Project - from the task list toolbar - the project file shows the
    added tasks.....so the MS Project file in the site asset folder is correct  but the tasks in the SharePoint task list is not being updated
    Anyone seen this before ?
    Thanks
    Geoff

    Hi Esben,
    According to your description, the error occurred when opening the task list with the content approval enabled in Project.
    Per my knowledge, when we enable the content approval for the task list, the field named Approval Status which is required will be created in the list.
    However, if a project plan doesn’t contain a field that is required in SharePoint, the plan won’t sync.
    The error occurs because of the required field Approval Status when the content approval is enabled in the task list, so we need to add the required field as a custom field in Project.
    More information:
    Sync with a SharePoint tasks list:
    http://office.microsoft.com/en-in/project-help/sync-with-a-sharepoint-tasks-list-HA102828524.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Update list definition schema.xml after deployment

    I was wondering if anyone here has any experience with updating the schema.xml file after deployment.  I have a solution that I will outline in this post, but I feel like it is a delicately balanced hack instead of a real solution.  Any Information
    that you can provide is greatly appreciated!
    To begin, I am trying to create a new taxonomy site column, use this new site column in place of an old one in an existing content type, and update the list definition (and all existing lists) to show the new site column instead of the old.
    The content type was originally deployed via an elements.xml file.  From what I understand, once deployed this file should never be modified.  So, via code I define my new site column, add the site column to the content type, and delete the old
    site column from the content type.  I perform an update(true) on the content type so that the change is pushed to all list instances.  At this point, I can go to any list and the new/edit form for each of those lists does not show the old site column
    but does show the new.  So far so good!
    There are two problems at this point.  If I try to create a new list from the definition, I get a list that contains the site column that I deleted AND the new site column.  Also, the deleted site column name still appears in the default view. 
    I tried removing the old and adding my new site column to the schema.xml, but this breaks all existing lists that were made from this schema.xml (specifically, it is a taxonomy field and none of the taxonomy fields work after updating).  I can create
    a new list from the list definition that works fine, but I still need existing lists to work. 
    The solution that I ended up on was JUST removing the no-longer-necessary field from the schema.xml, and then adding my new field to the ViewFields list in the schema.xml.  If I do this, everything is happy even though the only mention of the new field
    in the schema.xml is in the ViewFields section.
    So, with all of that said... does this make sense?  Am I doing this the correct way, or does this just work for now... and it will blow up later?
    Thanks in advance!

    I am sorry if I have caused confusion.  I am not doing what you think that I am doing :)
    All of my issues that I reference above are encountered when I deploy via WSP/Powershell.  I am not changing any files directly in SharePoint.  When I mentioned changing the elements.xml and schema.xml files above, I am talking about in Visual
    Studio prior to packaging everything in WSP and redeploying.  I will re-word my previous post to better emphasize my questions:
    Isn't changing the elements.xml via Visual Studio and deploying the same as changing it directly? I have tried numerous times to change a content type elements.xml
    file in Visual Studio, Deactivate/Retract/Remove/Install/Deploy/Activate the new version via WSP,
    and then perform a content type update(true) in the feature activated
    to push the changes to all child content types... and it doesn't change the lists version of the content type.  This is why I thought that guidance of "don't change the definition file" applied to elements.xml altogether after deploying. 
    Either way, my code approach for getting these fields updated is working, so I can probably just proceed with that approach.
    This is where it gets very strange.  I see everyone indicate that a schema.xmlchange does not affect existing lists that were made from a list definition
    when updating the package in Visual Studio, Deactivating/Retracting/Removing/Installing/Deploying/Activating the new version via WSP.  I am 100% seeing the opposite of this.  When I update the schema.xml file
    in Visual Studio and then deploy via WSP/Powershell, my views (in existing lists) change to match the new schema.xml as soon as I deploy the changes.  I don't know if this is working differently in 2013 than it did before.
    Hopefully this better indicates the situation.  My apologies!
    Thanks again!
    Hi,
    Do you have a solution for case 2)?
    I just confirmed for case 2), you are right. This happened for both SP2010 and SP2013.
    I've tried to add more column in the schema.xml, then re-deploy solution. After that, all existed lists are effected the new schema.xml. However, by the work as design of SharePoint OOTB, it could not be effected because after creating a list, all schema.xml
    is copied to database and it will work on the separate space. It's so strange.
    if you have a solution to fix or found out something else, please share it.
    Thanks
    /hai
    Visit my blog: My Blog | Visit my forum:
    SharePoint Community for Vietnamese |
    Bamboo Solution Corporation

  • AD Group membership not updating in Sharepoint Foundation when adding Active Directory group to Sharepoint group

    I have Sharepoint Foundation installed with the latest CU updates.  It is running on a VMware box (Windows Server 2008 R2 Standard) with its backend on a SQL Server 2008 R2 vmware box.  The farm account is a domain user and has been given all appropriate
    replication rights, etc to active directory.
    Everything seems to be working fine except for security integrated with AD groups.  When I go to edit permissions I can add individual AD users just fine and remove them just fine and their access is taken away right away or given to them right away.
     I can also find AD groups in the people picker and add them to the site. When I add new groups to AD, they are found immediately within Sharepoint, and when I delete groups from AD, they are taken out of the people picker right away.  Now comes
    the weird part.  When I add an AD group to the site, all users currently within that AD group are given access to the Sharepoint Site.  This works for the first time only.  Now when I add or remove users from the AD groups, it does not update
    in SharePoint.  For example, I have an AD testuser1 in the AD Group "All Users".  testuser1 does not have access to SharePoint.  So I add  the AD group to the Sharepoint group "Visitors".  testuser1 now has read access to the sharepoint
    site.  Now, I remove testuser1 from the AD group, but testuser 1 still has access to the site even though he is not part of the AD group, nor does he have any individual permissions to the site.  Now, I add testuser2 to the ad group.  testuser2
    does not have access to the site, even though he is part of the ad group.
    It seems that the only time AD group security is working for me is when I first initially add the AD group to the site.  From then on, it's like sharepoint is caching the members of the group and not updating any new adds or deletes from the groups.
     Any ideas?  I am lost on where to go from here as I have tried everything from clearing cache files, rebooting servers, iisresets....

    I think I have at least cornered the problem, but am not 100% sure yet that it is the correct answer.  I think it could be 1 of the following 2 scenarios.
    Scenario 1:  We have 3 web applications setup on our web server ports 80 - Our sharepoint Web app, 2020 - Our My Site Web App, 2040 - Our Search Web app.  We are using host headers (http://sharepoint.***.com) instead of a server name.  So
    we setup our access mappings (Central Admin -> Application Management -> Configure Alternate access mappings) to use the host header (http://sharepoint.***.com) as the default mapping and the server name as the intranet access mapping.  By
    setting the default access mapping to host headers, i noticed that Sharepoint automatically assumes that all web apps are on port 80.  You can see this by going to (Central Admin -> Manage Web Applications).  The port listed all 3 web apps on
    port 80.  So I think when I was doing a profile sync and using mysites, it was messing with my AD security because of this.  What I did was the following.  I went to Central Admin -> Manage Service Applications -> [Name of your user profile
    service] -> Setup my sites.  I made sure that my preferred search center had the correct port number on it (mine originally had no port number), that my my site host had a port (again no port number originally), as well as the personal site location.
     I then saved this.
    Scenario 2:  Our user profile sync had 2 BDC connections that were corrupt and throwing errors.  I rebuilt the connections, remapped them to the proper user profile property.
    I did both of these scenarios above around the same time.  I then restarted all my servers, and at last the AD Group security is now functioning appropriately.  I have done multiple IIS resets and server restarts.  The issue has only reappeared
    once.  After restarting the machine again, we were back to the AD groups functioning correctly.  Because we had the issue reappear once after doing the above, I still do not feel 100% sure that either one of the above corrected the issue completely.
    As long as we are up and running currently, I am moving on to other tasks with this project.  My only concern that it will break again and I will have to revisit it is when we restart the servers....which is never fun.  I will update as I find
    a "true" answer to this issue....  Let me know if any of the above helped you or if you find something I may not have thought of.

  • Qty and value in PO list are not updated (after a Service Entry)

    Hi Experts,
    Qty and value still to be delivered in the ME2L are not updated:
    I have performed a service entry (ML81N) but qty and value are not updated in the list of the PO in the ME2L.
    Could anyone explain?
    Many thanks in advance.
    Regards,
    Cesar

    Thanks for quick reply.
    I do not configure anything in SPRO (Define release strategy for SES) but I got a red light in the top of the screen near the field "No acceptance" so I presume that the SES should be accepted but as I do not configure anything regarding release startegy, I do not know how to accept the SES.
    Besides, I cannot perform MIRO: when I put the PO number, system indicates that there is no (suitable) item found for PO
    I should have miss something. Could you please guide me?
    Thanks,
    Cesar

  • How to retrieve full flash solution from WSP if not than how to retrieve ascx files from Template folder in SharePoint 2013 ?

    How to retrieve ascx file from the Template folder in SharePoint2013
    My issue is, I have WSP only so I changed into zip and got my all web parts and also one dll file after that decrypted dll and got some C# code
    mixing with some system generated code but not ascx file that is for front-end part. So my question is how we can retrieve full flash solution if not, at least ascx files So if we were on SharePoint 2010 we could have got those file from __Template__
    folder but It’s on SharePoint 2013 and not able to get ascx.
    If we can do so, than will be easy to get the task to be done
    Suggestions would highly be appreciated. Thanks in Advance.
    Ashish

    Hi Amit,
    you can not move specific changes from Dev to production.
    but you can follow this process to make your workflow as it is as in Dev:
    Create a new workflow on the new list in Product.
    Create at least one step, one condition and one action in this workflow.
    1. In Dev server open your .xomal file as XML and copy the entire contents.
    2.In Production server Open your .xoml file as XML and Paste the entire contents
    3. repeat this operation for the xoml.rules file
    4.Double click the .xoml file for the new workflow to open the workflow in the Workflow Designer and click Check Workflow to verify no errors and then click Finish to ensure the workflow is saved.
    Whenever you need to make changes apply the same.
    Please Mark Answer and Vote me if it will to resolve your issue

  • OOTB Approval Workflow on Custom List does not Update Approval Status

    I have a custom list on which I've required content approval.  I then created a workflow instance from the "Approval - SharePoint 2010" template.  For this workflow I have selected "Update the approval status after the workflow
    is completed (use this workflow to control content approval".  When I approve the list item via the workflow task item the status of the item is not updated but stays at pending even though the
    workflow shows "Completed" with the Outcome of "approved".  Is this the expected behavior, i.e. does "Update the approval status after the workflow is completed (use this workflow to control content approval"
    not work for custom lists?  Does it work on any of the lists?

    Hi Kalos1840,
    If you check "Require Content Approval" setting, only the way above can update the approval status due to the approval status is for this approval workflow. As this approval workflow cannot achieve your demand, I recommend you un-check "Require Content Approval"
    setting and create a custom workflow such as the OOTB Approval Workflow or SharePoint Designer workflow.
    Here is the steps of a SharePoint Designer workflow:
    1.Go to your custom list , click Create a Workflow in SharePoint Designer.
    2.Add a “Start a task process” action in your workflow.
    3.Click “these users” and Start a Task Process edit page will pop up.
    4.In the Participants field, input your  approvers based on the order of approval.
    5.In the right of Participants field, select “Serial (one at a time)”.
    Best  Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • Calling a Report from a Web Form

    Hi, I am calling a Report developed in report 6i from a Web form 6i Button. I am unable to launch the Report if Report is using a Customized Template. The report is able to launch if it has no template or using the templates given in report wizard. I

  • When I try to open iPhoto, I get an error message that says it can't open the application because it may be damaged or incomplete.

    When I try to open iPhoto, I get an error message that says it can't open the application because it may be damaged or incomplete.

  • Wrongly posted Sales Based Rent

    Hello, I have posted a SBR with Sales volume Zero.  Now, we realised that there is a sales value for that period.  Can you please advise how to correct it. Should i input the new volume in RESRRP and run RESRSE again or should i reverse the old SBR a

  • Oracle Concepts: Query on SQL Processing (execution in SGA/PGA)

    Hi, I need some clarity on my understanding, suppose there is a query: SELECT t1.c1, t1.c2 FROM t1, t2 WHERE t1.c3 = t2.c1 ORDER BY t1.c1;User A submits above query and following steps are executed: Syntax Check -in PGA Semantic Check -in PGA Shared

  • V$db_object_cache

    Hi, I have a package OWA that is executing many times and I see that has a lot of locks. What means this? How could I fix this issue? Thanks! sql> select type, sharable_mem, loads, executions, locks, pins, kept, child_latch   2  from v$db_object_cach