cancel
Showing results for 
Search instead for 
Did you mean: 

Cross-domain policy Error #2170

Former Member
0 Kudos

Hi all,

I realize this error could be under another topic but among all users, I think it is also common to dashboard designers.

I have developed a dashboard on BI server sp5 patch 1 using the query browser component -bex query as data source- inside the designer. Upon saving it to the BI launch platform it gave me the error of:

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

....

We are used to this error on our dashboards that use qaaws and work around by deleting the first part of URL. However in Query browser there is no URL to trim!

Common solutions to this cross domain policy error include modifying the xml file to this format which we already have:

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

I still get the error and probably missing something. The crossdomain.xml file is located under:

E:\SAP BusinessObjects\Tomcat6\webapps\ROOT   and is it the correct folder location?

Thanks in advance.



Accepted Solutions (0)

Answers (7)

Answers (7)

0 Kudos

Hello Emre,

Recently I got the same issue when I am trying to launch .SWF file from my local desktop as well as from Launchpad (locally) which is throwing #2170 and #2032 errors.

I don't know whether this thread is still active or not. But My issue got resolved.

1.  Check Cross-domain.xml file is available in Webapps -- Root folder in the server. (checked and available as per your post)

2. Please add your server details in hosts file located under C:\Windows\System32\drivers\etc

just below all the comments. it should just look like (172.X.X.X yourserver(CMS Name))

This should solve your issue.

Guys who are posting on this thread and if you have the same issue please try above and let me know.

Thanks,

Sukumar.

0 Kudos


Hello ,

We are also facing the same problem.

But in our case in External Url it is using appservername which is not accessible from outside server.

Error: Error #2170

Connection Type: Web Service

File URL: http://load-balancerurl/portal/123/Xcelsius/opendoc/documentDownload?iDocID=7822675&lang=en_US&appKi...

External Data URL: http://appserver1:8080/dswsbobje/services/XcelsiusWebServices

Thanks and regards,

Pooja

Former Member
0 Kudos

Hi

Did you find the solution for this issue ?

Regards,

Saleem

Former Member
0 Kudos

Hello Emre..

Please find the complete note in cross-doman.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"/>

  <allow-http-request-headers-from domain="*" headers="*" secure="false" />

  <allow-access-from domain="*" secure="false" />

</cross-domain-policy>

Former Member
0 Kudos


Hello Emre,

You may also try to change Flash settings in the "Flash Player Setting Manager". To open up the setting manager follow the steps

1) Go to location C:\Windows\SysWOW64

2) Here you will find FlashPlayerApp.exe. Run this exe.

3) The Flash Player Setting Manager will popup.

4) Under "Advanced" tab click on "Trust Location Settings"

5) Now Click on Add-->Add Folder then browse to the folder where your .swf file is located.

6) Click Confirm and Close.

7) Now try to run the .swf file again.

Former Member
0 Kudos

Thank you all for your responses,

The issue still remains however I guess the reason is not the cross domain policy file. The same dashboard viewed on web stucks at "initializing" stage, however can be viewed on ipad with no problem.

It makes me think what if something blocks the data connection in our network. There are also other symptoms to consider as well.(like qaaws' work on exported dashboards from sp4 but do not work on dashboards exported from sp5)

I am planning a network check on connectivity with the network admin and probably put on the results here or on a new thread. I will provide a link to that here if I come to any conclusion.

Thank you again.

edit1: Some traces I will consider to run are listed here: http://scn.sap.com/thread/2140571

sapanesh_agnihotri
Contributor
0 Kudos

Yes difinatly could be the reason, cross varify your proy as well and fiddler can tell where actually ita breaking

jim_graczyk3
Discoverer
0 Kudos

I just had this same problem with an SAP Dashboards 4.0 SP5 dashboard with data sourced in part from SAP BW.  In my case, this fix was to append the domain information to the server in the address:

Example Error:

Error: Error #2170

Connection Type: Web Service

 

File URL: http://SERVERNAME:8080/BOE/portal/123/Xcelsius/opendoc/documentDownload?iDocID=76922&lang=en_US&appK...

External Data URL: http://SERVERNAME.na.dir.abccompany.com:8080/dswsbobje/services/XcelsiusWebServices

SOLUTION:

When accessing BOBJ launchpad, I normally used:

http://SERVERNAME:8080/BOE/BI

When I appended the domain information, the error no longer occurred:

http://SERVERNAME.na.dir.abccompany.com:8080/BOE/BI

I am sure some scenarios require the policy file, but this is the first post I found when searching, so I thought it would be helpful to have the information here for users who get the error, but are not crossing a domain.

sapanesh_agnihotri
Contributor
0 Kudos

HI,

go to CMC --> application --> web service and change the URL to

http://SERVERNAME.na.dir.abccompany.com:8080/dwwsbobje

i am not sure if you still need to append :8080 in FQDN as well.

Thanks,
Sapanesh

jim_graczyk3
Discoverer
0 Kudos

Hi,

My problem is already resolved, but I appreciate the tip.  My Web Service setting is already configured as you suggested.

Just wanted to say it looks like you might have a typo on the last part, so it should be:
http://SERVERNAME.na.dir.abccompany.com:8080/dswsbobje

instead of "dwwsbobje."

Regards,

Jim

DayaJha
Active Contributor
0 Kudos

Hi Emre,

 

Please Paste theis files on the below location i allready update the files:

  • crossdomain
  • XCcrossdomain

 

The crossdomain.xml is located at:

<BusinessObjects installation directory>\Tomcat55\webapps\ROOT\

After that do the folowing Steps:

  • Stop the Tomcat
  • Delete the Files from Tomcat->Logs Folder
  • Restart the Tomcat Apache Server.
  • Try to Login With IP Address & Machine Name both, that in both you are facing the same issue or not.

Hope this help you as well. After completion of your activity please close the thread.

Thanks,

Daya

DayaJha
Active Contributor
0 Kudos

Hi Emre,

Cross domain policy file is an important configuration to consider while deploying SAP Dashboard(formerly Xcelsius).

The SAP BW Quality dashboard, that I recently worked on, is deployed on the BusinessObjects Infoview and  pulls data

from SAP ECC and SAP BW for reconciling Orders and Revenue numbers. The flash object that Xcelsius creates run

in the browser on the client machine. It follows the security guidelines set by Adobe while accessing external data.

Adobe has introduced a new security policy for the flash palyer 9 & 10. That prevents the Xcelsius dashboard from accessing

data from external sources and throws error #2170. In my case, external sources are ECC and BW. To get around this,

the cross domain XML file needs to be updated with the following tag

<allow-http-request-headers-from domain="*" headers="*" secure="false" />

The crossdomain.xml is located at:

<BusinessObjects installation directory>\Tomcat55\webapps\ROOT\ and should look like this-

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

Update the file, restart Tomcat Apache (web server).

Hope this help you as well. After completion of your activity please close the thread.

Thanks,

Daya

Former Member
0 Kudos

Thank you Daya,

But I already updated the cross domain xml to the exact format you wrote and restarted the tomcat as well as all BO servers. It didnt solve the issue.

The thing I just realized is when saved for both web and mobile, it can be refreshed on ipad but not on BI launch pad.

sapanesh_agnihotri
Contributor
0 Kudos

Hi Tamer,

This may not be because of cross domain file, this could be the URL is not accesible,

try login with IP address instead FQDN in dashboard Add query option.

Also fiddle can capture exact information here for us, please share the same.

Thanks,

Sapanesh