Tuesday, February 26, 2008

Undefined Object JavaScript Controls
Web Resources (.axd)

I ran into an issue with some Web Controls which use Web Resources to find their associated .js files. The problem is that some software blocks Web Resources on the server.

URLScan
allow for .axd files

IIS
  1. Open IIS management snap-in ( e.g. run inetmgr.exe)
  2. Right click your website and choose properties
  3. Go to the "Home Directory" tab and click the "Configuration" button
  4. A dialog should pop out and you would see the mappings listbox
  5. Find the entry for the ".axd" extension and edit it by clicking the "Edit" button
    In the new dialog uncheck the "Verify if file exist" checkbox - which I suspect is causing the problem.

SiteMinder

I had to uncheck "Verify that file exists" for the "Wildcard application map" for SiteMinder (Website Properties->Home Directory tab->Configuration). Once I made the change, my browser started receiving webResource.axd If this does not work for you, create an empty file named 'webresource.axd' and place it in the root of your application. Then the file will exist and it won't matter what the settings are in IIS or SiteMinder.

2 comments:

Anonymous said...

That worked perfectly! Thank you so much! I have no idea how you managed to figure this one out! Thanks for posting on the Telerik forum so that I could find it.

Anonymous said...

awesome ! thank u for this, i had no idea tht siteminder will be causing this...

Check This Out!

More Links to Good Information