Using .cfr report files in an application

We are developing an application that sits behind a login. In this application we have several .cfr pages. When we try to access one of the reports the web browser returns a blank page. If we remove the application.cfc file from the root directory the pabe works fine. I am assuming the reason for this is the .cfr extension is not being accepted as an application page. Dose anyone know how to correct this? Our servers are windows based and coldfusion is running under iis.
Thanks
Hal Brown

Nope.  If you look at the Help for the "Run VI" method, you find the following information for "Auto Dispose Ref":
"If TRUE, the target VI detaches the reference from the main VI.  When the target VI finishes executing, LabVIEW automatically disposes of the reference, along with the parallel data space.  If FALSE, the main VI retains control of the target VI."
So by setting "Auto dispose" to T, you pass control of the reference to the subVI itself, and LabVIEW will dispose of the reference when the subVI finishes running.
I will second Jeff and urge you to get rid of the global variable!  I haven't used a global variable in something like 14 years.  I haven't needed to.  Myself, I love a good notifier and would urge you to use a notifier instead of a queue if you're going to be spawning VIs.  Why?  Because the first instance of your spawned VI to receive the "stop" message from the queue will remove that message from the queue, thus preventing the other instances from receiving the message.  So you'll have to send the message repeatedly and hope that everyone eventually receives it.  If you use a notifier, anything that contains a "Wait on Notification" with that notifier reference will receive the message.  I think you want multiple listeners here, right?
Ok, this afternoon I'll try to write some dummy code with a statically called VI in it, compile it into an exe, and see if I can duplicate your problem...
One question, were you just using the static VI reference by itself to call your VI, or were you using it the same way I showed in my earlier post, with "Open VI reference"?  I'm just trying to look for differences between what I've done in the past which has worked, and what you're doing now which isn't working...
Jeff, what say you?

Similar Messages

  • Use of Lookup Files in BI Applications

    Hi,
    Can any one tell the use of lookup files in BI Applications. While doing the configurations (for all modules) for these lookup files we get the data from the ERP database tables using the query provided by oracle and populate the file and then map with some domain values.
    Why cant we directly populate the datawarehouse tables using the ERP tables instead of populating through the lookup files (which we any how populate with ERP tables). Also what is the use of domain values. Does these use in reporting puposes and anlyzing the data or business.
    Thank You,

    For e.g, when you map the GL group account numbers, the predefined group codes such as 'CASH', 'AR', 'AP' , 'TAX' etc are the domain values. In the repository, the metrics are defined based on these domain values.
    Say, you mapped your CASH accounts from 0011 through 0100, then OBIEE calculates the metrics related to CASH as summation (or some kind of calculation) on the accounts that have the group codes (domain values) as CASH.
    It should be possible to update the domain values directly from ERP database tables but the ETL expects the mapping to be in files. Also in some cases we cannot change the default domain values, all we can change is the mapping to these domain values or create new domain values. At one client, we had to create a new account group code called 'FIXED ASSET' as the default domain values were not sufficient but then we had to change the repository to include new metrics and change existing ones to incorporate this new group code.
    -Nilesh
    http://www.appsbi.com

  • Using a jar file in my application... how?

    I have a JAR file which contains some classes I need to use in my application. I however, after looking in several books, cannot figure out how to use this JAR file within my application.
    Do I simply put it in the directory with my .java files, and use an import command? I'm confused.

    If the classes in the jar are part of a package then you can import them based on the package structure. The jar file will have to be part of your CLASSPATH variable.
    i.e.
    myUtils.jar
    resides in C:\"My Classes"
    CLASSPATH = .;"C:\My Classes";"C:\My Classes\myUtils.jar"
    within the jar I have the following class:
    \ameyer\Util\someUtil.class
    \ameyer\Util\anotherUtil.class
    To use these classes I could use the following import statement
    import ameyer.Util.*;
    This would import any class at that level in the jar.
    Note: the import part of the CLASSPATH is "C:\My Classes\myUtils.jar"
    hope this helps.

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • Problem using misc jar-Files in Composite Application

    Hi there,
    I want to use different jar-Files in my Composite Application on SAP Netweaver 7.3.
    I have created an external Lib DC where I have inserted the libs. After that I created an enterprise EAR and added the dependency to the PP of the external lib DC.
    After that I added the a dependency to my CAF-EAR. But I cannot access the mehtods and functions from my jar files.
    What's wrong there?
    Another question: Is it possible to add the jar-files directly to my CAF-EAR without creating the external library DC and adding a dependency?
    Any help would be greatly appreciated
    Thanks

    Hi, I've downloaded Jacob and got it running on my installation by doing the following:
    1. Download http://danadler.com/jacob/jacobBin_17.zip.
    2. Extract to Jdeveloper10g/jdev/lib/ext/Jacob
    3. Copy jacob.dll to c:/windows/system32
    4. Add JDeveloper10g/jdev/lib/ext/Jacob/jacob.jar to JDev user libraries, calling it 'Jacob'
    5. Add the 'Jacob' library to the project.
    6. Create a word document at c:/java/jacob/file_in.doc
    7. Create a new class with the following code:
    package view;
    import com.jacob.*;
    import com.jacob.activeX.ActiveXComponent;
    import com.jacob.com.Dispatch;
    import com.jacob.com.Variant;
    public class TestJacob
    public TestJacob()
    * @param args
    public static void main(String[] args)
    TestJacob testJacob = new TestJacob();
    testJacob.runTest();
    public void runTest()
    boolean tVisible = true;
    String sDir = "c:\\java\\jacob\\";
    String sInputDoc = sDir + "file_in.doc";
    ActiveXComponent oWord = new ActiveXComponent("Word.Application");
    oWord.setProperty("Visible",new Variant(tVisible));
    Object oDocuments = oWord.getProperty("Documents").toDispatch();
    Object oDocument = Dispatch.call(oDocuments, "Open", sInputDoc).toDispatch();
    }

  • Different languages used while uploading file from java Application

    Hi everybody,
    i have a problem with multiple languages , let me clear you the question, i were developing a java application using spring ,hibernate frame works, so i got a problem while uploading a file with chinees language or other
    it was saving with different format other than chiness in the database, can any one help me out ... i need the exact language when i upload the files,and when i get the data from DataBase which is in chinees language is '걨' going to be like as '???'
    thank you very much

    Santhosh_25 wrote:
    using utf-8 characterSet, but its not showing properly
    thank youOkay.. the problem with your browser settings.. (not sure)..
    In firefox try to set character encoding...
    go to View--->Character Encoding--->Unicode (UTF-8)..
    In IE
    go to View--->Encoding-->More-->Unicode (UTF-8)
    set this and try.

  • How to use a jar-file in an Application Service - NWDS 7.01

    Hello everybody,
    I want to create an Application Service in SAP NetWeaver Developer Studio 7.01.05. Can you explain me how i can import an external jar into my project?
    I found out that I can implement or create simple java files:
    Java Perspective --> package project_name.utils --> insert/create java file
    I try to add the jar into the java build path of my project, but when i build it the jar is gone.
    I would be very thankful for every hint.

    solved
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60d99678-1a29-2d10-94b4-9d9a67b7199b]

  • To use my class files in my applications

    Hi all!
    public class Count
    private int serialNumber;
    private static int counter=0;
    public static int getTotalCount()
    return counter;
    public Count()
    counter++;
    serialNumber=counter;
    public class TestCounter
    public static void main(String args[])
    System.out.println("Number of counter is " +Count.getTotalCount());
    Count c1=new Count();
    System.out.println("Number of counter is " +Count.getTotalCount());
    As you see above i want to use my count class in the TestCounter class but i cant compile it.It says i cant find the count class.How can i use count class in my TestCounter class.
    I try to make a package.So i put the counter class to a new package and import it by this package name in the TestCounter but i says there is no class in import.How can i make a package that i can import in my other applications.

    Sorry, I somehow got the impression that you could compile but not run...
    You must be making a small, irritating, frustrating mistake somewhere since the settings you desrcribe are correct.
    The code for the Count class is in c:\java\Count.java?
    The code for the TestCount class is in c:\java\TestCount.java?
    Can you compile Count with:
    c:\java>javac Count.java
    And after that TestCount with
    c:\java>javac TestCount.java
    If not, what is the exact error message (with line numbers and stuff) you get?What if you try compiling with
    c:\java>javac *.java
    Or "javac -classpath . *.java"?
    You are using a 1.2+ jdk, right? Not those 1.1 ones? As the 1.1 jdks require some extra setting in the classpath - the compiler may not be finding the superclass of Count, java.lang.Object, and then saying it can't find Count... older jdks have a 'feature' like that.
    Let's hope this will shed some light on the problem...

  • Crystal Reports in JSP web application

    Hi,
    I am using crystal report in my jsp application...
    Now there is a problem with me. I want use more than one tables in the report.
    The report is working with single table when i am calling from jsp.
    When i am using two or three queries i cannot pull the report..
    I am taking the two tables from crystal report as follows
    String tableName = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getName();
    String tableName1 = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(1).getName();
    And i am getting the names of the tables used in reports..
    But when i am setting the data source i am getting exception in the second line....
    reportClientDocument.getDatabaseController().setDataSource(resultSet, tableName , "Command");
    reportClientDocument.getDatabaseController().setDataSource(resultSet1, tableName1 , "Command_1");
    The exception is as follows....
    java.lang.NullPointerException com.crystaldecisions.reports.reportengineinterface.a.a.a.getTables(Unknown Source) com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source) org.apache.jsp.crdemo.filename_jsp._jspService(org.apache.jsp.crdemo.filename_jsp:118)
    Plz help me to solve this............

    Hi,
    I am using crystal report in my jsp application...
    Now there is a problem with me. I want use more than one tables in the report.
    The report is working with single table when i am calling from jsp.
    When i am using two or three queries i cannot pull the report..
    I am taking the two tables from crystal report as follows
    String tableName = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getName();
    String tableName1 = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(1).getName();
    And i am getting the names of the tables used in reports..
    But when i am setting the data source i am getting exception in the second line....
    reportClientDocument.getDatabaseController().setDataSource(resultSet, tableName , "Command");
    reportClientDocument.getDatabaseController().setDataSource(resultSet1, tableName1 , "Command_1");
    The exception is as follows....
    java.lang.NullPointerException com.crystaldecisions.reports.reportengineinterface.a.a.a.getTables(Unknown Source) com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source) org.apache.jsp.crdemo.filename_jsp._jspService(org.apache.jsp.crdemo.filename_jsp:118)
    Plz help me to solve this............

  • Cross browser issue using ajax report pull

    Hi,
    I have an application working using ajax report pull.
    Entire application is based on ajax and its currently released.
    Its performance is good. It works fine with mozilla but in ie,
    links and buttons are not working.
    my code is as follows:
    var container = document.getElementById("divlayer");
         container.innerHTML="";
         var l_Val = document.getElementById('P15_ID').value;
         var l_Val1 = document.getElementById('P15_REGION').value;
         var l_Val2 = document.getElementById('P15_COUNTRY').value;
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,null,10);
         get.add('P15_GSI_PARTY_ID',l_Val);
         get.add('P10_ID',l_Val);
         get.add('P10_REGION',l_Val1);
         get.add('P10_COUNTRY',l_Val2);
         get.add('P10_ROWS',l_Val3);
         get.add('P15_REGION',l_Val1);
         get.add('P15_COUNTRY',l_Val2);
         get.add('P15_ROWS',l_Val3);
         gReturn = get.get(null,'<htmldb:BOX_BODY>','</htmldb:BOX_BODY>');
         get = null;
    document.getElementById("divlayer").style.visibility='visible';
    document.getElementById("divlayer").style.display='block';
    var elem = document.createElement('div');
         elem.id='d1';
    elem.innerHTML=gReturn;
         container.appendChild(elem);
    The links with doSubmit is not submitting to the same page in ie.
    Please help me.
    Thanks,
    Niveditha

    Hello Niveditha,
    There're some differences in browsers... so yes it's possible that it doesn't work with the same code in another browser. The good news is that most of time there're workaround.
    When I look at your code, you could already change document.getElementById() by $x(), which is doing the same, but comes from the APEX framework.
    Do you have an idea where it fails in IE? Are you using the Developer Toolbar? Maybe that gives you more insights. You could also put some alert('hello 1'); in your code to see what's happening and how far it comes.
    If you put it on apex.oracle.com we can have a look into more detail.
    Dimitri
    -- http://dgielis.blogspot.com
    -- http://apex-evangelists.com

  • How to use SetFormula() using crysatl report viewer

    Dear All,
    I am using crystal report X1. From the application I open the report using report viewer. In the report am using some formula fields. How can I pass the formula form the  application. Herewith I am giving the code snippet of crystal report related operation.
    IApplicationPtr                     m_Application;
    IReportPtr                          m_ReportType;
    IExportOptionsPtr                m_ExportOptions;
    VARIANT                         dummy;
    m_Application.CreateInstance("CrystalRuntime.Application");
    m_ReportType = m_Application->OpenReport("D:
    DB_Report
    Report.rpt");
    m_Viewer.SetReportSource(m_ReportType);
    m_Viewer.ViewReport();
    Please help me out..
    Thanks in advance

    Hello,
    I had a look around for samples I may have and although the below code is adding the formulae at runtime it's basically the same thing.
    It would look something like this:
    void ReportView::InitReport()
        // Initialize our Application instance
        HRESULT hr = CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER , IID_IApplication, (void **) &m_Application);
        ASSERT(SUCCEEDED(hr));
    void ReportView::AddDetailFormulas()
        ISectionPtr pSection = GetReportSection(sectionNum);
        IFormulaFieldDefinitionsPtr pFormulaFields = 0;
        m_Report->get_FormulaFields((IFormulaFieldDefinitions**) &pFormulaFields);
        // A field must be recurring if you want to group on a field or
        // automatically bind it to a data source.
        // Putting "WhileReadingRecords" into the formula text makes the formula
        // into a recurring field.
        CString Recur = CString(L"WhileReadingRecords;" +
                               (CString)__toascii(13) +
                               (CString)__toascii(10));
        // Add the formulas to the formula fields collection
        CString CStrText = Recur + CString(L"Space(10)");
        BSTR strText = CStrText.AllocSysString();
        BSTR objName = SysAllocString(L"Player");
        PlayerFormula = pFormulaFields->Add(objName, strText);
        SysReAllocString(&objName, L"Team");
        TeamFormula = pFormulaFields->Add(objName, strText);
        SysReAllocString(&objName, L"Year");
        YearFormula = pFormulaFields->Add(objName, strText);
        SysFreeString(strText);
        CStrText = Recur + CString(L"$0.0");
        strText = CStrText.AllocSysString();
        SysReAllocString(&objName, L"Salary");
        SalaryFormula = pFormulaFields->Add(objName, strText);
        SysFreeString(objName);
    Intelli-sense should show you the other methods if you want to simply change the formula text.
    Searching the RDC samples on our site should give more Visual Basic sample, the methods will be the same just the syntax will b e different. Serch craxdrt.tlh for more info on which methods and classes are available.
    Thank you
    Don

  • Multiple xml files in one application?

    Is it possible to split up the xml code
    and let different session info objects
    use different xml files in one application?
    null

    Krasimir,
    Actually, my last reply might have been a little misleading. If you use ADF libraries then your task flows should be packaged correctly and should just work. I created a very simple test as follows:
    1. Created a new project. In adfc-config added two view activities, pageb1 and pageb2, and some navigation between them. Created the .jspx files for these view activities.
    2. Deployed my project as an ADF library and exposed the library in the resource palette (using a file system connection).
    3. Created a new application containing a project (project1). In project1, created a simple flow in adfc-config.xml with pagea1 and pagea2.
    4. Added my ADF library to project1.
    5. Now, by expanding the ADF library in the navigator (select Show Libraries from the dropdown menu on the Projects toolbar) I can see the adfc-config file in my library, and see that it is now under META-INF.
    6. I can run the adfc-config in my library and the adfc-config in my project - both work fine. I can also access any of the view activities in either flow by accessing the URL directly.
    Do these basic steps work for you? Let me know if any of it is not clear.
    Blaise

  • How to deploy Jdeveloper application to war file using jasper reports?

    Hello people,
    I´m not sure I this is the right place to ask, but I really need help.
    I´m using Jdeve 10.1.3.2
    My application is working perfectly. However when I deploy to war file in publish it into application server OC4J. I can´t print report.
    the error says that it can´t find jrxml file.
    I´ve tried to deploy report´s files with the applicaiton. I´ve tried just to set the path of the jrxml file. but nothing works.
    How can I deploy my applicattion to use Jasper reports correctly?
    Thanks willian

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File

    Post Author: bhaveshbusa
    CA Forum: Crystal Reports
    In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File. When the application calls ReportDocument.Load(reportFileName). This
    tries to connect to the database using the connection information embedded in
    the "reportFileName". This was only realised on checking the ODBC Trace
    Log. The connection itself is not a problem. The problem is that the embedded
    connection information is related to OLD production system. And failed
    connections had raised some concerns.
    Note: I am using
    SetDataSource to populate the data for the report. So I don't need the
    connection.
    Is there any way I
    can disable this auto-connect?
    Thanks and
    regards,
    Bhavesh

    960738 wrote:
    I need a help in answering one of the issue encountered last week.
    I have created a database link and tried to access the information from a table using the program written in another language. The password provided was incorrect for that user while creating database link. So we expected that,while retrieving the data, Database connection has to be errored out as password provided is incorrrect.
    But unfortunately, user account was locked out. When i checked with DBAs they mentioned that it tries to connect 16 ports with in a min of time.we were shocked as it STOPS another scheduled jobs with that user. and affects production badly.
    As per the program, it has to connect only one time and yesterday we tried to execute the program in DBAs observation and it errored out as expected. Didn't tried for multiple ports.
    Now the question is, WHY the database connection established 16 times last week and caused user account locked. DBAs are unable to answer it. Any EXPERTs opinion on this would greatly appreciated.
    I have verified managing ports in oracle documentation, it was mentioned that if one port is busy it will try to connect to another port in the range of ports mentioned during the installtion. DBAs verified ports related file and it was blank. and they are not agreeing with this reason. Please HELP me in finding the correct REASON for this.
    is it a NETWORK issue or issue with DATABASE SERVER only?
    Thanks
    SSP
    Edited by: 960738 on Sep 22, 2012 9:13 PMDBLINK is 100% oblivious to the fact any port exists.
    DBLINK only contains username, password & TNS Alias.
    can you post actual SQL & results?

  • Exception while opening a JSP file created using oracle report builder

    I have created a JSP page which contains embedded Oracle reports build using Oracle Report Builder.
    I have deployed the JSP created above to the Oracle Application Server
    but when i try to open the JSP file it gives the following error:
    500 Internal Server Error
    javax.servlet.jsp.JspException: rwlib-1: REP-1202: ORACLE logon not specified. at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:206) at testing.test1._jspService(_test1.java:75) [SRC:/testing/test1.jsp:0] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    can anybody help regarding this
    this is of high priority to me
    thanks and regards
    Subhajit

    bump

Maybe you are looking for