Problem:
You have made modifications / created a new page for a list / document library. When you open the "Select View" menu on the list you see duplicate entries for the same view; however, when looking at the details of the view you may see that it points to a completelly unrelated page - like the main default.aspx / dispform.aspx.
One of the major problems with this is that you cannot delete those links - doing so will delete the page as well, obviously deleting the main dispform.asp / default.aspx page will be inconvienient to say the leat.
Why this is happening:
Well, in my case it was the following:
- I created a XSL dataview on the default.aspx page (this will be the same for any other page you modify) that was linked to a list.
- Insteas of using the "Insert Dataview" option from the SharePoint Designer (SD) toolbar - I thought I would be clever by 'dragging and dropping' it onto the page directly from the "Data Sources" task pane.
- This is what is causing the the duplicate list view which points to the wrong page.
- Inserting the dataview via the main toolbar / transforming an existing webpart does not cause this problem.
- Not sure why this is as code looks the same when insertev via both ways (must be something in the back-end), but it just is.
Other reasons it could be happening:
- You created a copy of the list view page you were modifying as a precaution.
- Unfortunately it does not matter where you store this copy, the duplicate link will point to wherever you put it =)
Regards.