Complete Guide to Fix Broken SharePoint Lists

401 Unauthorized SharePoint

If you have ever played with SharePoint lists forms (NewForm.aspx, EditForm.aspx) in SharePoint Designer, then you must have an encounter with broken links and other related errors that have delivered your lists or forms useless.

This has become one of the hottest topics, in various forums, community, and discussion we have found user-facing similar types of issues.

So, if you are among the ones facing the same issue then this blog is really going to help you. Then, here learn the complete information about the broken SharePoint lists error as well as the fixes given

What Causes Broken SharePoint Lists Error?

The main reason for the error is the SharePoint works on a GUID system instead of a file name system. Hence, simply replacing the broken file with a backup file will not work because SharePoint will search for a file with accurate GUID and not just the accurate file name.

How to Fix Broken SharePoint Lists Error?

Fortunately, there is an easy way to fix this, but it will take your time and a bit of digging. If you are reading this blog then it is clear that you must be familiar with the SharePoint Designer and the file structure of the list.

The only way to break a form is possible within the Designer. So, follow the below steps to fix the issue and the things which you need to fix your forms is:

List GUID for the forms – There are two ways you can search out this:

  • Sort the list in your browser and copy the GUID between? View= {and} or
  • Copy it from other unbroken list forms.

The proper XML info for the form which is below:

*** NewForm.aspx ***

<WebPartPages:ListFormWebPart runat=”server” __MarkupType=”xmlmarkup” WebPart=”true” __WebPartId=”{[Form GUID]}” >

<Title>TITLE HERE</Title>

<ID>g_[Form GUID]</ID>

<ListName xmlns=””>{[LIST GUID]}</ListName>

<ControlMode xmlns=””>New</ControlMode>

<FormType xmlns=””>8</FormType>


*** EditForm.aspx ***

<WebPartPages:ListFormWebPart runat=”server” __MarkupType=”xmlmarkup” WebPart=”true” __WebPartId=”{[Form GUID]}” >

<Title>TITLE HERE</Title>

<ID>g_[Form GUID]</ID>

<ListName xmlns=””>{[LIST GUID]}</ListName>

<ControlMode xmlns=””>Edit</ControlMode>

<FormType xmlns=””>6</FormType>


*** DispForm.aspx ***

<WebPartPages:ListFormWebPart runat=”server” __MarkupType=”xmlmarkup” WebPart=”true” __WebPartId=”{[Form GUID]}” >

<Title>TITLE HERE</Title>

<ID>g_[Form GUID]</ID>

<ListName xmlns=””>{[LIST GUID]}</ListName>

<ControlMode xmlns=””>Display</ControlMode>

<FormType xmlns=””>4</FormType>


For example you get this XML code down to the critical parts. However there is many more that you’ll see when you try to edit the ListFormWebPart, but these are the appropriate ones as per the topic right now.

NewForm.aspx ControlMode = New
FormType = 8
EditForm.aspx ControlMode = Edit
FormType = 6
DispForm.aspx ControlMode = Display
FormType = 4

Well, now you have all the required things to fix this issue, here how to do it:

  • Open any form that is Not Broken, with the broken form page that is already opened in SharePoint. This can be any form from the list if it works, however, it is easier if this form comes from the same list as the one which you want to fix.
  • In the source code in Designer, search for <WebPartPages:ListFormWebPart … to </WebPartPages:ListFormWebPart> block of code.
  • Copy this block of code and paste it into the broken form that is overwriting the same block of broken form code.
  • Now paste the List GUID in &ltListName … between the { and }.
  • Ensure that the other XML data is proper to correct based on the form that you want to repair. (This is taken from the table above).
  • Create a form GUID (at the link above) and paste it into the … __WebPartID=”{[Form GUID]}” > and the <ID>g_[Form GUID]</ID>.
  • Finally, save the file and refresh the list in your browser. The broken links should now be fixed.

Hopefully, the solutions given works for you to fix broken links in the SharePoint list form error. But if you are still encountering the error of the broken list in SharePoint then try using the automatic tool.

Easy Way to Fix Broken Links in SharePoint List Forms

If you are unable to fix the broken SharePoint lists by following the above methods then it is recommended that you should use SharePoint File Repair Tool. It is particularly designed to fix the corruption, errors, or damage done to the SharePoint server. With this tool, you can easily fix and restore your SharePoint database files. You can download the free trial version now to check it out.

This tool also allows the user to retrieve the SharePoint database like tables, documents, labels, etc. this software is incorporated with a simple and rich graphical user interface to offer easy SharePoint recovery.

Steps to Run the SharePoint Repair Tool

  • Firstly, download, install, and launch the SharePoint Recovery Tool.
  • The interface screen displays two options to recover SharePoint data: ‘Complete Repair‘ and ‘Document Recovery‘. Select as per your requirement.

  • If you choose ‘Complete Repair‘, the screen will show the options for selecting and searching SQL Server (.MDF) files. Click on ‘Browse‘ to select a SharePoint database for repair.
  • If you do not know the actual path of the database which you want to repair, click on the ‘Find‘ to locate the MDF file in a specific drive.
  • After selecting the desired file initiate the scanning process.

  • After finishing the scan, the software would generate a tree of all SharePoint database tables and will display it in the left pane. You can select the table in the tree and can have the entire preview in the right pane. Then click on ‘Repair‘ to begin repairing for the selected database.
  • After clicking on ‘Repair‘, this dialog box will appear. Specify the SQL Server name or Instance name and the desired destination path.
  • Click on the ‘Browse‘ option to choose the destination path. And select the ‘OK‘ button.
  • Once this process gets completed, you would find a dialog box that displays this message ‘Recovered file saved at the desired location.” This shows that Recovery Process has successfully completed’.
  • Select the ‘OK‘ button.
  • You would find another dialog box that asks whether you want to attach the repaired database to the web application. If you click on the ‘Yes‘ button, the above dialog box will be displayed.
  • In the web application type URL, the name of the corrupt database and SQL Server Instance name.
  • Then select the ‘OK‘ button and proceed.
  • When the process gets finished, you would be able to access the repaired database by opening the web application.


Hopefully, the solutions are given works for you to fix the Broken SharePoint Lists error. Well, this is a bit tricky error but many users managed to fix it by following the fixes given.

Try following the solutions given one by one carefully. But if not then feel free to try the SharePoint Repair Tool.

If you have any other queries or suggestions, then share it with us on Facebook and Twitter. Also, if you like this article, then share it with the users going through the same issue.