bing custom site search generates access denied error

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/22/2014 5:59:21 PM
Gravatar
Total Posts 5

bing custom site search generates access denied error

Hi Joe,

We would like to test Bing Custom site search. We have our 43 character long Bing Primary Account input into the API section of the MojoPortal site settings. When we do a search an error message of "403 - Forbidden: Access is denied" added to the currentlog.config file. We tried the Google custom site search and it works perfectly. Any thoughts on what we might need to do differently? Is there more to it than adding only the key?

Thank you

3/24/2014 12:09:29 PM
Gravatar
Total Posts 18439

Re: bing custom site search generates access denied error

Hi,

What version of mojoPortal are you using?

Bing search seems to be working fine on this site, though it is not configured as the primary search it is enabled at the bottom of the search page and it works.

Only thing I noticed is that my Bing account key is 44 characters long, but not sure if they are all the same length.

I do know that at some point things changed when they moved Bing to be an Azure service and we updated mojoPortal to work with it but very old versions of mojoPortal probably no longer work because they used the older api that has been shut down since they moved it to Azure services.

I'm not sure from what you are saying whether it is the bing api returning a 403 or if it is the search results page on your site that is doing that.

The one key should be all that is needed. I noticed on this site that I have the key set both in site settings and in user.config

<add key="BingAPIId" value="my44charkey" />

Hope that helps,

Joe

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