Trimantra Software Solution Ответов: 0

Удаленный сервер вернул ошибку: (401) unauthorized. После определенного периода времени (2010 CSOM C#)


I am running into a very strange issue.

I am working with SharePoint 2010 Site using Client Side Object Model(C#). I am not having SharePoint Server so I have created an windows application using c# CSOM to deal with SharePoint.

In my application I am dealing with creating so many document libraries and documents within it. The SharePoint site uses Kerberos authentication. For few hours lets say 2-3 hours it work successfully and creates document library and documents within it, but later on it start giving following error:

The remote server returned an error: (401) Unauthorized.

I am not able to find out the actual reason behind this. Same code runs for 2-3 hours and later on it starts giving error. I verified multiple time, the application runs for few hours and then suddenly start giving the above error.

So my question is what may be the possible reason for the above situation?

If any one have already passed from such situation then please provide valuable suggestions and help.


Что я уже пробовал:

Я пытался запустить приложение несколько раз, но каждый раз после определенного периода времени оно выдает мне ошибку для несанкционированного доступа

0 Ответов