Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to read and insert data to sharepoint lists from a windows form using ListData.svc , but when i add service references , i get the flowing error :

Error 1 Custom tool error: Schema specified is not valid. Errors: (0,0) : error 0005: The 'Name' attribute is invalid - The value '_1' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed. (0,0) : error 0005: The 'Name' attribute is invalid - The value '_2' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2007/05/edm:TSimpleIdentifier' - The Pattern constraint failed.

I try lists.asmx and add web references , but keep asking me username and password !!! whats wrong and what should i do !?
Posted
Comments
aarif moh shaikh 7-Apr-15 2:32am    
Not Clarify question...
Rajat_RJT 14-Apr-15 2:14am    
if its asking for username password, then you are not authorized to use that service,you need credentials for that service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900