Bing alternate search exception

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/14/2013 9:07:21 AM
Gravatar
Total Posts 68

Bing alternate search exception

When Bing is configured as alternate search an exception is thrown when searching site with Bing.

2013-02-08 02:53:28,392 ERROR 98.221.241.115 - en-US - /BingSearch.aspx - mojoPortal.Web.Global - useragent Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: The authorization type you provided is not supported.  Only Basic and OAuth are supported

   at System.Data.Services.Client.QueryResult.Execute()
   at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
   --- End of inner exception stack trace ---
   at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
   at System.Data.Services.Client.DataServiceQuery`1.Execute()
   at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()
   at System.Data.Services.Client.DataServiceQuery`1.System.Collections.IEnumerable.GetEnumerator()
   at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
   at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
   at System.Web.UI.WebControls.Repeater.DataBind()
   at mojoPortal.Web.UI.BingSearchControl.BindResults()
   at mojoPortal.Web.UI.BingSearchControl.UpdateResults()
   at mojoPortal.Web.UI.BingSearchControl.btnSearch_Click(Object sender, EventArgs e)
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

MP 2.3.9.5 / MSSQL 2008R2 / .NET4

2/14/2013 9:35:09 AM
Gravatar
Total Posts 18439

Re: Bing alternate search exception

Seems to be working on this site. Do you have a Bing account key configured in site settings? Have you updated it since they moved the bing service to azure marketplace? I think I had to key a new account key when we changed to use their new api.

Hope that helps,

Joe

2/14/2013 10:24:06 AM
Gravatar
Total Posts 68

Re: Bing alternate search exception

Ah I recall seeing that message awhile back. Don't think that I've updated the account key.Thanks for looking into it.

-Bill

You must sign in to post in the forums. This thread is closed to new posts.