Pages

May 26, 2016

DevExpress resources - Part 1: Missing images in SharePoint site


   
Missing expand ‘+’ icon in DevExpress Grid View, with a "ASPxClientGridView is undefined" JS error.

All the assemblies & web.config changes are in place according to DevExpress documentation (here)

 



Lets Double Check:
So I gathered all possible steps below from the most relevant to the least relevant from DevExpress help & forum sites:

https://www.devexpress.com/Support/Center/Question/Details/B195818
https://www.devexpress.com/Support/Center/Question/Details/Q143607 https://documentation.devexpress.com/#AspNet/CustomDocument7540

 

a.      Recheck the installation for DevExpress dlls & handlers in web.config (see here)
b.     Make sure you install ‘DevExpress.Web.vxx.y.dll’ to GAC
c.     Check that all required assemblies including 'DevExpress.Web' & 'ASPxThemes’ dlls should be copied are in Bin folder
d.     Make sure no double registration for ASPxHttpHandlerModule in web.config
e.      Make sure 'WebResource.axd' & '*.axd' keys are properly added under .NET 2.0 configuration: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config:

      <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

      <add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="True" />

f.      Check that IIS, a net monitor or antivirus tool (if any) does not block the /DXR.axd requests
g.     Modify the IIS directory properties.
      From IIS > site > right-click > properties > Service > uncheck ‘HTTP Compression’ boxes
      From IIS > site > right-click > properties > Home Directory > select .axd > Edit > uncheck ‘Verify that   file exists’ box

If you think there are more then kindly let me know so that I can edit the list above!

Now, I double checked the WFE machines, and that everything seems okay & setup as in steps above.
So what's missing?


Solution:
It appeared that DevExpress.Web.ASPxThemes dll was not added to bin folder on one of the WFE machines that was being hit sometimes by the load balancer. After copying that dll, the image works as expected.

Soon I'll publish a new post (as Part 2), talking in details about how DevExpress resources do work.



1 comment:

  1. thanks, fixed it your way, but if you have problems with this file http://fix4dll.com/xinput1_3_dll, just replace it!in order to thank you i shared it.enjoy

    ReplyDelete