Using BV stored in the repository brings up ODBC(RDO) dialog box

Post Author: matthewh
CA Forum: Data Connectivity and SQL
                                                  Hi - not sure if this is the right forum - tried elsewhere on this site with no joy, and been struggling with this for 2 days now, and I really need it sorted,  so here goes:I'm trying
to get a report designed on my desktop PC with Crystal XI  connecting
to my remote server running Crystal Server XI R2 & MySQL 5.  I have
a business view created and I can access it fine via the repository, but when I go to
create the report or browse the data in the fields I get the ODBC (RDO)
dialogue box asking for a DSN!  Surely the point of the server is that it
handles all the connectivity?  I have the password stored with the
connection in the repository on the server - have I set up something
incorrectly at the server end?  I've used all bog-standard settings,
nothing fancy or different and using Enterprise authentication.  I've tried using single sign-on but couldn't get it to work.  This
is my first proper report against a data warehouse I'm building and my
first use of Crystal Server in anger, so it's possible I've missed
something. Also - is the Data Connection user name and password the Enterprise user name or the database user name? 

Hi Houffle,
You need to provide more details. For example, I cannot reproduce the behavior you describe by doing the following:
1. Create a "minprivs" user on a 10g XE database
2. Grant connect, resource to minprivs;
3. Create a connection for minprivs of type=Basic with Host/Port/SID=localhost/1521/xe
4. Connect to minprivs
5. Create a procedure in minprivs (without any dependencies on any other schema):
create or replace PROCEDURE secure_dml
IS
BEGIN
  IF TO_CHAR (SYSDATE, 'HH24:MI') NOT BETWEEN '08:00' AND '18:00'
        OR TO_CHAR (SYSDATE, 'DY') IN ('SAT', 'SUN') THEN
     RAISE_APPLICATION_ERROR (-20205,
          'You may only make changes during normal office hours');
  END IF;
END secure_dml;Running this procedure either normally or in debug mode works without an additional password prompt. It does not matter whether the Save Password check box was ticked or not in the New / Select Database Connection dialog.
Regards,
Gary
SQL Developer Team

Similar Messages

  • Can I use Other database as the repository, Sybase/SQL Server? Urgent!!!

    Hi all,
    Can I use Other database as the repository, Sybase/SQL Server? Urgent!!!
    And Can I use other database store business data and sync with lite?
    Thanks ahead!!!

    Jonathan,
    No, it is not possible to use any other database than Oracle (8.1.7) or later .
    Oracle Lite will only work with Oracle.
    Regards

  • Slowness during AE rendering using file stored on the network

    Hi,
    i work as IT consultant in a design studio.
    This studio has 3 workstation with 2xquad xeon ,16gb ram , 15000 rpm disk, Nvidia tesla card,  fast enough to perform rendering with 3dmax using vray and other stuff.
    They work a lot with watches and boat.
    This spring they started to do presentation with AE cs4 and as other 3dsmax project store all data on a 2x2 xeon 4 gb debian x64 samba server with 2tb raid 1 sata.
    The network is a gigabit and they can transfer to the server 100/120 mb/sec (i can achieve locally on the server 170 mb/sec from the raid).
    The issue is that 3dsmax and other programs works efficiently on the network instead AE is very very slow using project stored on the server.
    I've tried to set up disk caching on local workstation  but there aren't changes, so i've inspected network traffic of AE with Wireshark and i saw that AE continuosly request always the same files (seems doesn't use an algorithm of caching) .
    My conclusion is:
    - our network is fast for transfer but slow with latencies ( for request a file we need 50-500 ms )
    Solution:
    - change topology of the network : switch from gigabit to fiber cabled network (too much money)
    - discover some trick of AE
    I appreciate a lot ur help.
    Ps:sorry for my bad bad bad english.

    i forgot, copying on local disk the project folder AE spend 10 minutes to render, the same project on the network spend 1,30 hours.

  • Surfing the web I constantly get a dialog box popping up that says "The connection was rest" or " Server not found" or "The connection has timed out"

    Surfing the web I constantly get a dialog box popping up that says "The connection was rest" or " Server not found" or "The connection has timed out". The panel gives me three possible causes, none of which are correct and tells me to "Try again". Sometimes when I try again the site appears, sometimes it does after several tries and sometimes it never does. I called my IP, Cox and they told me it is a result of something Microsoft put out in their updates to IE (presumably to discourage people from using Firefox). Can you help me get rid of this problem?

    Surfing the web I constantly get a dialog box popping up that says "The connection was rest" or " Server not found" or "The connection has timed out". The panel gives me three possible causes, none of which are correct and tells me to "Try again". Sometimes when I try again the site appears, sometimes it does after several tries and sometimes it never does. I called my IP, Cox and they told me it is a result of something Microsoft put out in their updates to IE (presumably to discourage people from using Firefox). Can you help me get rid of this problem?

  • Disable the top left corner pushbutton in dialog box

    Hi
    How can I deactivate or disable the top left corner pushbutton in dialog box?
    Kindly reply.
    Thanks and Regards.

    Hi,
    When you set the pf-status, write it like
    SET PF-STATUS '0100' EXCLUDING <function code of pushbutton>.
    Hope this helps you.
    Regards,
    Manoj Kumar P

  • How can I avoid the Local storage pop-up question dialog box during playing you tube vedios ?

    How can I avoid the Local storage pop-up question dialog box during playing you tube vedios ?

    You might try tweaking your global privacy settings.  I suspect it's set to "always ask."
      Go to this page -- http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l -- which contains the settings panel for Flash Player, and click on the various "deny" buttons to disable this.  (It's a good idea to click on all the tabs to check the settings.)
    If this works for you, please post back.  (I know it worked for me.)
    Ortho_Fan
    (not a techie)

  • Why does it take so long for the Open, Save, or Save As Dialog Boxes to Open?

    I'm having a problem throught CS6 with the Open, Save, or Save As dialog boxes not opening for a period of time after clicking on the desired functions.  It can take over a minute just to get the Open dialog box up to browse for a file.  Eventually, the dialog boxes open, but during the time that it's trying to open, the program is unresponsive.  It is happening with all of my CS6 programs.  I have unistalled and reinstalled with no fix.  The programs are updated.  Anyone else having this trouble?  Any solutions?

    Thanks for your response.  The system is a Windows 7 64-bit system with 4GB RAM installed.  I am not trying to save anywhere in particular.  By default, it would open to the user's documents, and does eventually, but it currently just sits for about a full minute before doing anything.  This machine was saving properly when CS6 was first installed about 5 months ago. 
    I've checked for unconnected network drives. I've also renamed the Illustrator preferences file based on a reccomendation that I found elsewhere.  However, neither of these helped.
    I can provide screenshots or anything else that's needed.

  • Using XSLT stored in the database

    Hi all,
    I have an XML file stored in the database as a CLOB. I also have a XSLT stored in the database as a CLOB. I want to apply the XSLT to the XML but the xslprocessor.newStylesheet requires that I provide a url for the stylesheet. Is there any other way of acheiving this transformation?
    Thanks
    Goel

    Use the XMLTYPE object.
    Fetch your XML and XSL into clobs and create an XMLType object of your XML using the constructor:
    declare
    xml_obj xmltype;
    xml_clob clob;
    xsl_clob clob;
    begin
    -- fetch the xml, xsl into your clobs
    xml_obj := xmltype.createxml(xml_clob);
    htp.p(xml_obj.transform(xmltype(xsl_clob)));
    end;
    XMLTYPE object (new in 9iR2) has a very handy API for manipulating XML.

  • Problem while using for first time the Repository in Des 6.0

    After creating the Repository, with a new project, trying to use the process diagramer and defining the root process this message appears:
    RME-00224: Failed to close activity
    RME-00222: Failed to dispatch operation to Repository
    RME-00011: Operation 'close' on ACTIVITY has failed
    RME-00020: Internal API error - ORA-04031: unable to allocate 8192 bytes of shared memory ("large pool","unknown object","sort subheap","sort key")
    How can I solve this problem?

    Geraldo,
    Please check your init.ora parameters:
    max_enabled_roles = 30
    sort_area_size = 262144
    sort_area_retained_size = 65536
    hash_area_size = 1048576
    optimizer_index_caching = 50
    optimizer_index_cost_adj = 25
    shared_pool_size = 32000000
    db_block_buffers = 2000
    open_cursors = 1000
    processes = 100
    db_file_multiblock_read_count=16 # for a 4K Oracle block size
    db_file_multiblock_read_count=32 # for a 2K Oracle block size
    db_file_multiblock_read_count=8 # for a 8K Oracle block size
    Davi

  • Anyway to bring up a file dialog box on a remote panel

    A user is requesting a file dialog box to be opened.  The problem is his program is on a remote system, and I'm utilizing remote panels to bring the app to his control console.  File dialogs don't seem to work, for mostly obvious reasons.  Other dialog boxes appear just fine.  Is there anyway to provide a file dialog box of the remote panel's computer's file structure?  Or do I need to build in the feature?

    Doing a search on "remote panel file dialog" gave me a bunch of hits.
    In one of the threads, there was a link to File dialog to use in Remote Panel applications

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • How can I return to the last selected item in a dialog box

    In OS 9 using Dreamweaver (for example) when I was adding images to a document, each time I added one the dialog box would return to the last selected image and I could just arrow down to the next in the list, add it (exiting the dialog box) and then repeat the process until I had added all the images in the folder. Now, using OS 10.4, after I add an image, and return to the add image dialog box it goes to the first item in the folder list instead of the last selected item. this really slows the process down, and when I'm adding 100 items or so, it's a real drag. I figure there has to be a way to get the dialog box to return to the last selected item, but I don't know what it is. Help!

    sorry, that is not what I want to do.
    I want to return to the initial state before I quit the app.
    Actually, I want to return to the intial state after I click a row in a table the second time.
    Sorry, I didn't say clearly.

  • Can I change the Default Position of a JColorChooser Dialog Box???

    I am working on a drawing application where I am using a button that launches a JColorChooser dialog to allow a user to select a color which. I have tied this button to the JColorChooser using the source code below to reset the color based on the user's selection. This all works fine. However, when the JColorChooser comes up, the dialog comes up right in the middle of the drawing area and erases any portion of the drawing that the dialog box overlaps with, which having my luck is more or less right in the middle of the JPanel where I am doing the drawing. My question is can I tell the JColorChooser to come up somewhere else in the user interface by offsetting it from the actual application somehow? I am using a JFrame to add all of these components to (the color choose button and the drawing area) and wonder if there is a way to tell the JColorChooser dialog not to come in the default location. Any help that anybody could provide would be greatly appreciated. Thanks!
    Kevin
    pickColor = new JButton( "Choose Color" );
    pickColor.addActionListener(
    new ActionListener() {
    public void actionPerformed(ActionEvent event)
    color = JColorChooser.showDialog(
    ColorPicker.this, "Choose a color", color);
    if ( color == null )
    currentColor = Color.RED;
    else
    currentColor = color;
    );

    JColorChooser has a method createDialog() that lets you create (rather than
    merely show) a dialog containing your colour chooser.
    If you use this method you can position the dialog wherever you want. The
    dialog inherits the Window methods for positioning - eg
    setLocationRelativeTo(Component c).

  • How to ensure that giving the firefox.exe command in run dialog box in Windows opens up a specific firefox Profile?

    I have a firefox profile with certain proxy settings set. When I type firefox.exe in the run dialog Box in windows it opens up the default profile. I have a firefox shortcut specified with the command line args -P "profilename". I want this to be used as it will force the custom profile. Is there an environment variable that i can set for this?

    You can set the default profile to use in the Profile Manager to be used when no profile is specified and otherwise use desktop shortcuts with a profile specified (-P "profile").<br />
    There is also a "Don't ask at startup" check box in the PM window.
    *http://kb.mozillazine.org/Profile_Manager

  • What happened to the ColorSync option in my print dialog box?

    I am using a Canon Selphy CP 740 for photo printing with my Alu iMac, and since new, I noticed most / all of the photos came out too dark. However I discovered the ColorSync option to lighten the image, and this fixed the problem. Since upgrading to Leopard (10.5.1), this option no longer appears in my print dialog box. I have looked at the ColorSync utility in the Utilities folder, but this printer doesn't appear in the devices listed there. Is there any answer to my problem?

    Found out Color Sync was left up to the individual manufacturers to use or not use in their drivers.

Maybe you are looking for