on 06-02-2014 8:26 AM
Hello,
I am currently facing the issue on Cross domain policy error #2170 when i opened SWF file in Infoview and CMC.
I know this is a repeated question being asked in SCN sorry to ask again.
But i have opened tomcat folder and there is no cross domain Policy file at all. So does this one makes to stop the update data in SWF which is in CMC or Infoview for the end usr.
Pls help me in this..
Thanks
Chanukya.
Hi all,
Thanks for all your help, my cross domain issue has been closed, I copied new cross domain policy file and in addition i made some changes in Global flash security settings panel which cleared my error.
Sorry for late reply. I am unaware to close this thread. pls help regarding this.
Thanks
Chanukya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Some time this issue is coming bec of port not open or firewall setting so plz check the firewall setting)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update the file in tomcat and re-start the server.
Try the below options also:
Resolution: Note( 1240810 - Xcelsius 2008 dashboard returning Error #2170)
Adjust your local Flash Player Security Settings to add your SWF location as a trusted site. The following example describes how you can allow any SWF on your C: drive to access external data:
Right-click inside the SWF file and choose 'settings'
Adobe Flash Player Settings dialog will appear.
Click on 'Advanced' within the Privacy tab
Your default web browser will launch and take you to Macromedia's Settings Manager
In the Settings Manager, click on'Global Security Settings Panel'
Make sure that 'always Allow' is selected
Click on the dropdown box and choose 'Add Location'
add: 'C:\' (without the apostrophes)
Resolution : Note ( 1201632 - How to configure cross-domain data loading for Xcelsius SWF Dashboards)
Here is a sample crossdomain.xml file that can be used as a wildcard to permit access to all domains:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*" secure="false" />
<allow-access-from domain="*" secure="false" />
</cross-domain-policy>
Hi arjit,
I used the XML like the below
<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy (View Source for full doctype...)>
- <cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-http-request-headers-from domain="*" headers="*" secure="true" />
<allow-access-from domain="*" secure="true" />
</cross-domain-policy>
One more point you should know is i am opening flash file in Internet Explorer in my Production system. In this I changed the security options to trust my SWF file which is allowing to update my live data.
But you know that client wants to see it in Infoview not in internet explorer.
Thanks
Chanukya.
Hi arjith,
<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy (View Source for full doctype...)>
- <cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-http-request-headers-from domain="*" headers="*" secure="true" />
<allow-access-from domain="*" secure="true" />
</cross-domain-policy>
From the above code can you pls tell me any mistakes are there or not?
I think 2nd line is having mistake (view source for full doctype) i think here i should give some link?
Thanks
Chanukya.
Hi Chanukya,
As suggested by Suman and as per SAP Note :1201632,<allow-access-from domain="*" secure="true" /> still has not changed to <allow-access-from domain="*" secure="false" />.
Change the above secure property to "false".
Finally your file has to be in the below format.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*" secure="false" />
<allow-access-from domain="*" secure="false" />
</cross-domain-policy>
Open your Cross-domain file and change the secure property to false which is not done as per your reply.
Regards,
Venkat P.
Hi Chanukya,
Step1:Check if you are able to access the crossdomain from the browser i.e http://TomcatServer:port/crossdomain.xml
Step2:Check if your web services are getting triggered to the correct environment.
It might be the case that the dashboard has been migrated and some queries are still pointing to the old environment.So install the fiddler and capture the fiddler logs.
Warm Regards,
Amit
Hi Saurabh,
Thank You for your reply. I followed the below steps:
Step 1: Copied the cross domain file into Tomcat root folder and checked in browser which is working fine.
Step 2: Then restarted the tomcat server.
Step 3: I opened the Macromedia.com website and then added the link into Global flash security settings. (Here I have a doubt like what is the URL to be given in that Flash player)
Step 4: Domain A and Domain B links are there i dont know which one i should give.
Step 5: I am still facing the issue, Please let me know as its affecting my work.
Thanks
Chanukya.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.