BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

 
Lead By Knowing (Opens a new window)  

General Notice: No events within the next 45 days.

Error #2170 : cross-domain policy file to the external data


 
Search this topic... | Search Xcelsius - Crystal Dashboard Design... | Search Box
Register or Login to Post    Forum Index -> Other Products -> Xcelsius - Crystal Dashboard Design  Previous TopicPrint TopicNext Topic
Author Message
rajx72
Forum Associate
Forum Associate



Joined: 02 Aug 2006

Posts: 753
Location: CA



PostPosted: Fri Sep 23, 2011 3:15 pm 
Post subject: Error #2170 : cross-domain policy file to the external data

Hi

We have Bo Linux 3.1 sp3 and Xcelsius 2008..

I have build a dashboard which is using Qaaws to get the data from database(Oracle)..This is running fine in Bo infoview.. but the user wants this to run from Sharepoint, site, so I made a HTML file and uploaded it on the sharepoint.
if i run the dashboard from my machine.. i was also getting the same error. So after doing search.. I copied the Crossdomain.xml file on the wepapp/root folder on the BO server.. by which my error went away.. Now i am able to run it from sharepoint.
but when a different user is running the same file, he is getting this error.

Any ideas.. where it is going wrong

Thanks
Back to top
Cairmor
Forum Enthusiast
Forum Enthusiast



Joined: 05 Jun 2008

Posts: 1298


flag
PostPosted: Fri Sep 23, 2011 4:02 pm 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

try to call the SWF from a Web part page using a simple Opendoc link.
I do this alot.

Dont host the SWF inside a sharepoint library...leave it on Infoview.

Otherwise, if it works for you, but not for another guy, then its a privs problem. You are a dev, so you are automatically going to have alot of rights.

Other users need access to folders/ability to run and edti QaaWS, use the universe.

To test, have your admin make the user a temporary Dev...with all the same privs as you. See what happens, and work backwards from there.

_________________
www.crystaldashboardtips.com
Back to top
rajx72
Forum Associate
Forum Associate



Joined: 02 Aug 2006

Posts: 753
Location: CA



PostPosted: Fri Sep 23, 2011 8:02 pm 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

Hi

Even I tried to login in on his machine with my id.. but I am also getting the same error on his machinge but when i use my machine it runs
We both have same rights.(admin) in sharepoint.

Regarding the Crossdomain xml file.. there are different versions of this file..

I am using this..
Code:
<?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>


and I found this version upon searching...
Code:
<?xml version="1.0&#8243;?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="true" />
<allow-http-request-headers-from domain="*.[our website url]" " headers="*"/>
</cross-domain-policy>


Now confused which one is right..
icon_rolleyes.gif

any ideas what should be present in the xml file.

Thanks

[Moderator Edit: Added code formatting - Andreas]
Back to top
Cairmor
Forum Enthusiast
Forum Enthusiast



Joined: 05 Jun 2008

Posts: 1298


flag
PostPosted: Mon Sep 26, 2011 9:56 am 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

rajx72 wrote:
Hi

Even I tried to login in on his machine with my id.. but I am also getting the same error on his machinge but when i use my machine it runs
We both have same rights.(admin) in sharepoint.



This issue is not about Sharepoint. Its about the BOBJ privs. Make your user a BOBJ dev, with the same privs as you. If it works from your PC, but not from someone elses...it is a privs issue.

Make sure his Flash Global security setting are the same as yours.
Also, the first crossdomain is similar to what we use.

If there is still problem, then d/l Charles or Fiddler on the user's PC and recreate the error. Then you will have a nice log of what server killed the request...that will help you determine where the problem is.

_________________
www.crystaldashboardtips.com
Back to top
rajx72
Forum Associate
Forum Associate



Joined: 02 Aug 2006

Posts: 753
Location: CA



PostPosted: Mon Sep 26, 2011 1:21 pm 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

HI

I checked the priv and rights. All are same as mine. Even global settings for adobe are same..

the error is : cannot send http headers to Bo server. I am using Qaaws on my dashbaord..

Any ideas...

Thanks
Back to top
Cairmor
Forum Enthusiast
Forum Enthusiast



Joined: 05 Jun 2008

Posts: 1298


flag
PostPosted: Mon Sep 26, 2011 4:38 pm 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

our cross domain policy has single quotes, where yours has Double quotes. try that?

but since it works for you...its still likely a privs problem. Everytime someone posts a QaawS/connectivity error here its always a different solution.

I would try posting in the admin forum...full of admin geeks who deal with this stuff more than the devs.

_________________
www.crystaldashboardtips.com
Back to top
tibin
Forum Member
Forum Member



Joined: 23 Nov 2011

Posts: 4



PostPosted: Wed Nov 23, 2011 8:14 am 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

I am getting the following error while loading Xcelsius Dashboard in https mode.
Error: Error #2170, Cannot Access External Data
Connection Type: Query as a Web Service
To access external data, add a cross-domain policy file to the external data web server.

The same dashboard is working on the following conditions:
1) In http mode(both from a hosted website and from a clarity portlet)
2) When I click preview from Xcelsius designer.
3) When I run the .swf file directly.
The error is coming only when I host the swf file into a website (or running from a clarity portlet).

I am using the following cross-domain-policy file.
<?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="true" />
<allow-access-from domain="*" secure="true" />
</cross-domain-policy>

Any comments will be appreciated here.
Thanks,
Back to top
RikDeclercq
Principal Member
Principal Member



Joined: 28 Sep 2006

Posts: 479


flag
PostPosted: Wed Mar 14, 2012 8:03 am 
Post subject: Re: Error #2170 : cross-domain policy file to the external d

SAP note 1201370
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Other Products -> Xcelsius - Crystal Dashboard Design  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 5 Hours
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0544 seconds using 17 queries. (SQL 0.0033 Parse 0.0349 Other 0.0161)
CCBot/2.0 (http://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo