cancel
Showing results for 
Search instead for 
Did you mean: 

"logon failed" error when connecting to XML data source

Former Member
0 Kudos

I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:

Logon failed.

Details: Cannot open file

Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20F...

However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.

I have tried a local HTTP source as well as the same source running on Amazon EC2.

Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

When you are trying to access an xml thru http make sure you check this things Out.

1) Cross Domain Policy (Place the corss_domain_Xml) into Your server location....

2)Make sure you http is added to adobe flash security

I have done no of dashboard's .These are the 2 things you make sure you follow correctly you will not get the error!

Former Member
0 Kudos

Thanks for the help.

I am new to crystal reports, so I do not understand your suggestion. Both of those points look like they are related to Adobe Flash.

I am trying to create a report using the standard report creation wizard:

1) new, standard report

2) create new connection

3) xml and web services

4) xml data source

When using the sample from the SAP site, it works fine:

http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml

When connecting to my source from a browser, it works fine. When using my source as a local document instead of over http it works fine. It is only when connecting to my source over http that I get the failed logon error.

Kelly

Former Member
0 Kudos

It looks like this post is in the wrong forum. Instead it should be in the Crystal Reports Design forum.

I am re-posting there:

Edited by: kstirman on May 11, 2010 1:06 PM