I have found an issue with the latest version of the BTVLibrary and BTV 4.9.0. After upgrading BTV, AddBlockedRecordings causes a crash with the following information:
Code:
Unhandled Exception: System.Net.WebException: The request failed with HTTP status 400: Bad Request.
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 BeyondTVLibrary.BTVScheduler.AddBlockedRecordings(String authTicket, PVSPropertyBag[] bags)
at BTVRecMgrConsole.Program.Main(String[] args)
I have confirmed it is not my code. I have connected my application directly to the BTV webservice and everything works fine (only modification on my part was to change the object calls to point to the web reference instead of the BTVLibrary reference). I took a look at the BTVLibrary code but cannot seem to find the issue in the Library that is causing the problem. Anyone else running into this issue?