Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using Sharepoint Designer 2010 on a list migrated from SP2007

Posted on 2011-03-23
5
Medium Priority
?
549 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

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.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

704 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