Solved

Using Sharepoint Designer 2010 on a list migrated from SP2007

Posted on 2011-03-23
5
531 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
  • 4
5 Comments
 
LVL 14

Expert Comment

by:KoenVosters
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I accepted my own comment as a solution because it resolved the problem.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
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.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now