Answered by:
Invalid Page URL error

Question
-
I am trying to modify newform.aspx for a cutom list in Sharepoint Designer 2007.
But after modifying it i am getting "Invalid page URL:" error.
please tell me the steps to modify it.Actual requirement is I have to disable some filelds after user selecting a value from dropdown box.Monday, July 13, 2009 9:49 PM
Answers
-
If you remove the attachments field from your aspx page does it work? I'd suggest setting newform.aspx back to site definition and starting over in a customform.aspx page.
- Proposed as answer by SLF05 Friday, July 17, 2009 6:21 PM
- Marked as answer by Xue-Mei Chang-MSFTModerator Friday, July 24, 2009 6:44 AM
Tuesday, July 14, 2009 1:13 PM -
Hi,
Please try to edit your custom list form according to KB 953271: http://support.microsoft.com/kb/953271Let me know the result.
Xue-Mei Chang- Proposed as answer by SLF05 Friday, July 17, 2009 6:21 PM
- Marked as answer by Xue-Mei Chang-MSFTModerator Friday, July 24, 2009 6:44 AM
Thursday, July 16, 2009 9:54 AMModerator
All replies
-
This seems like it may help you.
http://sharepoint07.wordpress.com/2008/02/05/customize-the-newformaspx/Monday, July 13, 2009 11:24 PM -
See here:
http://www.recklessellipsis.com/index.php/2009/01/30/custom-newformaspx-invalid-page-url-or-an-unexpected-error-has-occurred/
Mike Smith TechTrainingNotes.blogspot.comTuesday, July 14, 2009 1:28 AM -
Thanks All.
Please help me with this,
I am getting new error.
"failed to get value of the "attachments" column from the "attachments" field type control. see details in log. exception message: guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)."Tuesday, July 14, 2009 1:45 AM -
If you remove the attachments field from your aspx page does it work? I'd suggest setting newform.aspx back to site definition and starting over in a customform.aspx page.
- Proposed as answer by SLF05 Friday, July 17, 2009 6:21 PM
- Marked as answer by Xue-Mei Chang-MSFTModerator Friday, July 24, 2009 6:44 AM
Tuesday, July 14, 2009 1:13 PM -
Hi,
Please try to edit your custom list form according to KB 953271: http://support.microsoft.com/kb/953271Let me know the result.
Xue-Mei Chang- Proposed as answer by SLF05 Friday, July 17, 2009 6:21 PM
- Marked as answer by Xue-Mei Chang-MSFTModerator Friday, July 24, 2009 6:44 AM
Thursday, July 16, 2009 9:54 AMModerator -
Currently i am not getting that error.
I have disabled the attachments filed in the custom list by going to advanced settings.
Any way thanks for all your replies.Thursday, July 16, 2009 12:22 PM -
This worked for me: simply copy the list web part from the list's editform.aspx into newform and give it a new guid, id and a few other properties and you'll be good to go and next time, don't delete the default list webpart, just hide it.
Found here:
http://hightechdave.com/2010/09/22/recover-newform-aspx-from-the-dead-in-sharepoint-2007/
Phil Shisbey- Edited by pshisbey Tuesday, January 10, 2012 9:58 PM clarity
Tuesday, January 10, 2012 9:57 PM