Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

i have site collection with Persian language. so lists and fields are in Persian.
when i create a console application and add reference to listdata.svc, i can use the datacontext and add items to a sample list.
but when im in wcf service project and use the same codes and configs it won't work.
inner exception message is:
Error processing request stream. The property name 'ایجادشده' specified for type 'Microsoft.SharePoint.DataService.ParnianQueueListItem' is not valid.
'ایجادشده' is "Created" field in SharePoint Lists.
exception message is:
System.Data.Services.Client.DataServiceRequestException was unhandled by user code
Message=An error occurred while processing this request.
Source=System.Data.Services.Client
StackTrace:
at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()
at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()
at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)
at Parnian.NotificationService.Srv.WcfNotifyMainClassService.AddItemToQueueList(QueueItem item, String configKey)
at SyncInvokeAddItemToQueueList(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

im struggling with this a day so please save the another day.

share|improve this question

1 Answer

i finally figure it out.
it's because of anonymous authentication that must be disable in "_vti_bin" folder in iis.
but why? can anyone tell me.

share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – John Chapman Oct 16 '12 at 17:23

Your Answer

 
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.