ODBC fails but only from ASP page (12154)

I have a working Win2k/MDAC 2.6 box, that can connect perfectly to an Oracle 8.1.7 on another machine. I can TNS ping this host, I set up an ODBC DSN and I can connect from the Oracle ODBC Test program. I wrote a simple script (see below) to test the connection, and run it as a Windows script (i.e. double click on the file) and it runs perfectly. All is great.
BUT, when I copy the exact same script into an ASP file (surround the script the the "<%" and "%>" delimiters) and run it, I get this:
ORA-12154 TNS could not resolve service name.
Anyone have any ideas why this script fails but ONLY from ASP??
Here is my simple script:
dim rs, conn
set conn = CreateObject("ADODB.Connection")
conn.open "ora817"
Thanks very much,
Marc Fairorth

I am using asp connecting an oracle 8.1.5
Using this :
Set Conn=Server.CreateObject("ADODB.Connection")
Set RS=Server.CreateObject("ADODB.RecordSet")
Conn.Open Connection
RS.open SQL1, Conn
The only difference to your script is the server option
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Marc Fairorth ([email protected]):
I have a working Win2k/MDAC 2.6 box, that can connect perfectly to an Oracle 8.1.7 on another machine. I can TNS ping this host, I set up an ODBC DSN and I can connect from the Oracle ODBC Test program. I wrote a simple script (see below) to test the connection, and run it as a Windows script (i.e. double click on the file) and it runs perfectly. All is great.
BUT, when I copy the exact same script into an ASP file (surround the script the the "<%" and "%>" delimiters) and run it, I get this:
ORA-12154 TNS could not resolve service name.
Anyone have any ideas why this script fails but ONLY from ASP??
Here is my simple script:
dim rs, conn
set conn = CreateObject("ADODB.Connection")
conn.open "ora817"
Thanks very much,
Marc Fairorth<HR></BLOCKQUOTE>
null

Similar Messages

  • When downloading a pdf, the print command show a document in the preview but only prints blank pages

    When downloading a pdf and using the print command, it shows  the correct document in the preview but only prints blank pages.  If I use the save command and try to open with Acrobat 11.0.07, it says it wasn't correctly decoded and can't open it.  If I do the same thing on my old Macbook (10.6.8) all works fine from the same website with the same document.  Any ideas?
    D

    This article maybe help to you, change pdf file type to other application like adobe reader, See:
    * https://support.mozilla.com/en-US/kb/Managing%20file%20types

  • Updated to iOS 7, but only the first page of my app buttons stayed.  How can I get them back?

    I just updated to iOS 7, but only the first page of my app buttons stayed.  How can I get them back?  And how do I show the Apple Music and Weather app- I can find them in spotlight, but there isn't an app button for them.

    Are you sure you don't see them when you swipe to the left?
    I actually had only one icon showing on the second page .... and then all of the rest showed up on pages 3, 4, etc.
    The Apple Music app is a red box with a white note
    Weather app is a blue box with a white cloud and yellow sun
    Did you try resetting or restarting the device?

  • All my email has disappeared from iCloud.  I did not delete it, and now it's working again, but only from 28 August 2013.  What happened to my old emails? How do I get them back? thanks

    All my email has disappeared from iCloud.  I did not delete it, and now it's working again, but only from 28 August 2013.  What happened to my old emails? How do I get them back? thanks

    Have you checked whether the emails are visible at http://icloud.com ? If they are, it's a problem between your Mac and the website; sign out in System Preferences>iCloud and sign back in again.
    If they aren't, then it's a server problem and you need to contact Support. If you currently happen to have AppleCare, either because you recently bought Apple hardware or have paid to extend the inititial period, you can contact them here:
    http://www.apple.com/support/icloud/contact/
    You will need the serial number of the covered hardware.
    If you are not covered by AppleCare, then - in common with other free email services - there is no free support and you may be asked to pay a fee; if so you should argue that this is a problem they've caused (it's not the first time, by the way) and you shouldn't be charged.

  • I am using windows 7 64 bit. when a pdf link is opend from any website the touch pad does not work vertically on websites but only on pdf page but no problem in internet exproler

    oftenly i need to open pdf documents online from diffrent web site but every time touch pad does work properly on pdf page but not on web pages already opened(vertically). i open same files and web pages with internet exproler but fuctioning smooth

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Multi page recordset output from ASP page on Spry Tabbed Panel Widget

    I am using a simple Spry Tabbed panel set on my asp page to show the output from different ASP pages, inside the tabbed panels. The tabbed panels on the page under consideration (destination page) display the output from different asp pages (source pages). The source asp pages generate multi page outputs which are paginated on the source page itself and pagination links are displayed on the source page itself.
    However, we dont want to display the source page outside of the tabbed panel, but instead the output content from the source asp pages should show inside the tabbeed panels only. The first page generated by the source asp page displays correctly inside the tabbed panel. However, when the user clicks on the links for the next page generated by the source asp page, but which is being displayed inside the destination page tabbed panel, they dont display the next page inside the tabbed panel. Instead the source asp page displays the output outside the tabbed panel destination  page.
    Please advise on how to ensure that the user can page through the recordset generated by the source asp page by clicking on the pagination links at the bottom of the records, while ensuring that the output displays within the tabbed panels on the destination asp page.
    I am enclosing the source code being used to generate the spry tabbed panel widget and also updating it with the output from the source asp page. In this case, the code given below is from the main page containing the widget and the source asp page is "sample.asp", which generates multi page output.
    Please note that I am not too keen on using xml data sets output from the source asp page, but would be more comfortable with directly using the asp pages to fill the tabbed panel content.
    Please help
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script language="javascript" src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="/SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="/SpryAssets/SpryData.js" type="text/javascript"></script>
    <link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0" onclick="Spry.Utils.updateContent('two','sample.asp?page=' <%=i%>); Spry.Data.initRegions();" >Tab 1</li>
           <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div id=two class="TabbedPanelsContent">Content 1</div>
        <div class="TabbedPanelsContent">Content 2</div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    </body>

    I fully agree that the problem does not lie with tthe tabbed panels.
    The solution would probably be first required to be tried using ajax on any div tab.
    Then the same code would have to be used on Sprytabbed panel. Hence, the following may be advised:
    1. Sample code for server side pagination and displaying inside any div tag and refreshing it using ajax. the update link would also lie inside the div tag which would show the next/ previous page without reloading the page.
    2. Then adapting the refresh technique using ajax in the Spry Tabbed panel using the inbuilt updatecontent method of the Spry Tabbed panels.
    In order to achieve the above, I am getting the recordset output in the tab content as expected. The recordset is also getting the pagination links from server side asp as required.
    However, it is also generating the following error.
    Webpage error details
    Message: Unterminated string constant
    Line: 9
    Char: 56
    Code: 0
    URI: http://localhost/test/test5.asp
    The sourcecode is as given below. If you can help with the error indicated above, my problem would probably get solved.
    <html><head>
    <title>Untitled Document</title>
    <link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
    <script src="/SpryAssets/SpryURLUtils.js" type="text/javascript"></script>
    <script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="/SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="/SpryAssets/xPath.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0" onclick="Spry.Utils.updateContent('one','untitled-5.asp');">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0" >Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div id=one class="TabbedPanelsContent">Content 1</div>
        <div id ="two" class="TabbedPanelsContent">Content 2</div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    </script>
    </body>
    </html>

  • SOAP Response From ASP Page gives Exceptions-Why ?

    Hi Friends,
    I am trying to call an ASP Page by sending it a SOAP Request.
    The SOAP Request reaches the ASP Page but still i am getting lot of
    exceptions.This is my code from Request.java
    import javax.xml.soap.*;
    import java.util.*;
    import java.net.URL;
    public class Request {
    public static void main(String[] args) {
    try {
    SOAPConnectionFactory scFactory =
    SOAPConnectionFactory.newInstance();
    SOAPConnection con = scFactory.createConnection();
    MessageFactory factory =
    MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage();
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPHeader header = envelope.getHeader();
    SOAPBody body = envelope.getBody();
    header.detachNode();
    Name bodyName = envelope.createName(
    "TestDtls", "m",
    "urn:myserver/soap:TestThis");
    SOAPBodyElement gltp =
    body.addBodyElement(bodyName);
    Name name = envelope.createName("PhoneOrigin");
    SOAPElement symbol = gltp.addChildElement(name);
    symbol.addTextNode("0672324228");
    URL endpoint = new URL
    ("http://john/myservices/testsoap.asp");
         message.writeTo(System.out);
    SOAPMessage response = con.call(message, endpoint);
         response.writeTo(System.out);
    SOAPPart sp = response.getSOAPPart();
    SOAPEnvelope se = sp.getEnvelope();
    SOAPBody sb = se.getBody();
    Iterator it = sb.getChildElements(bodyName);
    SOAPBodyElement bodyElement =
    (SOAPBodyElement)it.next();
    String myvalue = bodyElement.getValue();
    System.out.print("The Value Retrived is ");
    System.out.println(myvalue);
         con.close();
    } catch (Exception ex) {
         System.out.println(ex);
    This is what i have in my ASP Page: testsoap.asp
    <%
    Set objReq = Server.CreateObject("Microsoft.XMLDOM")
    objReq.load(Request)
    strmycode = "SOAP-ENV:Envelope/SOAP-ENV:Body/m:TestDtls/PhoneOrigin"
    varPhoneOrigin=objReq.SelectSingleNode(strmycode).text
    status="ok"
    strReturn = "<SOAP-ENV:Envelope xmlns:SOAP=""urn:schemas-xmlsoap-org:soap.v1"">" & _
    "<SOAP-ENV:Header></SOAP-ENV:Header>" & _
         "<SOAP-ENV:Body>" & _
              "<m:TestDtlsResponse xmlns:m=""urn:myserver/soap:TestThis"">" & _
         "<PhoneStatus>" & Status & "</PhoneStatus>" & _
         "</m:TestDtlsResponse>" & _
         "</SOAP-ENV:Body>" & _
                        "</SOAP-ENV:Envelope>"
    Response.Write strReturn
    %>
    The Exceptions i get are as follows:
    =====================================
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><S
    OAP-ENV:Body><m:TestDtls xmlns:m="urn:myserver/soap:TestThis"><PhoneOrigin>"0672
    324228"</PhoneOrigin></m:TestDtls></SOAP-ENV:Body></SOAP-ENV:Envelope>Jul 11, 20
    03 6:37:35 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a S
    OAP message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Jul 11, 2003 6:37:35 PM com.sun.xml.messaging.saaj.soap.MessageImpl <init>
    SEVERE: SAAJ0535: Unable to internalize message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:2
    02)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
    xt/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    ... 7 more
    CAUSE:
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    CAUSE:
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptio
    nImpl: Unable to internalize message
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize m
    essage
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:2
    02)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    ... 3 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
    xt/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    ... 7 more
    Actually,i need to see the response in XML format as per my program.
    But,What does all this stuff mean ? I have using latest jwsdp 1.2.
    Can Anyone Help me on this ?

    i have the same problem. when i make a test with a VB client, the SOAP message is builded this way "<SOAP.... instead of <SOAP-ENV.... tag generated by java. When a make a test in vb client using this syntax (SOAP-ENV), the asp page returns a error:
    <font face="Arial" size=2>
    <p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01a8'</font>
    <p>
    <font face="Arial" size=2>Object required: 'objXMLDOM.selectSingleNode(...)'</font>
    <p>
    <font face="Arial" size=2>/rcruz/soap/vbSoap/simplesoap.asp</font><font face="Arial" size=2>, line 6</font>
    Anyone have a idea???
    Thanks

  • Moving Dynamic data from asp page to word doc

    I am trying to acquire data from a user using an asp page,
    then when the user is done entering his/her data, the submit button
    is pressed and the data will go to a formatted word doc or a pdf
    file. I am using dreamweaver version 8.0. Is there a quick way to
    do this? Does dreamweaver need an addin to be able to this or is
    there code that can be used to do this?

    It is not DW that needs the addon but the server that the
    site is running
    on. There are quite a number of components for writing
    documents or PDF's. I
    would check with you host if they have any available.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "mmflynn" <[email protected]> wrote in
    message
    news:et75ps$8gr$[email protected]..
    >I am trying to acquire data from a user using an asp
    page, then when the
    >user
    > is done entering his/her data, the submit button is
    pressed and the data
    > will
    > go to a formatted word doc or a pdf file. I am using
    dreamweaver version
    > 8.0.
    > Is there a quick way to do this? Does dreamweaver need
    an addin to be
    > able to
    > this or is there code that can be used to do this?
    >

  • Editable text box on each page, but generated from Master Page?

    I want to create a blank text box that lives on the Master Page so that it shows up on each page in the document, but I then would enter custom text into the field on each page ( or just leave it blank).
    I know, I know, I can do simply copy a text box from one page, and paste in place on all subsequent pages... or set it up once on a page, then just keep duplicating that page... or some other work around. But simple as those work arounds are, I'd just like a blank text box show up automatically on each page as a master page item, then I can enter text as a see fit and not have to do any duplicating tricks. I've looked up a few tutorials, but none solve for my need.
    So I guess the real question is, does InDesign allow the content of a master page text field to be individually edited on the pages of the document itself?

    It's bet to NEVER use the override master page items command since it overrides ALL master items. That's like using a wrecking ball as a flyswatter. And you don't need to put random text in the frame either (especially since you said you don't want to use it on some pages, though it might be best for those if you create another master without the frame). To override any master object hold Cmd (Mac) or Ctrl (Windows) + Shift and click on it with the selection tool.

  • Procedure runs from 9i odbc drivers but not from 10g.

    Hi
    i have a old vc++ application which calls a stored procedure.
    This application has been in use for a long time.
    earlier the Database server and client were both oracle 9i.
    now we moved the server and some of the clients to 10g.
    The application still works from machine with 9i clients (with older odbc drivers)
    but from machines with 10g client (with newer odbc drivers) i get the following error.
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    ( ) - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table avg count current exists max min prior sql stddev sum
    i also get:
    [Oracle][ODBC][Ora]ORA-06550: line 1, column 16
    The procedure has three parameters which it recieves as type NUMBER:
    CREATE OR REPLACE PROCEDURE "TEST"."MYPROCNAME"
    (prm1 NUMBER, prm2 NUMBER, prm3 NUMBER)
    AS
    /*...body of the procedure...*/
    The process flow in application code (vc++) goes something like this:
    SQLBindParameter(handelToSTMT,1, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm1, 0, NULL);
    SQLBindParameter(handelToSTMT,2, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm2, 0, NULL);
    SQLBindParameter(handelToSTMT,3, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm3, 0, NULL);
    SQLPrepare(handelToSTMT,"{call myProcName(?, ?, ?)}",SQL_NTS);
    SQLExecute(handelToSTMT);
    Is ther some change in how 10g odbc parameter bindings work?
    Can it be possible to change the procedure to compensate for that?
    (somehow i can't get the formatiing right, even after multiple edits)

    This is your post should look like -
    Hi i have a old vc++ application which calls a stored procedure. This application has been in use for a long time. earlier the Database server and client were both oracle 9i. now we moved the server and some of the clients to 10g. The application still works from machine with 9i clients (with older odbc drivers) but from machines with 10g client (with newer odbc drivers) i get the following error. PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: ( ) - + case mod new not null others <an identifier> table avg count current exists max min prior sql stddev sum i also get: [Oracle][ODBC][Ora]ORA-06550: line 1, column 16 The procedure has three parameters which it recieves as type NUMBER:
    CREATE OR REPLACE PROCEDURE "TEST"."MYPROCNAME" (prm1 NUMBER, prm2 NUMBER, prm3 NUMBER)
    AS /*...body of the procedure...*/ The process flow in application code (vc++) goes something like this:
    SQLBindParameter(handelToSTMT,1, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm1, 0, NULL);
    SQLBindParameter(handelToSTMT,2, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm2, 0, NULL);
    SQLBindParameter(handelToSTMT,3, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm3, 0, NULL);
    SQLPrepare(handelToSTMT,"{call myProcName(?, ?, ?)}",SQL_NTS);
    SQLExecute(handelToSTMT);Is ther some change in how 10g odbc parameter bindings work? Can it be possible to change the procedure to compensate for that?
    -hope this will help all the user to go through your script.
    Regards.
    Satyaki De.

  • Hp 6510 prints fine from laptop but only prints blank pages from ipad

    Printer prints fine from my laptop but will only spit out blank pages from my ipad.  It used to print fine from the ipad.

    RESOLVED!!!!
    I called HP regarding this issue, and was connected with a very nice woman out of India, Lola, who resolved the problem for both my Google Nexus 7 tablet running android 4.4.4 and also my iphone 5s.  Its the printer, and its wi-fi connection, along with the app.
    Here were the steps to resolve:
    1. Make absolutely sure you dont have a cable going into your printer from your router or modem.  Then make sure your connected to wi-fi if on your printer if you did.  (If you had a cable connected, re-run the wi-fi setup wizard for your printer, preferably on the printer itself, not your computer.
    2. Sounds crazy, but verify your wi-fi is actually on.  Click on the wi-fi button on your printer, and you should also have a light that signals your wi -fi is actually connected (at least on the Officejet 6700 that I am using, it does).
    3. Make sure you still have HP Eprint on your phone and/or tablet.  Check that you have your settings correct in your HP Eprint setup options, including the email address you want to use for your account.  If you don't, you will need to enter it, then click activate on HP Eprint.  It will send you a code via email. Copy/paste the code into the HP Eprint setup.
    4. Once you're sure you have your printer re-connected to wi-fi correctly, and no cables attached; resart your printer, and re-start your phone/tablet.  Once everything has re-booted its time to test....
    5. Test Printing: First test printing drictly from HP Eprint's app, selecting a file... then test using a webpage from your browser, to ensure its running correctly through Airprint (which is best, secondary is Google Cloud Print).
    If you are still having trouble, re-boot everything again, double check your wi-fi on your printer, and that you have your settings correct in your HP Eprint from above.  If that doesn't work for you, call HP at (855) 785-2777 and select HP EPrint for assistance.
    Good Luck & Happy Printing!

  • FaxSTF fails to send - but only from my main user account!

    I bought FaxSTF in version 6 for OS 9, and version 10.5.3 for OS X. My woes with it in OS X are not so much of the kind that I've read while searching this area for answers; they are rather peculiar, and I suspect FaxSTF might not even be at fault (though I can't be sure). For what it's worth, let me also state up front that under OS 9 it worked almost rock-solidly. It was very, very versatile and amazingly reliable. Not so much in OS X; versatility and reliability are out the window. I'll explain:
    In my main user account ('alex', admin account) no matter which application I try to fax from, when I click on the blue throbbing 'Fax' button, it stops throbbing and becomes grey and nothing else happens. I can only dismiss the print dialog by clicking on 'Cancel'. There is nothing I have tried which can change this behavior.
    Things are better, though, in secondary, standard or admin user accounts on the same machines. From them, I can fax things with no problem whatsoever.
    This is the second powerbook on which this is happening: the other one is my TiBook 550MHz running Tiger, also. What it's meant basically is that when I need to send a fax, I have to:
    •save my document in a directory accessible by my other, secondary, accounts, then
    •use Fast User Switching (thank goodness for that) and through my other account ...
    •open the document (usually a PDF by now, so I only have to use Preview which loads fast enough) and
    •enter the fax number manually (since my Address Book database is not accessible by the secondary account) and click on Fax.
    Of course, if I need to keep track of sent faxes, I then have the additional step of exporting the fax into Fax format from FaxSTF from the secondary account, then over at my main account go into FaxSTF and import it for my records.
    Not so practical...
    Thankfully, FaxSTF is fine when receiving faxes while logged in my main account.
    I was hoping that some useful hints/help will be available through the Discussion Area, as opposed to SmithMicro customer support; they take up to months to reply to an incident posted on their web-driven database, and when they do, their responses are almost meaningless most of the time, assuring me that my problem is not really happening, and reminding me of the correct procedure for doing things (it's the very procedure that doesn't work with me, but often times they haven't even read/understood my incident post in the first place. Very polite people, though; I'll give them that!)
    As always, thanks in advance, people.

    I would look into if the ports the smtp is using are open at all
    if they are closed over 3g then it should work over wifi unles your wifi router block them too
    and of cause if you set the wrong encryption or some of the other smtp settings then that too would
    explain it

  • Link to Content Area from ASP page brings up default page

    I have a link on an ASP to the content area. When the user clicks on the link, he/she is required by the portal to provide their username/password. After entering the correct information, the users are displayed their default page NOT taken to the content area.
    Any ideas?

    Unfortunately, the only way to do this would be to not show the sub-folder region and add URL items in another region that link to the folder page in question.

  • Four pages of apps in iTunes, but only first two pages visible on iPhone!

    If I connect my iPhone 4 to my notebook and launch iTunes, I can see four pages of apps on my phone - two pages, then a blank page, then a further two pages.
    However, looking at the phone itself, only the first two pages are visible (and only two little dots at the bottom of the home page).
    I can shuffle the apps around in iTunes without any difficulty, but when I press 'apply' the sync ends with everything back as it was in the first place.
    iOS and iTunes both up-to-date, rebooting and soft reset doesn't fix.
    Hope someone can help!
    Thanks

    We are having the same problem. Any updates?

  • Multiple master pages, But only first master page is printed or is shown in pdf preview.

    Hi,
    I have 8 master pages in my adobe form, But when I see the PDF preview or print only the first master page is shown or printed. Can anyone please tell me how to print or pdf preview all the master pages. The contents in the master pages are different.
    Thanks in advance.

    Master pages are used a background for body pages (similar to a background image).
    You should put all your contents on separate body pages instead master pages.

Maybe you are looking for

  • PowerPoint 2007 Notes Pages to PDF = low quality

    We're battling a problem here where, when printing a presentation's notes pages from PowerPoint 2007 to PDF, the result has very jagged, low quality font edges. However when printing the same presentation from PowerPoint 2003, the fonts are smooth an

  • Importing using USB/Firewire

    I am aware you cannot import into iMovie via. USB with macs. I have alot of footage on a Panasonic mini-DV camcorder which only has a USB output. Is there any solution for importing my footage onto my mac with this set up (i.e. freeware which uploads

  • Adding Canvas to JScrollPane

    I'm trying to add a Canvas to a JScrollPane, but it always seems to show the ENTIRE canvas instead of just a scrollable portion of it. I've read about and tried examples using methods such as 'setPreferredSize' for both the scroll pane and it's conta

  • SQL error during CMP bean deployment

    Hi, the following exception occures when I deploy a CMP bean to a remote OC4J server (it works fine when I use the internal OC4J process of JDeveloper using the same JDBC connection): Auto-unpacking E:\Apps\OC4J\j2ee\home\applications\statful.ear...

  • I have downloaded firefox. while running the software i have got an error as "software corrupt".what is the problem i am facing?

    i have downloaded firefox. while running the software i have got an error as "software corrupt".what is the problem i am facing?