Link to home
Start Free TrialLog in
Avatar of telliot79
telliot79

asked on

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

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
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

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
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of telliot79
telliot79

ASKER

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.