cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot access external data Error #2170

Former Member
0 Kudos

Hello All,

I am getting below error while opening Dashboard Design Object (XLF/SWF) from BI Launch Pad/CMC. By doing google i came to know that we need to add crossdomain.xml to the root directory of tomcat. But i not sure how to add it. And what content it should contain. And also please let me know where to find this crossdomain.xml file.

ERROR:

To access external data, add a cross-domain policy file to the external data web server.

For more information, on the Adobe website, see the article "Cross-domain Policy File Specification".

If the problem persists, contact the file creator or your system administrator.

Error: Error #2170

Connection Type: Live Office

File URL: http://localhost:8080/BOE/CMC/1207271621/Xcelsius/opendoc/documentDownload?iDocID=262212&lang=en_US&...

External Data URL: http://10.250.4.48:8080/dswsbobje/services/Session

Versions: BO 4.0 SP2 Patch 15

Regards,

PRK.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182541
Active Contributor
0 Kudos

Please check the following Notes & Discussion below:

1272685 - "Error 2170" when trying to preview a dashboard in Infoview

Resolution

  1. Verify that the file crossdomain.xml is on the server.
  2. Verify that the file version is an updated version.
  3. The content of an updated file would be is follow:
  4. <?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
  5. <cross-domain-policy>
  6. <site-control permitted-cross-domain-policies="all"/>
  7. <allow-http-request-headers-from domain="*" headers="*" secure="false" />
  8. <allow-access-from domain="*" secure="false" />
  9. </cross-domain-policy>
  10. Update the cross domain and restart the server.
  11. Preview the dashboard: it runs fine without error.

1733844 - Error: "To access external data, add a cross domains policy file to the extended data web ...


Resolution

  1. Login to Central Management Console.
  2. Go to Applications.
  3. Go to Web Service.
  4. Right click on Webservice and go to Properties.
  5. In the Access URL (http://server_name:port_number/dswsbobje), enter the correct port number of the web application server.


1201632 - How to configure cross-domain data loading for Xcelsius SWF Dashboards


Resolution

In order to permit cross-domain connectivity, a policy "crossdomain.xml" file needs to be placed on the root level of the web server that is hosting the external data (eg. XML, Web Service).  For instance, a SWF Dashboard accessed from DomainA attempting to access a Web Service pointing to DomainB will need the Cross-Domain Policy file stored at the web server's context root of DomainB:  This will allow Flash to access the XML from the following requested URL: http://<DomainB>:<port#>/crossdomain.xml.

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>

***********************************************************************************

saurabh_sonawane
Active Contributor
0 Kudos

Hi

try to check your firewall setting also some time the port 8080 is not open or it block.

and also check that required ports are also open 

Former Member
0 Kudos

HI Suman,

In my case i found 2 crossdomain.xml files.

1) crossdomain.xml

2) XCcrossdomain.xml

Please let me know is this way is correct or need to change anything?

xml code in crossdomain.xml

<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy SYSTEM

"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>

   <site-control permitted-cross-domain-policies="all"/>

</cross-domain-policy>

xml code in XCcrossdomain.xml

<?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>

Former Member
0 Kudos

Hi Praveen,

Take a back up of the crossdomain.xml.

Update the crossdomain.xml file as suggested.

Restart the tomcat server.

Regards,

Noopur

former_member182541
Active Contributor
0 Kudos

Update the Crossdomain file not the XCcrossdomain file.

Former Member
0 Kudos

HI Suman,

The SAP Note 1272685 - "Error 2170" when trying to preview a dashboard in Infoview is describing

about Xcelsius 2008, QAAWS , BusinessObjects Enterprise XI3.1,  Windows Microsoft Office 2003.

But we are using Xcelsius 2011, Live Office, BO 4.0 SP2, Office2007.

Is this note will applicable to me?

Regards,

PRK.

Former Member
0 Kudos

Hi Praveen,

You can use the third sap note.

1201632 - How to configure cross-domain data loading for Xcelsius SWF Dashboards


Regards,

Senthil K

Answers (1)

Answers (1)

Former Member
0 Kudos

Crossdomain file is a flash security setting provided by Adobe.

The steps to deploy this file is same in BO XI3.1 and BI 4.0

You could follow The SAP Note 1272685 - "Error 2170" when trying to preview a dashboard in Infoview

Former Member
0 Kudos

HI All,

I am still in confusion , not getting which SAP notes has to apply. And also please let me know the procedure of adding .xml file.

Your help will be appreciable.

Regards,

PRK.

Former Member
0 Kudos

As suggested by Suman

1272685 - "Error 2170" when trying to preview a dashboard in Infoview

Resolution

  1. Verify that the file crossdomain.xml is on the server.
  2. Verify that the file version is an updated version.
  3. The content of an updated file would be is follow:
  4. <?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
  5. <cross-domain-policy>
  6. <site-control permitted-cross-domain-policies="all"/>
  7. <allow-http-request-headers-from domain="*" headers="*" secure="false" />
  8. <allow-access-from domain="*" secure="false" />
  9. </cross-domain-policy>
  10. Update the cross domain and restart the server.
  11. Preview the dashboard: it runs fine without error.
Former Member
0 Kudos

Hi Praveen,

You can follow the below sap note and the document for the procedure to adding .xml file in the server location.

1201632 - How to configure cross-domain data loading for Xcelsius SWF Dashboards

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40c58930-c78f-2f10-cf82-8b9099906...

after adding .xml file, restart the tomcat server.

Regards,

Senthil K.