SecurityError: Error #2142: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property. file:///C:/Inetpub/wwwroot/Emergency_src/bin-debug/index.swf was attempting to load http://resize.wunderground.com/cgi-bin/resize_convert?ox=gif&url=radblast/cgi-bin/radar/WUNIDS_composite?centerlat=39.49833298¢erlon=-119.76805878&radius=15&newmaps=1&smooth=1.
Error: Event Target: [object GeometryService] Event Type: fault Fault Code: Channel.Security.Error Fault Info: Security error accessing url
Aimei, You will find all the answers in the WUnderGroundWidget.xml file.The outspatialref in the WUnderGroundWidget.xml will need to be set to the WKID of your map.
<!-- enter either the zip code, airport code, or city and state to enter in the search textbox when widget is opened. --> <defaultsearch>bhm</defaultsearch>
Aimei, Here is the old 1.x version:http://arcscripts.esri.com/details.asp?dbid=16749
I'm trying to implement Robert's Weather Underground 1.2 widget in my SFV 1.3. I think I have it setup correctly, but when I run my project and attempt to use the widget, I get this security error: SecurityError: Error #2142: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property. file:///C:/Inetpub/wwwroot/Emergency_src/bin-debug/index.swf was attempting to load http://resize.wunderground.com/cgi-bin/resize_convert?ox=gif&url=radblast/cgi-bin/radar/WUNIDS_composite?centerlat=39.49833298¢erlon=-119.76805878&radius=15&newmaps=1&smooth=1.I read on the web where it says this could be caused by a missing "trustContent" property somewhere, whereas others say it has to do something with "SecurityDomain.currentDomain", which I can't seem to find in the code.Any idea why this is happening? If I compile the project and access it from another workstation I get this application error:Error: Event Target: [object GeometryService] Event Type: fault Fault Code: Channel.Security.Error Fault Info: Security error accessing url
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.