Solved

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

Posted on 2014-02-14
3
796 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
[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
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 36

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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 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