“Invalid page URL” New Item in sharepoint

Suppose you use Microsoft Office SharePoint Designer to customize the NewForm.aspx page of a list in SharePoint, you connect to the list by using a Web browser.You may face any of the following issues.

  1. You click New to create a new item in the list. In this scenario, you may get the following error message “Invalid page URL:” a small JavaScript pop up window that appears on the screen.
  2. You get this error message “An unexpected error has occurred” when you click an existing item in the list.
  3. Additionally, you might view the properties of the list in SharePoint Designer 2007 and then specify the NewForm.aspx page in the New item form box. When you do this, the NewForm.aspx page appears to be saved as the new item form when you click OK. However, the next time that you view the properties of the list, the New item form box is empty.

Reason for the issue : This issue occurs if you deleted the List Form Web Part from the NewForm.aspx page.

Solution : To resolve this issue, delete the list, and then re-create it. Then, customize the NewForm.aspx page. When you customize the NewForm.aspx page, make sure that you do not delete the List Form Web Part.

If you want to customize the controls that appear on the NewForm.aspx page, and if you do not want to show the default List Form Web Part, you can hide the List Form Web Part. To do this, follow these steps:

  1. Start SharePoint Designer 2007, and then open the NewForm.aspx page for the list.
  2. Right-click the List Form Web Part, and then click Web Part Properties.
  3. Expand Layout, click to select the Hidden check box, and then click OK.

9 thoughts on ““Invalid page URL” New Item in sharepoint

Add yours

  1. There is an alternative, albeit imperfect, to losing your list items. Before you delete the list, export to a spreadsheet and make note of workflows and especially your column formats. Once you’ve deleted the list followed the instruction above (from personal expericence, wait until you’ve tested your form and everything works) then set your columns back up EXCATLY as you had the before. A screenshot is a great reference.

    Once you’ve done this, you can copy and paste your list items back from your spreadsheet into the Datasheet view of your list.

    I realize it’s not perfect and it won’t apply to all situtations, but that’s what I get for trying this on an important list…

  2. At first time I saw this problem, I couldn’t believe that’s the right way – to delete entire list – but.. microsoft recommends the same approach:


    When you need to customize a Form (new, edit or disp), never modify the default form – make a copy, change the copy (deleting the default form and create my custom), and then change the list configuration to use that customized form.
    If is something wrong, you can easily back to the default form, without need to destroy entire list!
    After this, I never had this problem again =]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: