Solved

The closed type '' does not have a corresponding '' settable property error

Posted on 2014-02-14
3
751 Views
Last Modified: 2014-02-21
Experts:

I'm trying to deploy a working Visual Studio SharePoint project to a test environment and am receiving the following error when trying to load a page:

The closed type <ListItem> does not have a corresponding <List> settable property.

I've adopted this code so am a little in the dark, but it appears the project is attempting to access a list via Service Reference Web Service.

I've googled the problem and am not sure if any of the response are relevant to my situation as this code works in a production environment. Could it be that there's a difference in the lists in the production and test environments?

Any pointers on what I should be investigating will be much appreciated.

Thanks in advance for any help
0
Comment
Question by:telliot79
3 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39861096
Hi,
just a guess because without the source code its impossible to dig into it:
I think you try to generate a XML string which is passed to the service. This XML is not valid as there is somewhere an unclosed element, missing end tag.
HTH
Rainer
0
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 39863329
In your test environment capture the response using Fiddler and compare it with your production server.
Also check that you use in both machines the same .NET framework. components, OS, IIS configuration (this is very important both web.config and any machine.config must be the same especially foir your web service) and you delete any any temporary files. (especially the asp.net files)
0
 

Author Closing Comment

by:telliot79
ID: 39876723
the problem was the ordering of the columns in the list. I took a copy of the production list and placed it in the test environment and that solved the issue.

thanks for your suggestions, they were very helpful.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

18 Experts available now in Live!

Get 1:1 Help Now