Select to view content in your preferred language

Widgets on Server 2008 R2 Not Working

1502
3
09-07-2012 12:47 AM
PeterDay
Emerging Contributor
I have written some widgets (development on Windows XP) for Flex v2.5. They work fine.

I have then wanted to add them into an existing Flex Viewer configuration that is running on Windows 2008 R2 under IIS. I have put them in a subfolder of "widgets" in the website just as I have always done. The icon for each is also in the same folder as the "swf" file which helps to prove the paths are correct.

When the viewer is run, the icon is shown but on clicking the icon the widget does not show - it seems like it is trying to find the "swf" but never doing so or something is preventing the widget from being run. I get no warning/error messages. Pressing the icon for a second widget shows the waiting clock.

I have checked the security permissions for each swf and they appear identical to the other swf's that came with existing viewer.

Can anyone help me out here please? My best guess is that it is a security issue that Win2008 R2 is preventing the widget from executing. It is driving me mad - and not helping me deliver to my customer!
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Peter,

   ARe you sure your paths are correct in your main config.xml? Are you sure you checked for spelling and CaSe and flex is a case sensitive language? Do you have both .swf and .swz listed as mime types in IIS?
0 Kudos
PeterDay
Emerging Contributor
I am confident with paths as the icons are in same folder as the swf file. Case has been checked (and double checked). I also tried the widgets in other folders

Other pre-existing widgets within the application/website work. swf is listed as mime types (again double checked)
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Peter,

   Are you using widgets that are compiled for one version and you are deloying to another version? Do you have fiddler and can you check what http results you are getting when the widget is requested?
0 Kudos