System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Unexpected error happend when trying to connect with the Genius web service, see inner exception for details ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 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 MFDataAccess.Genius.MD.MetaData.GetAccessKey(String UserName, String Password)
at MFDataAccess.DataAccessBase.AccessKeyFromGenius()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at MFDataAccess.DataAccessBase.GetDataObjectFromStore(Delegate geniusHandler, Object[] delParams, String cacheXpath, TimeSpan cacheDuration)
at MFDataAccess.DataAccessBase.get_AccessKey()
--- End of inner exception stack trace ---
at MFDataAccess.DataAccessBase.get_AccessKey()
at MFDataAccess.DataAccess.TopGainersFromGenius(Timeframe timeframe, Int32 number, Boolean delayed)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at MFDataAccess.DataAccessBase.GetDataObjectFromStore(Delegate geniusHandler, Object[] delParams, String cacheXpath, TimeSpan cacheDuration)
at MFDataAccess.DataAccessBase.GetDataFromStore(Delegate geniusHandler, Object[] delParams, String cacheXpath, TimeSpan cacheDuration)
at MFDataAccess.DataAccess.MarketStatus(MarketStatusType type, Timeframe timeframe, Int32 number, Boolean delayed, TimeSpan cacheDuration)
at MentisFinancialControls.Controls.MarketStatus.GetData()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at MentisFinancialControls.MFCBase.SetupData(Delegate dataHandler)
at MentisFinancialControls.Controls.MarketStatus.MainPreRender()
at MentisFinancialControls.MFCBase.OnPreRender(EventArgs e)