Gravatar for adam@borsi.ca

Question by Adam, Apr 8, 2015 10:49 AM

Some images and scripts not loading/running on production server

Greetings,

My apologies for the "simple" question, but the search bar seems to be broken and will not return any results.

I've just gone live with Coveo in my Sitecore 6.5 system, but on my production server I hit the issue of the images not loading. According to page 54 (footer page #) in the Coveo Platform 7.0 - Sitecore Connector Guide, point 7 states:

"Tip: If you notice that some of Coveo images or JavaScript are missing because they do not load in the search interface, you can fix this problem with a simple edit of the Sitecore web.config file (not the Coveo web.config file). In the file, locate the tag and add the |/Coveo/ string to the value attribute."

I applied this setting and noticed some, but not all images appeared. For example the icons on the facets showed up, but the image that makes up the search button or any of the icons that relate to file type of the search results do not show.

In addition, I noticed the facets were not working from the javascript functionality perspective.

Also to note I've setup a sublayout utilizing the method outlined in point 6 before the "OR".

Any ideas why this might be occurring?

Any and all help is greatly appreciated.

Thank you kindly, Adam

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Apr 8, 2015 11:00 AM

Coveo .Net Front-End resources are loaded from 2 locations:

  • The /Coveo/ subfolder.
  • The current page URL with query string arguments that Coveo is handling.

It seems that the resources loaded from the current page URL are not working in your environment. You might have an URL rewrite module that interferes with the Coveo resources URLs.

To troubleshoot the problem, you can:

  • Try to load one of the non-loading resource URL in a new browser tab and analyze the server response. It may return the site home page, a server error or something else that can give you a more information on the problem. It may also be redirected to another invalid URL.
  • Analyze the IIS logs for those resource requests.
  • Check your Sitecore logs. There may be errors.

Please post any relevant information here. If it doesn't fit in a comment, edit your original post to include the details. Thanks.

Gravatar for adam@borsi.ca

Comment by Adam, Apr 8, 2015 11:33 AM

Hi jflheureux,

Thank you for your answer, I looked into the images that were not loading and found this: HTTP Error 500.22 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Did some reasearch and some are stating that changing this setting would be the resolution:

this was already set to false.

Another solution was to set my app pool to classic instead of integration.

Gravatar for adam@borsi.ca

Comment by Adam, Apr 8, 2015 11:35 AM

Cont.

But I cannot do that without breaking another application running via a simialr method on the site. Plus is creates a 404.x error on both Coveo and my other application.

At the moment I'm looking into other potential resolutions to this 500.22 error.

Thank you kindly, Adam

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Apr 8, 2015 11:58 AM

An engineer on the Coveo .Net Front-End team just confirmed me that it is supposed to support the integrated mode without configuration changes.

Let me know of any progress on your troubleshooting.

Gravatar for adam@borsi.ca

Comment by Adam, Apr 8, 2015 12:06 PM

Hi jflheureux,

Everything I'm finding states that:

Should resolve all issues, even though it's not the best/proper solution.

Other articles claim that the problem "application" has added nodes to and/or which isn't the case with Coveo.

At the moment I have hit wall on this issue.

Should I submit a ticket instead?

Thank you kindly, Adam

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Apr 8, 2015 1:12 PM

Yes, you should sumbit a ticket to Coveo Support with a copy of your configuration files and logs. It will be easier to troubleshoot with these.

Gravatar for adam@borsi.ca

Comment by Adam, Apr 8, 2015 1:55 PM

Thank you!

Ask a question