wumcgit / sukiyoshi

Automatically exported from code.google.com/p/sukiyoshi
0 stars 0 forks source link

Accessing the Video Read methods through Sharepoint Webpart #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to access FindAllVideos method from a UserControl which is hosted inside 
a webpart hosted in Sharepoint Environment. This throws the following error. 
But the same user control will work perfectly fine in a plain asp.net page.

System.Net.WebException: The underlying connection was closed: An unexpected 
error occurred on a receive. ---> System.IO.IOException: Unable to read data 
from the transport connection: An existing connection was forcibly closed by 
the remote host. ---> System.Net.Sockets.SocketException: An existing 
connection was forcibly closed by the remote host
  at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.GetResponse()
  at BrightcoveAPI.BCAPIRequest.ExecuteRead(Dictionary`2 reqParams, AccountConfigElement a)
  at BrightcoveAPI.VideoAPI.MultipleQueryHandler(Dictionary`2 reqparams, BCObjectType itemType, AccountConfigElement account) 

Original issue reported on code.google.com by vivekma...@gmail.com on 20 Aug 2010 at 11:03

GoogleCodeExporter commented 9 years ago
i'm not familiar with running a sharepoint server so you may need to find 
someone with that experience to help diagnose this issue. Do you have any 
special firewall rules or permissions settings that surround the sharepoint 
server. this may cause an issue since a typical web server has a lot of web 
access and connectivity whereas a sharepoint portal is usually cut off from the 
rest of the internet.

Original comment by stiles.m...@gmail.com on 7 Sep 2010 at 4:14

GoogleCodeExporter commented 9 years ago
It happens because Application Pool identity account doesn't have access to 
internet.

Original comment by speedste...@gmail.com on 11 Nov 2011 at 10:05