Error rendering list - System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: GetMediaListControl failed ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at medialibrary.biz.Playlist..ctor(List`1 mediaList, QualityType quality) in C:\_projects\medialibrary\trunk\medialibrary.biz\Playlist.cs:line 42 at medialibrary.biz.PlaylistManager..ctor(List`1 list, QualityType quality) in C:\_projects\medialibrary\trunk\medialibrary.biz\PlaylistManager.cs:line 24 at medialibrary.biz.PlaylistManager.GetPlayAllXml(Guid apiKey, Guid userId, Int32 categoryId, MediaType type, QualityType qualityType) in C:\_projects\medialibrary\trunk\medialibrary.biz\PlaylistManager.cs:line 90 at Media.GetPlayAllListControl(Guid apiKey, Guid collectionGuid, Guid userId, Int32 categoryId, MediaType mediaType, QualityType qualityType, Boolean isIphone) --- End of inner exception stack trace --- at Media.GetPlayAllListControl(Guid apiKey, Guid collectionGuid, Guid userId, Int32 categoryId, MediaType mediaType, QualityType qualityType, Boolean isIphone) --- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at MediaService.Media.GetPlayAllListControl(Guid apiKey, Guid collectionGuid, Guid userId, Int32 categoryId, MediaType mediaType, QualityType qualityType, Boolean isIphone) at embed_getlistbyuser.Page_Load(Object sender, EventArgs e)