Skip to main content
edited title
Link

SharePoint High Trust Application - stopped being trusted - 401

added 319 characters in body
Source Link

We've got a high trust application which ok, in the mornings seem to 'not work' but then after the first hour was fine. But now it just blankly doesn't work with the non helpful.

System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)

Any ideas?


Edit

Ok, so bit more information, we managed to plug in fiddler into the solution using the lines

<system.net>
  <defaultProxy>
    <proxy usesystemdefault="False" bypassonlocal="False" proxyaddress="http://127.0.0.1:8888" />
  </defaultProxy>
</system.net>

These showed the results coming back but labelled 401.

We've got a high trust application which ok, in the mornings seem to 'not work' but then after the first hour was fine. But now it just blankly doesn't work with the non helpful.

System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)

Any ideas?

We've got a high trust application which ok, in the mornings seem to 'not work' but then after the first hour was fine. But now it just blankly doesn't work with the non helpful.

System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)

Any ideas?


Edit

Ok, so bit more information, we managed to plug in fiddler into the solution using the lines

<system.net>
  <defaultProxy>
    <proxy usesystemdefault="False" bypassonlocal="False" proxyaddress="http://127.0.0.1:8888" />
  </defaultProxy>
</system.net>

These showed the results coming back but labelled 401.

Source Link

SharePoint High Trust Application - stopped being trusted

We've got a high trust application which ok, in the mornings seem to 'not work' but then after the first hour was fine. But now it just blankly doesn't work with the non helpful.

System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)

Any ideas?