Solved

Using Sharepoint Designer 2010 on a list migrated from SP2007

Posted on 2011-03-23
5
541 Views
Last Modified: 2012-05-11
I have customised the New, Edit and Display forms for a list in Sharepoint and Sharepoint designer 2007. Following that, a database attach migration was completed. I am now having issues opeing the forms. e.g. This happens when I attempt to create a new item in the list.
(I have several fields using the Sharepointboost Cascaded lookup)

System.NullReferenceException: Object reference not set to an instance of an object.
   at Brandysoft.SharePoint.LookupPro.CrossSiteLookupField.HandleTextBoxChoices(TextBox textBox, Func`2 predicate)
   at Brandysoft.SharePoint.LookupPro.CrossSiteLookupField.Internal_CreateChildControls()
   at SharePointBoost.Util.TryCatch.Run(CodeToRun codeToRun, CatchCode catchCode)

I don't believe that it is not the cascaded dropdown itself, because another application using it and migrated in the same way works well. (same farm, same app pool)

The first thing I want to do is set one of the uncustomised forms back as being the default, without destroying what I have (ie setting the current one back to the site definition is not an option)- I have saved EditForm1.aspx, Editform2.aspx etc as well as the original. Being able to do this will help me step through my customisations and locate the source of the error.
How do I do that in Sharepoint Designer 2010?.
What is displayed in the list settings - forms area.As the attached image shows, Sharepoint Designer only displays that  the original forms are default? - which is not correct, because when I try to create a new item in SP2010, it uses my correct default form (NewForm2.aspx as specified back in SP2007)

Thanks in advance.
MKA
0
Comment
Question by:M_K_A
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 14

Expert Comment

by:KoenVosters
ID: 35215948
It is a crossitelookup field. Can it be that the cross site has moved to another url? And that the other one is working because the url's stayed the same?
0
 
LVL 1

Author Comment

by:M_K_A
ID: 35231400
KoenVosters,
Thankyou for your comment. Unfortunately, it is not a cross site lookup. The cascaded lists are all in the same site. There is no access to the URL information for the lists used in the cascaded lookup, and considering that it does work on another site, I would expect that there is not an issue based on hard wired URLs. Good  line of thought though - thankyou. I have raised the points from 50 to 250 as it is obviously not a simple solution.
Regards, M_K_A
0
 
LVL 1

Author Comment

by:M_K_A
ID: 35244950
Further information:

The issue is resolved if I am local administrator on the SP2010 server. It fails for all users who are not local admin with the above error message. Obviously I don't want to make everyone a local administrator!
M_K_A
0
 
LVL 1

Accepted Solution

by:
M_K_A earned 0 total points
ID: 35381274
Solved the reason for the error message. It was because the cascaded dropdown was referring to a list with about 13000 items in it, and the default list throttling setting for SP2010 was set to the default 5000.

This still doesn't answer why a migrated application from SP2007 to SP2010 doesn't display which are the default forms for a list correctly.

Closing this call.
0
 
LVL 1

Author Closing Comment

by:M_K_A
ID: 35410441
I accepted my own comment as a solution because it resolved the problem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question