Help - Set XML /XSD data source at runtime(VC2003)

The VC 2003 app loads a CR 2008  report without any issue.
The CR report has an XML/XSD data source ,The spec has now changed to set XML/XSD data source at runtime.
Anyone have any information /examples on changing a CR report XML data source at runt time in VC IDE. I can not update the app to .Net or port to JAVA ,only stuck with VC 2003.
Thank you in advance.
In VC IDE, is there away to set a crystal reports data source as an xml File without to import the xml into a dataset?
Edited by: Tang Pat on Jan 12, 2009 6:45 AM

duplicate - please do not post multiple times

Similar Messages

  • Setting Crystal Report data source at runtime

    In advance, I've read all of the posts on here about dynamically changing the data source for your report at runtime and none of it seems to work.
    I developed a report against my development database using an MySQL ODBC connection. At runtime I want to pull the data from the production database. I've tried clearing the DataSourceConnections. I've tried the SetDatabaseLogon as well as Table.LogOnInfo, Table.ApplyLogOnInfo, SetConnection, everything.
    I am using the pull method for getting the data, so CR has entire control over the mechanism used to fetch the data.
    But when I am setting some other data source I am greeted with a logon screen for the database, I i check use itegrated security then it says logon failed and if I uncheck use integrated security checkbox then it shows unable to load report and an exception is thrown
    Anyone have any ideas? I'm using Visual Studio 2010 and Crystal Reports 2011 developer edition.Apart from this my Database is in mysql and I am binding report with the MySQL Procedure.
    Note: Both these database just differ in name, Infact they are same database just I have changed the name, so the procedure and the fields are same.
    Thanks in advance.

    So if ODBC doesn't allow me to change the data source, can't it be done in some other way without mingling with each and every report.
    BDW I am able to change the data-source at designer mode,
    Currently the connection string being used is
    private readonly ConnectionInfo crConnectionInfo = new ConnectionInfo
                DatabaseName = "DB NAME",
                IntegratedSecurity = true,
                Password = "admin",
                ServerName = "localhost",
                UserID = "root"
    I just want it to read from same copy of database place at some other location so the connection string will be modified as
    private readonly ConnectionInfo crConnectionInfo = new ConnectionInfo
                DatabaseName = "Same copy of database record may change but structure will be same",
                IntegratedSecurity = true,
                Password = "admin",
                ServerName = "IP address of the machine",
                UserID = "root"

  • Multiple XML HTTP Data sources sequentially

    Hi,
    We are creating a report using multiple XML HTTP Data sources sequentially.
    The Report uses multiple XML HTTP Data sources sequentially; the report creation fails or delayed. We would like to join the datasources after accessing from the HTTP Server.
    At the same time the same XML files when locally accessing as data sources, the report is getting created.
    Is there any alternate solution for XML HTTP Data Source Access. Or in which way I can proceed with this.
    Thanks,
    Unni

    I am not able to use datasets here.
    The context is as below.
    I am running an HTTP server (XML-RPC program),which will generate an XML output as defined with a local XML Schema.
    Here I have multiple HTTP requests ,each will generate multiple XML outputs.
    I am using XML and WebServices Connection where I will provide like below,
    (Please note file1,file2 are normal text files with data corresponds to xsds.)
    HTTP(s) XML URL : http://localhost:8002/ReadTable?name=file1
    Local Schema File : E:\Test\file1.xsd
    HTTP(s) XML URL : http://localhost:8002/ReadTable?name=file2
    Local Schema File : E:\Test\file2.xsd
    Like this I am able to create multiple XML outputs through HTTP requests.(only file1),which means while creating reports the sequential requests are not handling properly.
    My report will join say two of theese files. But at the time of report creation it will ask of only runtime parameter of first request in the join.
    Here The report will generate only with data from first text(data) file.(file1)
    Hope you got a clarity about the proble.

  • Can we set the dynamic data source when using getReportParameters() ?

    Hello!
    I have a report where one of its parameters refers to a list of values (LOVs). This list of values is an SQL Query type. When the data source used in the report is defined in the BI Publisher server, I'm able to get the report parameters using the getReportParameters() function in my application. However, if the data source is not defined the function throws an exception, which is understandable.
    I decided to dynamically set the data source so that even if the data source used by the report is not defined in the BI Publisher server, it still will be able to get the LOVs for the parameter. I tried setting the JDBCDataSource of the dynamicDataSource for the ReportRequest object that I passed to the getReportParameters() function. Please see the sample code below:
    reportRequest.dynamicDataSource = new BIP10.BIPDataSource();
    reportRequest.dynamicDataSource.JDBCDataSource = new BIP10.JDBCDataSource();
    setReportDataSource(reportRequest.dynamicDataSource.JDBCDataSource, connectstr, jdbc, dc); //function to set the values for JDBCDataSource object
    reportParams = webrs.getReportParameters(reportRequest, uid, pwd); //call the getReportParameters
    I was expecting this to work as this is what I did to dynamically set the data source before calling the runReport function. So, my question is -- can we set the dynamic data source when using getReportParameters() ? I tried this both in versions 10g and 11g. It does not seem to work on both versions.
    Regards,
    Stephanie

    report_id column of apex_application_page_ir_rpt can help us uniquely identify each saved report.
    We can assign this report_id value to a page item and this page item can be put in the Report ID Item text box of the Advanced section of the Report Attributes page of the IR.
    This should load the saved report identified by report_id and you can get rid of javascript
    Regards,
    Vishal
    http://obiee-oracledb.blogspot.com
    http://www.packtpub.com/oracle-apex-4-2-reporting/book
    Kindly mark the reply as helpful/correct if it solves your problem

  • Problem during the setting the query data source name in forms 6i

    We are now doing assignments in forms 6i actually there is a problem during setting the query data source name in run time.
    The problem is
    declare
    v_query varchar2(200),
    begin
    v_query :='(select empno,ename,deptno from emp where hiredate =' || control .value1 ||')';
    go_block('emp');
    set_block_property('emp',query_data_source_name,v_query);
    end;
    that bolded area is the problem that ia varchar value the single qoutes embedded with that value.how can i embedded single qoutes in that concatenation.
    That is now query will run like select empno,ename,deptno from emp where hiredate =control.value
    But we need like select empno,ename,deptno from emp where hiredate ='control.value'
    Message was edited by:
    Punithavel

    Thanks for your response
    We fixed the error
    and the answer is
    declare
    v_query varchar2(200),
    begin
    v_query :='(select empno,ename,deptno from emp where hiredate = ' ' ' || control .value1 ||' ' ' ) ' ;
    go_block('emp');
    set_block_property('emp',query_data_source_name,v_query);
    end;

  • I've got an error when trying to programmatically set a CrystalReports data-source

    I've got the following existing process that I needed to add to in order to programmatically set the data-source (server, database, username, and password) from a config.xml file.
    I added the ‘addDBConnection’ and ‘searchConfig’ parts, and this seems to be updating the existing this._report object, but I’m getting the following error and can’t figure out what is happening.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;
    using CrystalDecisions.CrystalReports.Engine;
    using WGS.Reports.Reports;
    using CrystalDecisions.Shared;
    using WGS.Reports.Forms;
    namespace WGS.Reports
        public class ReportService
            ReportClass _report;
            ParameterFields paramFields;
            public ReportService()
            public void DisplayReport(string reportName, int allocationNo)  
                if (reportName.ToLower() == "allocationexceptions")
                    this._report = new AllocationExceptions();
                    addDBConnection(this._report);
                    PrepareAllocationExceptionReport(allocationNo);
                    this.DisplayReport();
            private void addDBConnection(ReportDocument report)
                //Get connection parameters from config.xml file
                string servername = searchConfig("SERVER");
                string databasename = searchConfig("CATALOG");
                string userid = searchConfig("USER");
                string password = searchConfig("PASSWORD");
                //Loop through each table in the Report and subReports, and apply the new login information
                foreach (Table cTable in report.Database.Tables)
                    TableLogOnInfo loi = cTable.LogOnInfo;
                    loi.ConnectionInfo.ServerName = servername;
                    loi.ConnectionInfo.DatabaseName = databasename;
                    loi.ConnectionInfo.UserID = userid;
                    loi.ConnectionInfo.Password = password;
                    cTable.ApplyLogOnInfo(loi);
                foreach (ReportDocument subReport in report.Subreports)
                    foreach (Table cTable in subReport.Database.Tables)
                        TableLogOnInfo loi = cTable.LogOnInfo;
                        loi.ConnectionInfo.ServerName = servername;
                        loi.ConnectionInfo.DatabaseName = databasename;
                        loi.ConnectionInfo.UserID = userid;
                        loi.ConnectionInfo.Password = password;
                        cTable.ApplyLogOnInfo(loi);
            private void PrepareAllocationExceptionReport(int allocationNo)
                this.paramFields = new ParameterFields();
                this.paramFields.Clear();
                ParameterField paramField = new ParameterField { ParameterFieldName = "@AllocationNo" };
                ParameterDiscreteValue discreteVal = new ParameterDiscreteValue { Value = allocationNo };
                paramField.CurrentValues.Add(discreteVal);
                paramFields.Add(paramField);
            private void DisplayReport()
                frmReportViewer showReport = new frmReportViewer();
                showReport.ReportViewer.ReportSource = this._report;
                showReport.ReportViewer.ParameterFieldInfo = paramFields;
                showReport.ShowDialog();
                showReport.Dispose();
            private string searchConfig(string searchText)
                XDocument doc = XDocument.Load("Config.xml");
                string returnValue = "";
                var list = from x in doc.Descendants("param")
                           select new
                               Item = x.Descendants("item").First().Value,
                               Value = x.Descendants("value").First().Value
                foreach (var item in list)
                    if (item.Item == searchText) returnValue =item.Value;
                    //Console.WriteLine("Item ({0}) has a value of {1}", item.Item, item.Value);
                return returnValue;
    Am I trying to do this wrong, or do I need to do more to add the correct connection information?
    Any help would be very much appreciated.

    The code looks good - as long as the variables are correct. (You may want to consider hard coding the logon values as part of your troubleshooting steps).
    Database Vendor Codes are passed by the DB client through the report engine unmodified. E.g.; look at your database documentation for the error. I did not find anything googling the error, so do check the db docs.
    If that does not help, let us know the following:
    Does the report work in the designer?
    What version of CR? Including any Service Packs applied.
    What version of .NET?
    What database?
    How are you connecting to the database? (32 or 64 bit?)
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Unable to change data source at runtime

    I have a simple Crystal Report based on a MS-SQL stored procedure that takes one parameter.  I developed it against my dev database, so when I run the application, I want to point it at our production database, but no matter what I do, it always calls the stored proc in my dev database.  Here's what my code looks like:
    // Code to set data source and launch report in viewer
    CrystalDecisions.Web.Report cr = new CrystalDecisions.Web.Report();
    cr.FileName = "UniformSizesByProject.rp";
    this.crsource1.Report = cr;
    this.crviewer1.RefreshReport();
    this.crviewer1.EnableDatabaseLogonPrompt = false;
    ParameterFields pfs = new ParameterFields();
    ParameterField pf = CreateParameterField("@Project_ID", _projectID);
    pfs.Add(pf);
    this.crviewer1.ParameterFieldInfo = pfs;
    this.crviewer1.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None;
    this.crviewer1.LogOnInfo.Clear();
    CrystalDecisions.Shared.TableLogOnInfo logon = GetReportLogonInfo(ConfigurationManager.ConnectionStrings["PMEntities"].ConnectionString);
    this.crviewer1.LogOnInfo.Add(logon);
    private CrystalDecisions.Shared.TableLogOnInfo GetReportLogonInfo(string ConnectionString)
         CrystalDecisions.Shared.TableLogOnInfo logon = new CrystalDecisions.Shared.TableLogOnInfo();
         CrystalDecisions.Shared.ConnectionInfo connInfo = new CrystalDecisions.Shared.ConnectionInfo();
         connInfo.ServerName = "(MyServerName)"
         connInfo.DatabaseName = "(MyDatabaseName)"
         connInfo.UserID = "(MyUserId)"
         connInfo.Password = "****"
         return logon;
    When I debug, I can verify that the LogOnInfo object is set to use my production server, the resulting output proves it is still running against my dev server.  I haven't run into this in similar apps I'm working with and the only difference with this one is that it's using a stored proc rather than command SQL or hitting the tables directly.
    - Robert -

    Hi Robert,
    Take a look at the SAP Note "[1553921 - Is there a utility that would help in writing database logon code?"|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
    The utility provided in above SAp Note will generate the logon code for your existing report, update the logon information of the target database in the code.
    Also search for the sample application 'change database at runtime' in top right corner search box.
    Hope it helps,
    Thanks,
    Bhushan.

  • How to create an XQuery for an XML type data source

    Hi,
    1.I have data contained in an XML format.
    Hence I have created a physical data source for XML type data.
    2.I have created a logical view to broker data from several disparate physical data sources.I have called this as UnifiedView.
    3.I have created a function called getUnifiedView() to obtain data from all the physical sources
    4.Upto this point, I have not faced any problems.
    5.However when i try writing a simple XQuery for the physical XML datasource such as
    $Sh-data/PublicIdentifiers/MSISDN="1234567"
    I get result as (For example):
    <HSS>
    <MSISDN> 1234567 111111 222222 </MSISDN>
    </HSS>
    Could you please help me getting the where clause output?
    I have attached the schema and XML files used for further information.
    Regards
    Vidya

    Hi mReiche,
    I later on resolved the previously mentioned error and try out the XQuery as suggested by you.
    for $MSISDN in ns0:Sh-data()/PublicIdentifiers/MSISDN
    where $MSISDN="1234567"
    return
    <HSS>
    <MSISDN>{data($MSISDN)}</MSISDN>
    </HSS>
    It works! Thanks.
    Now i am trying to retrieve data from 2 XML documents and an LDAP query.
    I have the following data sources:
    1.LDAP queried by Java Function
    2.HSS xml
    3.Presence xml
    I want to match the telephoneNumber of the LDAP with MSISDN in the HSS.xml.
    Next i want to match the SIP_URI in the HSS.xml with Contact of the Presence.xml
    Given below is the XQuery which i have written to achieve the above:
    for $x0 in ns5:FindDN($str_mailId)
    for $Sh-Data in ns2:Sh-Data()
    where $x0 = $Sh-Data/PublicIdentifiers/MSISDN
    for $presence in ns3:presence()
    where $Sh-Data/Sh-IMS-Data/SCSCFName = $presence/ns4:tuple/ns4:contact
    return
    On executing this XQuery i am getting the following error:
    java.lang.NullPointerException: null
         at weblogic.xml.query.types.XQueryAtomicType.commonSuperTypeOf(XQueryAtomicType.java:150)
         at weblogic.xml.query.types.XQueryType.comparisonTypeOf(XQueryType.java:324)
         at weblogic.xml.query.runtime.compare.GeneralAtomicComparison.compare(GeneralAtomicComparison.java:50)
         at weblogic.xml.query.runtime.compare.ComparisonIterator.fetchNext(ComparisonIterator.java:50)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.logic.BoolEffValue.exec(BoolEffValue.java:51)
         at weblogic.xml.query.runtime.logic.BoolEffValue.fetchNext(BoolEffValue.java:47)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:162)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:162)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.sequences.Exists.fetchNext(Exists.java:40)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
         at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:161)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:127)
         at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
         at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:142)
         at com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:461)
         at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:346)
         at com.bea.ld.ServerBean.executeFunction(ServerBean.java:108)
    Please find attached the XML documents which i am using.
    Could you pls let me know how to resolve this.

  • Help with XML, display data on swipe/click

    Hello.
    I am trying to create a moibile app that displays XML data. It's basically a phone book. I want the data to change when swiped. I can get the data in just fine. I can get it to display fine. I am not seeing the correct image first, however. I think it's a problem with my imagenum variable.
    Then, I want to change what is displayed when the user clicks/swipes on the screen. How do I do that?
    stop();
    var nameArray:Array = new Array();
    var countryArray:Array = new Array();
    var portraitArray:Array = new Array();
    var flagArray:Array = new Array();
    var jobtitleArray:Array = new Array();
    var imageNum:Number=0;
    var totalImages:Number;
    //Load XML
    var XMLURLLoader:URLLoader = new URLLoader();
    XMLURLLoader.load(new URLRequest("recbook.xml"));
    XMLURLLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(event:Event):void {
    var theXMLData:XML = new XML(XMLURLLoader.data);
    totalImages=theXMLData.name.length();
    for (var i:Number =0; i < totalImages; i++){
      //push xml data into the arrays
      nameArray.push(theXMLData.name[i]);
      countryArray.push(theXMLData.country[i]);
      portraitArray.push(theXMLData.portrait[i]);
      flagArray.push(theXMLData.flag[i]);
      jobtitleArray.push(theXMLData.jobtitle[i]);
    //data is processed
    loadData();
    function loadData():void {
    var thisPortrait:String = portraitArray[imageNum];
    var thisCountry:String = countryArray[imageNum];
    var thisName:String = nameArray[imageNum];
    var thisJobtitle:String = jobtitleArray[imageNum];
    var thisFlag:String = flagArray[imageNum];
    var dataLoader:Loader = new Loader();
    dataLoader.load(new URLRequest(portraitArray[imageNum]));
    dataLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dataLoaded);
    function dataLoaded(event:Event):void {
      //I want to start with image 0 (img1.jpg) and cycle through with a mouse click (finger swipe on iOS)
      stage.addEventListener(MouseEvent.CLICK, loadMainImage1);
      function loadMainImage1(event:MouseEvent):void {
       portraitUILoader.source=thisPortrait;
       flagUILoader.source=thisFlag;
       selectedName.text=thisName;
       selectedCountry.text=thisCountry;
       selectedJobtitle.text=thisJobtitle;
    //add to imageNum (1);
    imageNum++;
    if (imageNum < totalImages) {//stopping at img2
      trace("imageNum " + imageNum);
      trace("image name (thisPortrait) " + thisPortrait);//losing image 4 somewhere
      loadData();
      trace("Total Images " + totalImages);
    //click to move past the home screenI'd like to ditch this. don't know how.
    homeScreen_mc.addEventListener(MouseEvent.CLICK, goNext);
    function goNext(event:MouseEvent):void
    nextFrame();
    */here's the output:
    imageNum 1
    image name (thisPortrait) images/img1.jpg
    imageNum 2
    image name (thisPortrait) images/img2.jpg
    imageNum 3
    image name (thisPortrait) images/img3.jpg
    Total Images 4
    Total Images 4
    Total Images 4
    Total Images 4
    It starts the display on image 1 (the second in the series img2.jpg)*/

    Thank you.
    That helped. I get the correct images in the output, but not in the display. I also get the following error. Any chance you could help with that?
    new output after moving the increment:
    imageNum 0
    image name (thisPortrait) images/img1.jpg
    imageNum 1
    image name (thisPortrait) images/img2.jpg
    imageNum 2
    image name (thisPortrait) images/img3.jpg
    imageNum 3
    image name (thisPortrait) images/img4.jpg
    TypeError: Error #2007: Parameter url must be non-null.
    at flash.display::Loader/_load()
    at flash.display::Loader/load()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/loadData()
    at iOS_fla::MainTimeline/processXML()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

  • Problem changing SQL data source at runtime with VB6 and CR XI

    Hello All,
    We have several VB6 programs using CR XI and are able to pass a DSN to change data source with Access DB that works just fine.
    We are using similar code in another program to change the data source in an SQL DB and get an error... Failed to Open the Connection.
    This is a sample of what works with Access but not SQL DB:
    Dim crxApplication As New CRAXDRT.Application
    Public Report As CRAXDRT.Report
    Global DSN_STRING
    DSN_STRING = "DSN = JC Crystal Reports"
    Dim crxDatabaseTable As CRAXDRT.DatabaseTable
    Set Report = crxApplication.OpenReport(App.Path & "\Test11.rpt", 1)
    'change location of each table in report
    For Each crxDatabaseTable In Report.Database.Tables
            crxDatabaseTable.Location = DSN_STRING
    Next crxDatabaseTable
    FormCrystal.Show vbModal
    We have tried other things from the web, still get error.
    Any help would be greatly appreciated.
    C Reid

    Hi Carole,
    When using SQL types you need more than just the DSN name. CR does keep the password in the report file and all SQL types are usually password protected.
    Try this simple code:
    First log onto the server:
    rpt.database.LogOnServerEx("crdb_odbc.dll, pServerName, [pDatabaseName], [pUserID], [pPassword], [pServerType], [pConnectionString])
    The ConnectionString is the complete line. Run in debug mode and display what the reprot is using and you can see the format it requires.
    Once logged on now you can set the location for each table:
    'report connection properties
            With rpt.Database.Tables(1)
                .ConnectionProperties("User ID").Value = "sa"
                .ConnectionProperties("Password").Value = "YourPassword"
                .ConnectionProperties("Data Source Name").Value = "Your DSN Name"
                '.ConnectionProperties("Data Source Name").Value = "ServerName" ' can be used if specifying a new connection
                .ConnectionProperties("Database").Value = "Northwind"
            End With
            Set rpt.Database.Tables(1).Location = "Northwind.dbo.CustOrderHist"
    I'm only using one table so easy enough to create the loop or use for all...
    Thank you
    Don

  • Setting up JDBC Data Source for JCA Database Adapter  in WLS - only SID?

    Following the documentation for setting up a connection for use with the JCA Database Adapter (http://otnbeta.oracle.com/fmw11g/582tj30eapvb/integration.1111/e10231/life_cycle.htm), section 2.4.1, Step 8 simply says "Enter the connection properties in the Connection Properties page, and then click Next"
    In the "Create a New JDBC Data Source" screen of the WLS Administration Console there is the entry field vaguely labeled as "Database Name:" Of course I entered the Oracle RDBMS service name (which we should ALWAYS be using), only to be informed upon clicking next, that WLS was expecting the SID.
    Two things:
    1. At least through this maintenance console, it appears that BEA did not understand the whole concept or value of Oracle RDBMS logical service names versus the SID (I have seen this in several products that Oracle has acquired). Best practice would be to use the Oracle RDBMS service name, which doesn't appear to be an option in this console.
    2. The OFM documentation should be more helpful in explaining.

    Compare to the analogous setup in OAS 10.1.3.4/EM... far better clarity in the maintenance console and option of either SID or service name.

  • Need urgent help to generate SPL Data Sources for Line Items

    Hi All,
    I am trying to extract the Special Purpose Ledger Data from R/3 into BW. To do this, I am following the steps to generate the Data Sources for Totals table and Lien Items Table.
    Using Transaction BW01 and BW03 on the R/3 side, I am able to generate the Totals Record-DataSource   successfully.
    But I am not able to generate the Line Items-DataSource. I am using the same procedure.
    Can someone please help me or point me in the right direction. Are there any other settings I need to make to generate the Line Items-DataSource. Interestingly, I am able to generate the Line Items-DataSource  for some other old ledgers in the System like ZZ and ZX. But I need the Line Items-DataSource  from a ledger called ZP for which I am having trouble.
    I would greatly appreciate if someone can get back to me ASAP.

    During BW01, The Generate extract structure is fine for both Total and Line Item Table.The issue is when we run tcode bw03 where you assign the datasource to a ledger.
    Here, I can assign only for the Total Records data source and NOT for the Line Items-DataSource.
    I hope I could explain the issue. Looking forward for some advice.

  • Xml as data source in Data Model

    Hi All,
    For testing, I am using sales.xml as a data source for creating the Data Model. There is a region field which I want to filter using the parameter. I have created the parameter, I am not able to use this parameter to filter the xml values. Is there a way to filter the xml output according to the parameter in BI publisher 11g while creating the data model
    Thanks,
    Virat
    Edited by: 929521 on Oct 16, 2012 2:13 PM

    can u please share the resolution

  • Xml as data source

    HI, experts !!
    I have imported XML ("c:\xml_source.xml") as the data source.
    however, I found some data are wrong in the xml_source.xml file.
    then I edited the xml directly.
    But I found that the data keeps previous values on the dashboard.
    then I created a new xml file ("c:\xml_source_2.xml"). and change the xml url of the phyiscal table.
    but on the dashboard, it shows this error.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 64002] The table ?????????? is not found in file C:\xml_source_2.xml loaded. (HY000)
    SQL Issued: SELECT ???? saw_0, ????? saw_1 FROM ???? ORDER BY saw_0, saw_1

    Hi Forreging,
    can you please let me know how you fixed it. I have the same problem at the moment and I cannot find a way to fix it.
    Please come back with an answer.
    Thanks a lot!

  • Perform XSLT on XML as data source?

    Crystal Reports 2008 (12.0.0.549) can use XSLT when exporting an XML document.
    Can the XML driver, however, be configured to perform a XSLT on an XML document that will result in a document that will be used as a data source? 
    When I attempted to do so, I got an error--I was using an XSL document as the data source.

    Jamie-
    Thanks for the response.
    I'm trying to represent my résumé in XML format, then use Crystal Reports to generate a formatted, PDF document: craibuc/crystal-xmlresume · GitHub
    I'm hoping to avoid too much pre-processing, hence the desire to keep the data source in XML.  As such, exporting to CSV isn't an option.
    If this isn't possible, it would be a nice enhancement to the XML driver.

Maybe you are looking for

  • Muse Not Exporting Images/ Inconsistent Loading

    Here is a folder containing all files for my project: https://www.dropbox.com/sh/w87ewtlfj9pcnzs/DnUB8_qJHe Up until yesterday my whole project was all working great, no problems. Now it doesn't matter whether I preview, export, or save, Muse will ju

  • My Thunderbold mobile network doesn't work!!!

    I am having issues with my mobile network on my thunderbolt.  Sometimes it won't even connect to my mobile network (4G LTE) to allow me access to the internet and when I am my wifi range is the only way I can get internet.  Sometimes it won't even co

  • I have been paying for Creative Cloud Photography plan and .....

    I have been paying for Creative Cloud Photography plan and Photoshop Photography Program, I don't know if I should be. I want to be able to use Photoshop and Lightroom. Can anyone help?

  • Authorization Schemes, User Groups

    Hi Folks, I wish to create an authorization scheme and to do so with one of the user groups I defined in Home>Administration>Manage Application Express Users How can I set the authorization scheme to achieve this? Thanks for any and all help

  • Reg Complex Join

    Hi Experts, In which cases we have to use complex join in physical layer i saw in many blogs that we have to implement at the time implementing SCD type -2 in physical layer . May i know one scenario that where we have t exactly use the complex join