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.

share|improve this question
feedback

1 Answer

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?

share|improve this answer
feedback

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.