cancel
Showing results for 
Search instead for 
Did you mean: 

cross domain policy file specification error #2170

former_member73724
Participant
0 Kudos

Hello

I have installed Integration option for Sharepoint software 4.1 on the sharepoint server which is published over internet.

From the company network i can log in to sharepoint then to BO and see the reports and dashboards, but from internet connection i get cross domain policy file specification error #2170.

I edited the crossdomain.xml to the following :

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

Fiddler show the following Error

The connection to '10.x' failed.

Error: ConnectionRefused (0x274d).

System.Net.Sockets.SocketException No connection could be made because the target machine actively refused it 10.x:8888

I don't know what i missed and if the problem comes form publishing Sharepoint over internet or from crossdomain.xml ???

Thank You

Accepted Solutions (0)

Answers (2)

Answers (2)

DayaJha
Active Contributor
0 Kudos

Hi Omari,

Please refer the below thread regarding "Cross Domain Issue".

Xcelsius 2008 Error #2170

External data access error

Thanks,

Daya

Former Member
0 Kudos

Hi Omari,

Are you able to access crossdomain.xml file over the internet in your browser if you use the following URL?

http://servername:portno/crossdomain.xml

Also could you provide the complete error text? We need to check the File URL and Data URL.

Regards,

Niraj

former_member73724
Participant
0 Kudos

Hi Niraj


In fact, i am using the Integration option for Sharepoint software (IOMS) which is installed on Sharepoint Server 2013.I use the URL of SharePoint (http://portal.domain.com) to log in to BO site and view the reports.


So i couldn't access directly the BO server (like the URL you provided), i have to pass by SharePoint.


As i said before I don't face this issue from the company Network,it occurs when accessing from Internet connection.


This is the Error Text  :


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: Web service query (Query as a Web Service)

File URL: http://portal.domain.com/_layouts/Xcelsius/XcelsiusEnterprise/GetSwf.aspx?objIds=558023&lang=en-US&C...

External Data URL: http://10.x:8888/dswsbobje/qaawsservices/queryasaservice/biws?cuid=AWTXRgqupLBLkwcCPQNDOa4&authType=...

Using Fiddler i have this error text :

The connection to '10.x' failed.

Error: ConnectionRefused (0x274d).

System.Net.Sockets.SocketException No connection could be made because the target machine actively refused it 10.x:8888

Thank you

Former Member
0 Kudos

Hi Omari,

The External data URL that I see in the errors is :

External Data URL:

http://10.x:8888/dswsbobje/qaawsservices/queryasaservice/biws?cuid=AWTXRgqupLBLkwcCPQNDOa4&authType=...

So the request for accessing the crosdomain.xml file would be generated in the below format:

http://10.x:8888/crossdomain.xml

The reason why the dashboard is throwing the cross domain policy error is that the SWF file is being accessed from the domain portal.domain.com and the dashboard is trying to fetch data from a different domain that is 10.x:8888.

So, the URL: http://10.x:8888/crossdomain.xml has to be accessible from your browser over the internet.

Regards,

Niraj

former_member73724
Participant
0 Kudos

Hi Niraj,

Thank you for the explanation.


As i can view the crystal reports without any problem so i think that the BO server 10.x is indirectly  accessible from internet via the Integration Option for Sharepoint Software (IOMS).

Do you think that i have to include (to-ports="*" ) to crossdomain.xml or it doesn't make difference

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

Thank You