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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I am using Bing Search on one of my mp site, and it is still working, but on 8/1/2012 they say they are transitioning to the newer Azure bases API keys,
So i opened the account and activated key for the free level search API. and changed my api code to the new one.
boom error page:
Looks like it is affecting the http://www.mojoportal.com/BingSearch.aspx search page too:
my log4net:
2012-07-30 11:20:44,025 ERROR 108.35.163.18 - en-US - /SearchResults.aspx - mojoPortal.Web.mojoBasePage - 108.35.163.18-en-US - /SearchResults.aspx System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Samples.Web.Linq2Bing.BingQueryProvider.Execute(Expression expression) at Microsoft.Samples.Web.Linq2Bing.QueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) at Microsoft.Samples.Web.Linq2Bing.Query`1.System.Collections.IEnumerable.GetEnumerator() at System.Linq.Enumerable.<OfTypeIterator>d__aa`1.MoveNext() 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)
I will start debugging local now to see why the old key works and the new one does not.
bing azure api
If you upgrade to the latest version of mojoPortal it should work. LinqToBing is no longer used with the new api.
Hope that helps,
Joe
Thanks Joe, I am in the process in integrating the dev branch into my local.
But just want to point out as well, this site ( http://www.mojoportal.com/BingSearch.aspx) producing an error.
Thanks, its working now, I had not updated my api key.
Best,