Solved

Using Sharepoint Designer 2010 on a list migrated from SP2007

Posted on 2011-03-23
5
534 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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.

863 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

28 Experts available now in Live!

Get 1:1 Help Now