?
Solved

SharePoint List Definition is not being Recognized

Posted on 2011-04-26
2
Medium Priority
?
448 Views
Last Modified: 2012-05-11
My SharePoint list definition is not being recognized when I use SPQuery.

Code:
SPList list = webSite.Lists["ListDefinition1"];
                SPQuery query = new SPQuery();

My list definition is on my published SharePoint site.  Why is my list definition not recognized?

Thanks,

Dan
0
Comment
Question by:danielolorenz
  • 2
2 Comments
 

Accepted Solution

by:
danielolorenz earned 0 total points
ID: 35476677
Set proper database name fields
0
 

Author Closing Comment

by:danielolorenz
ID: 35476683
Synced database fields
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

831 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