ActiveX web control and Oracle

Hi, I'm trying to use an ActiveX control embedded in a web page to connect to an Oracle database (Oracle 9i), but I keep getting these security errors. The control is written in C# on Visual Studios 2003. The control runs on the client machine and (I think) tries to use their Oracle oci.dll file to connect.
I have fully trusted my activex control using the Microsoft .NET Framework 1.1 Wizards. When I sign this assembly without using
[assembly: AllowPartiallyTrustedCallersAttribute], it fails to start in IE 6.0.
I was wondering if anyone could shed some light on this problem. I guess this is more a Microsoft .Net issue than an Oracle issue, but any help would be greatly appreciated.
Thanks in advance.
Here is the stack trace (I'm not a fan of posting these but its the best way to explain it) :
System.Security.SecurityException: Request failed.
Server stack trace:
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateComInstanceFrom(String assemblyName, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
at System.AppDomain.CreateComInstanceFrom(String assemblyFile, String typeName, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Hello,
In RDBMS 10g you cannot directly expose WS from the DB you need to use the OracleAS Web Service Runtime to do it, following this documentation:
- Developing Web Services that Expose Database Resources
This is true if we are talking about "tooling/runtime/API" but after all Web Services are mainly XML (WSDL and SOAP) so it is still possible to create by hands (PL/SQL & static files) but it is probably a long work depending of the complexity of your services.
Also, in RDBMS 11, you can now directly expose WS from the DB using the embedded HTTP server, see this Oracle 11g New Features Document
Note that before taking one approach you must take time to write up your requirement regarding Web Services eg: do I need security, which time of encoding, interoperability, ..., ... For example WS-Security that is the standard to secure SOAP messages is not (yet) supported by the Oracle 11g RDBMS Native Web Services... where when you do use the WS-Runtime you can secure the Web Service..
Regards
Tugdual Grall

Similar Messages

  • Run Oracle Web Logic and Oracle Application Server 10g on same server

    Since oracle has chosen to release adf faces 11g, before the SOA suite 11g is released, we are facing the challenge to run both Oracle Web logic and Oracle Application Server 10g on the same server.
    If anyone have any experience in this setup or has knowledge of other feasable setups please let me know.
    Regards.
    Jan

    What version of Oracle Application Server 10g are you installing?
    If you are installing 10gR2 (v10.1.2.x) have you taken a look at point #70 in "Table 2 Additional Information for Certified Platforms" section here?
    http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
    Thanks
    Shail

  • Web Service and Oracle HTTP Server

    I have a web environment with Oracle Database 10.2.0.3 , oracle http server (using mod_plsql), Oracle pl/sql web toolkit. I need to create a web service that is accessed externally which will interact with the database (select, insert, delete). Is it possible to publish a web service to the Oracle Http Server or to implement web services with the environment above

    Hello,
    In RDBMS 10g you cannot directly expose WS from the DB you need to use the OracleAS Web Service Runtime to do it, following this documentation:
    - Developing Web Services that Expose Database Resources
    This is true if we are talking about "tooling/runtime/API" but after all Web Services are mainly XML (WSDL and SOAP) so it is still possible to create by hands (PL/SQL & static files) but it is probably a long work depending of the complexity of your services.
    Also, in RDBMS 11, you can now directly expose WS from the DB using the embedded HTTP server, see this Oracle 11g New Features Document
    Note that before taking one approach you must take time to write up your requirement regarding Web Services eg: do I need security, which time of encoding, interoperability, ..., ... For example WS-Security that is the standard to secure SOAP messages is not (yet) supported by the Oracle 11g RDBMS Native Web Services... where when you do use the WS-Runtime you can secure the Web Service..
    Regards
    Tugdual Grall

  • Books on Active X controls and Oracle Forms

    Does anybody know of a good book that covers using Active X Controls within Oracle Forms.
    Thanks
    Deidra

    Oracle Forms Developer and Reports Developer Release 6i: Guidelines for Building Applications on the software tab of the forms section on otn has a section about it.

  • Build a dicom server with web logic and Oracle Multimedia DICOM

    Its it possible, build My own dicom server...only using web logic + java + Oracle Multimedia DICOM ?

    Hi,
    In The LDAP side you need to increase:
    MaxPageSize - This value controls the maximum number of objects that are returned in a single search result, independent of how large each returned object is. To perform a search where the result might exceed this number of objects, the client must specify the paged search control. This is to group the returned results in groups that are no larger than the MaxPageSize value. To summarize, MaxPageSize controls the number of objects that are returned in a single search result.
    Default value: 1,000
    For more informations please refer to : http://support.microsoft.com/kb/315071
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Budgetary Control and Oracle Projects

    Budgetary control for Oracle Projects was mooted as future functionality in 11i. Is this now a reality, and in which release of 11i?
    Thanks

    Budgetary Control has been added to Projects as part of MiniPack H. The documentation can be found on MetaLink. However, the docuementation does not provide a step by step set guide so I'm having trouble testing this new feature. If you find anyone who has more information regarding budgetary controls and funds check, please let me know.

  • Generating a Web Service and Oracle DATE type

    Hi,
    I need to generate a Web Service from an EJB model based upon entities generated from the Oracle 11g database that contain DATE types.
    I realize that java.sql.Date may not be a supported JAX-RPC type but I would be VERY grateful for some instructions about the easiest way to solve this problem when generating the web service in JDeveloper 11g.
    The integrated WLS server log looks like this:
    <2009-apr-26 kl 23:13 CEST> <Error> <HTTP> <BEA-101216> <Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/SessionFacadeBean".
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:264)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
         Truncated. see log file for complete stacktrace
    java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    java.sql.Timestamp does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.sql.Timestamp
              at public java.sql.Timestamp oracle.Lan.getAterlamnadDatum()
              at oracle.Lan
              at public java.util.List ejbmodel.jaxws.QueryLanFindByNrResponse._return
              at ejbmodel.jaxws.QueryLanFindByNrResponse
    ..... and so on
    The entity bean i question looks like this:
    package oracle;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    @Entity
    @NamedQueries({
    @NamedQuery(name = "Lan.findAll", query = "select o from Lan o"),
    @NamedQuery(name = "Lan.FindByNr", query = "select o from Lan o where o.lanNr = :p_lanNr")
    public class Lan implements Serializable {
    @Column(name="ATERLAMNAD_DATUM")
    private Timestamp aterlamnadDatum;
    @Column(nullable = false)
    private Long demandcount;
    private Timestamp demanddate;
    @Column(name="EXEMPLAR_NR", nullable = false)
    private Long exemplarNr;
    @Column(nullable = false)
    private String isbn;
    @Id
    @Column(name="LAN_NR", nullable = false)
    private Long lanNr;
    @Column(nullable = false)
    private Long remindercount;
    private Timestamp reminderdate;
    @Column(name="TILLBAKA_DATUM")
    private Timestamp tillbakaDatum;
    @Column(name="UTLANAD_DATUM")
    private Timestamp utlanadDatum;
    @ManyToOne
    @JoinColumn(name = "PERSON_NR")
    private Lantagare lantagare;

    Hi All,
    When i'm developing EJB Webservice i am getting following error .. i think it doesn't support java.sql.Date; and java.sql.timestamp; types
    the error are as show in below please suggest me.
    [Running application oil on Server Instance IntegratedWebLogicServer...]
    [05:04:09 AM] ---- Deployment started. ----
    [05:04:09 AM] Target platform is (Weblogic 10.3).
    [05:04:09 AM] Retrieving existing application information
    [05:04:09 AM] Running dependency analysis...
    [05:04:09 AM] Deploying 2 profiles...
    [05:04:10 AM] Wrote EJB Module to C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\oil\oil_webservicesEJB.jar
    [05:04:10 AM] Wrote Enterprise Application Module to C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\oil
    [05:04:10 AM] Redeploying Application...
    <Jun 30, 2011 5:04:10 AM EDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application oil is not versioned.>
    <Jun 30, 2011 5:04:10 AM EDT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element webservices in the deployment descriptor in C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\oil\oil_webservicesEJB.jar/META-INF/webservices.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
    <Jun 30, 2011 5:04:10 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/oil-oil_webservices-webapp".
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
         Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    java.sql.Timestamp does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.sql.Timestamp
    >
    [05:04:11 AM] #### Deployment incomplete. ####
    #### Cannot run application oil due to error deploying to IntegratedWebLogicServer.
    [05:04:11 AM] Remote deployment failed
    [Application oil stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Thanks in advance..
    Siva
    Edited by: Shankar on Jun 30, 2011 7:02 AM

  • Web.Show_document and oracle session

    Hi,
    I am uploading a file on to Oracle Portal through web util. After this, I am calling the web.showdocument to view the uploaded file. But I am seeing only a blank page. This is the sequence flow.
    1. Forms call a procedure which will create a dummy record of the document to be uploaded. This insert is happening as an autonomous transaction.
    2. The Forms call webutil and uploads the document
    3. Then I am calling web.show_document to view the document. The browser is opening an empty page. But once I did an explicit commit, I can open and view the document successfully in the same way.
    I am using '_blank' option.
    So, what I infer from this is that web.show_document opens the browser with a new oracle session by passing authentication details internally. Is there any way view the document without doing an explicit commit?
    Thank you.
    Warm Regards,
    Raja.
    Message was edited by:
    Raja M

    Check
    [b]Mozilla Firefox Options
    File Types
    The Download Actions dialog, which can be opened by clicking the
    Manage... button, contains file types that you have downloaded.
    You can choose what Firefox should do when clicking on a specific
    file type by selecting the file type you want to modify and clicking the
    Change Action... button.

  • Web Dynpro and Oracle

    Greetings to all!
    We had been two weeks trying to develop a simple application with Web Dynpro that brings data from an Oracle database. We have defined a table in the Java Dictionary with such fields and names that in the data base. We have created a project J2EE with a EJB Entity with properties and methods for the fields of the table. For the tableView model in Web Dynpro we had to use a Java conventional Bean since it did not accept the EJB import directly. Also we have defined a system with the connection properties, user, password... of the Database. Everything seems to work fine, but sometimes we obtain the java.lang.NoClassDefFoundError exception:  com/sap/tc/webdynpro/progmodel/gci/IGCIComponentDelegate and the others just an empty tableView. Can somebody help us? It would be to us of much utility a simple project of this kind with all the properties, detailed references...
    Thank you very in advance.

    Hi Srikant,
    I have worked on similar stuff, but the scenario was a little different. I worked on creating Web Services using EJBs, but the basic part was that, the web service was supposed to interact with the SQL Server database. So maybe I can help you...
    First thing which is needed is that you have created the JDBC Connector in your Visual Administrator correctly. If you wish to cross check, you can see my answer in the following thread:
    JDBC error
    In this thread itself I have given the code which is the solution to your problem (this is what i believe). I am pasting the code again:
    <b>InitialContext initialContext = new InitialContext();
    DataSource dataSource = (DataSource)initialContext.lookup("jdbc/MyAlias");
    java.sql.Connection connection = dataSource.getConnection();</b>
    You can use this code in the method of your EJB, and then you can easily use this connection object to access your database tables using SQL queries.
    And if by any chance you are looking for a step wise procedure for creating a web service from an EJB, then give me your email address, i will send you the doc.
    Bye
    Ankur
    Do reward points if it helps!!

  • JAVA WEB SERVICE AND ORACLE DATABASE

    Hi,
    I working with Oracle database 10g, Oracle Bpel 10.1.2.0 and JDeveloper 10g on windows xp home.
    I have created a java class with incapsulated sql statement (jdbc protocol).
    All it's ok when the class runs from command line (JCreator).
    After that i created the web service from java classes (with JDeveloper) and I connected (with success) database to OC4J and run the web service, i have this xml message like result:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/DipendentiWebService/DipendentiWebService</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Which's my error?
    Thanks

    Hi Frank,
    thank you for the reply, but i don't undertsand what do you mean "add print statement to java class".
    follows the java class code that loads a mail address from database oracle:
    import sqlj.runtime.*;
    import sqlj.runtime.ref.*;
    import java.sql.SQLException;
    import java.util.*;
    import java.sql.*;
    import utility.*;
    import java.lang.*;
    import java.io.*;
    public class DipendentiWS{
    protected static String matricola = null;
    protected static String email = null;
    private static DBConnectionManager connMgr;
    private static Connection conn = null;
    private static Statement st = null;
    private static PreparedStatement pstmt;
    private static ResultSet rs = null;
    private static final String FIND_BY_MATRICOLA = "SELECT Email FROM ARDIP.DIPENDENTI " +
                                                           "WHERE Matricola = ?";
    // metodo ausiliario per il rilascio delle risorse
    * @webmethod
         public static String leggiMail(String matricola)throws SQLException{
         // Caricamento dati Dipendente da DB
         try {
    connMgr = DBConnectionManager.getInstance();
         Connection conn = connMgr.getConnection("access");
    if (conn != null) {
         conn.setAutoCommit(false);
    st = conn.createStatement();
    pstmt = conn.prepareStatement(FIND_BY_MATRICOLA);
                   pstmt.setString(1, matricola);
                   rs = pstmt.executeQuery();
    if (rs.next()) {
    email =rs.getString(1);
    conn.commit();
    // conn.setAutoCommit(true);
    catch(SQLException e){
         e.printStackTrace();
         System.err.println("ATTENZIONE!!!!");
              finally {
         try {st.close();}
         catch(SQLException ex){ ex.printStackTrace();}
              return email;      
         }

  • ITANIUM Grid Control and Oracle 10.2.0.3 update

    QA and PROD databases were installed as 10.2.0.1 on Itanium servers.
    QA was taken to 10.2.0.3 two weeks ago.
    Grid Control AGENT was applied to QA early last week.
    QA database continues to perform
    PROD was not taken to 10.2.0.3
    Grid Control AGENT was applied to PROD early last week.
    PROD continued to perform.
    THIS MORNING applying 10.2.0.3 upgrade to PROD: Installation set passed Deinstall and Install then at LINKING returned "Error in invoking target 'client_sharedlib" of makefile '/oracle/CDWP/orahome/nedtwork/lib/ins_net_client.mk" See '/home...log'. Examining the log led to libclntsh.so.10.1 WITH ZERO FILESIZE LENGTH. Further testing had repeated results.
    THIS THREAD WILL BE PLACED IN ENTERPRISE MANAGER AND METALINK.
    It appears the ITANIUM GRID CONTROL release was not well QC'd. I am FORCED to recover the PROD database from backup.
    ANYONE with any insight on how to install 10.2.0.3 AFTER Grid Control please respond.

    Hi Rob Zoeteweij
    This is the output of command "emctl status agent" .
    $ emctl status agent
    Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    Agent Version     : 10.2.0.5.0
    OMS Version       : 10.2.0.5.0
    Protocol Version  : 10.2.0.5.0
    Agent Home        : /opt/app/oracle/product/agent10g
    Agent binaries    : /opt/app/oracle/product/agent10g
    Agent Process ID  : 11715
    Parent Process ID : 11680
    Agent URL         : https://oracledev.test.com:3872/emd/main/
    Repository URL    : https://oracledev.test.com:1159/em/upload
    Started at        : 2010-09-06 11:06:28
    Started by user   : em10g
    Last Reload       : 2010-09-06 11:06:28
    Last successful upload                       : (none)
    Last attempted upload                        : (none)
    Total Megabytes of XML files uploaded so far :     0.00
    Number of XML files pending upload           :      577
    Size of XML files pending upload(MB)         :    22.89
    Available disk space on upload filesystem    :    31.20%
    Last attempted heartbeat to OMS              : 2010-09-06 11:06:39
    Last successful heartbeat to OMS             : unknown
    Agent is Running and Ready

  • MS Patch KB2976627 Java ActiveX version control and how it affects RDS sessions

    The recent patch for MS to prevent IE from using older versions of Java ActiveX seems to put a version file under %localappdata% and pull this file from the Internet.  My questions are:
    1.  How does this work when you are using a mandatory profile for RDS users?
    2.  We don't allow internet access to the RDS servers/sessions.  How does that affect this whole process?
    I'm quite confused how this patch works with RDS overall, so any explanation is appreciated.

    I assume you are referring to this http://support.microsoft.com/kb/2991000
    "Starting September 9, 2014, out-of-date ActiveX controls will be blocked on computers that have the August Cumulative security update for Internet Explorer (MS14-051)(http://support.microsoft.com/kb/2976627/ )or a later update applied"
    If you apply this update and your users do not have access to the Internet, the control will simply be blocked.
    Microsoft list these options...
    "If your organization has to have more time to lessen dependencies on outdated Java controls, you can take one of the following actions: •Turn off the feature completely. To do this, use the Turn off blocking of outdated ActiveX controls for Internet
    Explorer Group Policy setting (or the corresponding registry key).
    Note This is the less secure option. 
    •Turn off the feature for a specific domain. To do this, use the Turn off blocking of outdated ActiveX controls for Internet Explorer on specific domains Group Policy setting (or the corresponding registry key). This setting lets you turn off the feature on
    the specific domains on which your enterprise has an outdated Java dependency."
    Since you are using mandatory profiles, I would recommend updating the ActiveX control in the mandatory profile -> http://technet.microsoft.com/en-us/library/gg241183(v=ws.10).aspx
    HTH,
    Jeremy

  • Oracle Grid Control and Oracle Application Management Pack for Siebel

    I am trying to get the Oracle Grid Control Software to work with the Siebel Application Management Pack so that I can effectively monitor Siebel. The client I am at does not have a budget for proper monitoring solution therefore, I have chosen the free alternative. Anyway, the Oracle 10G Agent is running on all the windows Siebel Servers and all of the Siebel Servers appear within the Oracle Grid Control management tool. At this time I am more interested in monitoring the Siebel metrics versus the windows metrics.. I have added Siebel as a Target Subtab within Oracle Grid Control. I have also successfully run through the Oracle Agent 10G SiebelClassPathfix.bat command on each Siebel Windows Server. What I am not able to do is add a Siebel Enterprise through the Oracle Grid Control Manager Software. When I attempt to add a Siebel Enterprise I receive the following error message. Any suggestions would be beneficial.
    An error occured while adding Siebel Enterprise.
    Credentials - Missing Credentials for host halcrmtgw01.dinghy.hal.test

    Please log a service request with tech support so that we can track this inquiry. On the service request, capture a screenshot of the page where you defined the host preferred credentials, and tell us the names of your servers.
    Btw, I take that you are stuck in the step in which you:
    - Click the "Add Enterprise" button to add the enterprise
    - Fill in the 7 parameters
    - Click Ok to start the discovery process
    Which release of Siebel and Enterprise Manager are you using?
    Chung

  • SQL SSRS 2008 DateTime Calendar Control and Oracle 10g Data Source

    Hello. I am creating reports in SSRS 2008 using the calendar control for a date range. Let's say we select a start date of 3/3/2012. This parameter is sent into my SQL statement in the WHERE clause which is executed against an Oracle 10g database. All syntax has to be in SQL that Oracle understands, so no CONVERT or CAST.
    The format of the date is throwing an error "ORA-01843: not a valid month" when I try to use the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_DATE('3/03/2012', 'MM/DD/YYYY')
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    I cannot find a way to format the date parameter in SQL Server SSRS before it gets to the SQL to be executed in Oracle.
    Please help.
    Thanks,
    Sunny

    920616 wrote:
    sb92075: I am showing you how Oracle renders the date if I do a simple select from the table from which I am trying to pull data. You are right, it sure doesn't prove anything other than how the date looks right out of the Oracle database, but hopefully, it will give a clue as to how I need my SSRS date parameter to work.
    Hans Forbrich:
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    Solomon:
    It works. The problem is getting the parameter '3/3/2012' into a usable format for Oracle.
    Let's assume an application is sending in '3/3/2012' which will be used in an Oracle query (no PL/SQL allowed, nor can I create functions, stored procedures, etc - only straight up SQL). How can I prepare the parameter to successfully do the compare on the Oracle Date field?
    12:50:23 SQL> select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual;
    select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    12:51:00 SQL> ed
    Wrote file afiedt.buf
      1* select TO_DATE('03/03/2012', 'MM/DD/YYYY') from dual
    12:51:20 SQL> /
    TO_DATE('03/03/2012
    2012-03-03 00:00:00

  • A book for php and oracle

    Hi.I' m working in an application using php for web development and oracle for server database.My question is until now I found many links about this subject also many books about oracle,plsql and many books about php but I can't found a book about php with oracle and plsql.So my question is are there books about php and oracle?
    Thanks in advance thrylos

    I have seen one in my local book shop, not sure about Internet though.

Maybe you are looking for

  • FI Posting Error Balancing field "Profit Center" not filled-Vendor acc

    Dear All,      System has been Configured the emp. loan and insurance deduction to be posted to respective vendor accounts. while making the FI posting system is throwing error like "Balancing field "Profit Center" in line item 001 not filled".   We

  • DBMS_PROFILER

    Hi, I want to tune a package. For tuning I am going to use DBMS_PROFILER. But it requires Sys user privilages. But I dont have permissions to use this. Can anyone help me out How to use DBMS_PROFILER. Why I am using DBMS_PROFILER is, I want to analyz

  • Boot file not changed after XP was removed!!

    I installed XP on my macbook pro but when i removed the XP partition, the boot file was not changed. Every time i restart the computer it boots into the windows partition and tells me that no drive was found. In order to boot in OS X i have to hold t

  • ServerSocket disconnect client

    How can I disconnect a client from ServerSocket? Example code: protected var socket:ServerSocket = new ServerSocket(); [Bindable] // for keeping track of the clients protected var clientSockets:ArrayCollection = new ArrayCollection(); protected var c

  • I keep downloading the adobe download assistant in order to get my download of Photoshop 6, but it d

    I keep trying to download Photoshop 6 after a computer breakdown in which I lost my copy of it, but now it keeps making me first download the download assistant and then won't download photoshop 6.  What can I do?  I've been dependent on Photoshop si