Domanda

I am trying to execute a console application which updates creation dates on specified items in sharepoint lists.

When I try to execute I get this error:

There has been blocked for additions to the site. Contact system administrator to solve the problem.

I then went to the Central Administration to check if Quotas and Locks was set to Not Locked. Then afterwards running the stsadm commando

stsadm -o getsitelock -url http://mysite

Which returned SiteLock Lock="none", so those 2 matched.

I have debugged the console application and made it console.writeline each step it takes and it gets to the item.update(); part and that's when I get the above message.

Do you guys know another way around to solve this issue?

È stato utile?

Soluzione

Have you gone through all solutions provided here ?

or

check the document library settings and found out that doc. library was set NOT to require check out although versioning was enabled. just try to set to require check out

Altri suggerimenti

i dont know this is the right solution but i have faced the same problem and i did restart my machine and the problem is resolved.

hope this trick work for you.

Check if your database read-only.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top