0

I am trying to add a new listitem using the sharepoint list service. But Iam getting this error in the result xml from sharepoint

"0x81020030Invalid file name. The file name you specified could not be used. It may be the name of an existing file or directory, or you may not have permission to access the file."

The strange thing is its working fine if i call from my local machine but fails in qa env.

This is the code that connects to service

client.ClientCredentials.Windows.ClientCredential = new System.Net.NetworkCredential("use", "pwd", "domain");

SPCalendarService.ListsSoapClient client = new SVMEvents.SPCalendarService.ListsSoapClient("ListsSoap", "url");

            System.Xml.XmlNode ResultNode = client.UpdateListItems("EventList Name", inputXml);

Any ideas why this error comes... I am trying to add a new listitem.

3 Answers 3

0

This error usually means the list where you are trying to add the list item is corrupted. Could you access to this list with the browser? Or add new items?

2
  • Yes I can open the list item and i am able to post to the list from my local, it does not work from the dev server Commented Jan 8, 2013 at 22:28
  • In that case I recommend you recreate the list and try again. Commented Jan 9, 2013 at 3:00
0

It could be due to a mistake by Microsoft in reporting the error: for some reason, this error is returned if one of the columns is corrupt. Try finding out whether any columns got corrupted and removing them and adding them again. Here's a post that someone wrote about how he got a column corrupted and got that error.

0

This message also appears if you run out of disk space on DB server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.