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.GetNewsFromStore(String language, String newstypenumber, String symbol, DateTime dateFrom, DateTime dateTo, Int32 count, String cacheXpath, TimeSpan cacheDuration)
at MFDataAccess.DataAccess.GetNews(String language, String symbol, ArrayList newsGroups, Int32 count, Int32 numberOfDays, TimeSpan cacheDuration)
at MentisFinancialControls.Controls.News.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.News.MainPreRender()
at MentisFinancialControls.MFCBase.OnPreRender(EventArgs e)