Issue with deploying farm solution using VS 2013

Hi , I am working on migrating a Custom SharePoint 2007 solution to SharePoint 2013 using database upgrade method. Currently, the database is mounted to SharePoint 2013 application but some of the custom lists (that were created through VS solution) are not working because the feature id is missing in new environment. So, I am trying to deploy those features by creating a farm solution using VS 2013 but unable to deploy through visual studio and getting below error :

Error occurred in deployment step 'Recycle IIS Application Pool': List does not exist. The page you selected contains a list that does not exist.  It may have been deleted by another user.

I also looked at the ULS Logs and found below text:

System.Runtime.InteropServices.COMException: List does not exist.  The page you selected contains a list that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>

The error could not specify as which list is missing and really clueless here.

Can someone help on above issue ?

Thanks.

Satish

March 27th, 2015 4:06pm

Hi,

May be the SP 2007 list template name or ID is not coincide with the SP2013 site.If that is true,

I would suggest you to put the element.xml file contents here to identify the list template name .

Or 

You missed the sequence of the WSP deployment, the problem causing package had dependency of another package that need to be installed. That package might have the list declaration.


Free Windows Admin Tool Kit Click here and download it now
March 28th, 2015 3:37am

Hi,

According to your description, my understanding is that when you migrate SharePoint 2007 custom solution  to SharePoint 2013, it occurs the error above.

Based on the error message, I suggest you can check if there are some custom lists  in the solution not exists in the SharePoint 2013.

As the error message can't specify the list ID which occurs error ,I suggest you can recreate the custom lists in the solution using Visual Studio 2013, for SharePoint 2013 list elements, you can refer the article below:

List Element

If the issue still exists, I suggest you can try to use upgrade-spcontentdatabase command to update the content databese.

Here is a similiar thread for your reference:

https://social.technet.microsoft.com/Forums/en-US/367ff90d-2b13-464d-83d7-f3027eb880c8/problem-deploying-feature-with-visual-studio-2010-to-a-migrated-sharepoint-2007-site-collection?forum=sharepointadminprevious

Thanks

Best R

March 29th, 2015 10:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics