ERROR OF throws IN ODBC PLEASE

hello people, please help me in this code:
THIS A FUNCTION:
public void resultado () throws ClassNotFoundException, SQLException {
String className = "oracle.jdbc.driver.OracleDriver";
String url = "jdbc:oracle:thin:@educacion04:1521:ora92";
String v_Seccion="";
String v_Informe="";
String v_Desc="";
int v_Aplica=0;
String v_AplicaS="";
Class.forName(className);
Connection conn=DriverManager.getConnection(url,"ora1", "oracle");
Statement stmt1 = conn.createStatement();
ResultSet res1 = stmt1.executeQuery("select cod_seccion,cod_informe,desc_seccion,aplica from secciones");
v_Seccion = res1.getString("cod_seccion");
v_Informe = res1.getString("cod_informe");
v_Desc = res1.getString("desc_seccion");
v_Aplica = res1.getInt("aplica");
v_AplicaS.valueOf(v_Aplica);
secciontxt.setText(v_Seccion);
informetxt.setText(v_Informe);
descripciontxt.setText(v_Desc);
aplicatxt.setText(v_AplicaS);
stmt1.close();res1.close();conn.close();
THIS EVENT OD A BUTTON FOR CALL A THE FUNCTION resultado:
private void aceptarBoton_actionPerformed(ActionEvent e)
resultado ();
BUT SEND THIS ERROR:
Error(101,15): unreported exception: java.sql.SQLException; must be caught or declared to be thrown

For goodness' sake:
private void aceptarBoton_actionPerformed(ActionEvent event)
   try  
      resultado();  
   catch (Exception ex)  
      ex.printStackTrace(System.err);  

Similar Messages

  • OLE DB error: OLE DB or ODBC error: %1 is not a valid Win32 application

    Hi,
    I am creating the Cubes with couple of dimensions. My backend is Oracle. I can able to deploy the cube in my local machine which is running 32 Bit Windoes 7 OS. But when I try to deploy the cube in another server which is running Windows 2003 R2 64 bit OS,
    returns "OLE DB error: OLE DB or ODBC error: %1 is not a valid Win32 application" this error. The driver whic I am using to connect the Oracel DB is "Native OLE DB\Oracle Provider for OLE DB". I have also installed the Oracle 10g 32 bit client in my machine.
    Any solution for this issue?
    Thanks,
    Jeen

    Hi Jeen,
    What's the specific version of your SQL Server? Please try to install the latest Service Pack on 64bit box to see if this help.
    How to obtain the latest service pack for SQL Server 2005:
    http://support.microsoft.com/kb/913089
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • B1DiEventService:  ERROR :Connect throw an exception: Host is unknown

    Hi,
    I tried to create an event service. I followed the example of VB code. When I try to connect to the service using following code:
    Function Connect() As Boolean
            Try
                ' Create an instance of B1DIEventsService, Company object as parameter
                evtService = New B1DIEventsService.B1DIEventsService(oCompany)
                'Connect to the service
                evtService.Connect(New B1DIEventsService.B1DIEventsConnectionLostDelegate(AddressOf OnServerShutdown))
                Return True
            Catch ex As B1DIEventsService.B1DIEventsException
                SBO_Application.MessageBox("EVENT_ERROR :" + ex.Message)
            Catch ex As Exception
                SBO_Application.MessageBox("ALG_ERROR :" + ex.Message)
            End Try
            Return False
        End Function
    I get the message EVENT_ERROR :Connect throw an exception. Host is unknown
    I'm using the examples for 2005 SP01 private connections.
    Logfile shows following info:
    TIME;LEVEL;INFO;
    31-5-2007 15:22:26;INFOPLUS;TraceLevel: Warning
    31-5-2007 15:22:26;INFOPLUS;PortNumber: 4334
    31-5-2007 15:22:26;INFOPLUS;KeepAlivePeriod: 2000000
    31-5-2007 15:22:26;INFOPLUS;KeepAliveMax: 12000000
    31-5-2007 15:22:26;INFOPLUS;MaxSizeAction: Replace
    31-5-2007 15:22:26;INFOPLUS;MaxFileSize: 6000000
    31-5-2007 15:22:28;INFOPLUS;Connect to server.
    31-5-2007 15:22:29;INFOPLUS;Client: Reference to server acquired
    31-5-2007 15:22:34;ERROR;Connect throw an exception: <u>Host is onbekend</u>
    The last part (underlined) is dutch and means "Host is unknown."
    Can anyone help please?
    Thanks and Regards,
    Sander

    Hi Sander,
    It seems like the name or adress of the server is unknown for the machine, it cannot connect to it or the server is not running.
    Is your oCompany object initialized and connected to the DI API before creating the B1DIEventsService?
    Have you tried to run client and server side in the same machine to do a small test?
    The problem is at the .NET Remoting interface, it cannot connect to it.
    Regards
    Trinidad.

  • STILL THE SAME: Photoshop installation Error. Need Help! Please.

    I downgraded my vista to Windows XP Professional( 5.1, Build 2600) but  the same error is showing.. Please advice..
    I downloaded a trial copy of the adobe photoshop cs4, but I was  having an error.
    "session has dependencies that cannot be  satisfied"...
    My laptop specs:
    Processor: Intel Dual Core 1.7 GHZ
    Memory:  2.5 gig
    Video card: 256mb Intel GMA 950
    HDD: 80gb
    Please help  me. I really want to try out photoshop before I buy it.

    As I asked in your other thread on this same issue:
    What info is in the Setup log file mentioned in the dialogue box?
    Find and read installation logs for Adobe Creative Suite 3 and 4 products
    http://kb2.adobe.com/cps/400/kb400593.html
    Just follow the link provided above to see where the Setup log file is and what it says. The answers (or the clues to your issue) are in there.

  • When trying to update my CC apps, the update fails. I get this error: Update Failed. There was an error installing this update. Please try again later or connect customer support. This is currently happening for InDesign, Photoshop and Bridge. I had this

    When trying to update my CC apps, the update fails. I get this error: Update Failed. There was an error installing this update. Please try again later or connect customer support. This is currently happening for InDesign, Photoshop and Bridge. I had this problem previous and was able to fix by doing a complete wipe of my computer and reinstalling CC. However, I should not have to wipe my computer clean everytime I need to do a CC update. HELP!

    Hi,
    Please download the updates directly from the link below:
    WIN: All Adobe CC 2014 Updates: The Direct Download Links for Windows | ProDesignTools
    MAC: All Adobe CC 2014 Updates: The Direct Download Links for Mac OS | ProDesignTools
    Regards,
    Sheena

  • HI there, I am having trouble updating my CS5 Master's Collection Suite for at least a month now. I keep gettin this message "There was an error downloading this update. Please quit now and try again later" every time and do not know how to fix it.

    I am having trouble updating my CS5 Master's Collection Suite for at least a month now. I keep getting this message "There was an error downloading this update. Please quit now and try again later" every time and do not know how to fix it.
    Any help will be highly appreciated.
    Thanks a lot in advance.
    Sincerely,
    Uvaldocj@@
    Here is a list of the products I am troubled with:
      Adobe After Effects CS5 10.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Bridge CS5 4.0.5 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Extension Manager CS5 5.0 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Illustrator CS5 15.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe Pixel Bender Toolkit 2.5 Update
    There was an error downloading this update. Please quit and try again later.
      Adobe® InDesign® CS5 7.0.4 update
    There was an error downloading this update. Please quit and try again later.
      Dreamweaver CS5 11.0.4 Updater
    There was an error downloading this update. Please quit and try again later.
      Fireworks CS5 11.0.2 Update
    There was an error downloading this update. Please quit and try again later.
      Photoshop 12.0.4 update for Photoshop CS5
    There was an error downloading this update. Please quit and try again later.
      Photoshop Camera Raw 6.7 Update
    There was an error downloading this update. Please quit and try again later.

    I'm having the same issue. And Dreamweaver now crashes after just a few seconds.

  • When i tried to update my apps in the app store, i coudn't update because of particular error is irritating me whenever i try to update..[There was an error in the app store please try again later.(20)] Any one suggest me to fix this error soon.

    When i tried to update my apps in the app store, i coudn't update because of particular error is irritating me whenever i try to update..[There was an error in the app store please try again later.(20)] Any one suggest me how to fix this error soon.

    Yea i deleted all the apps which was purchased earlier with old Apple id ..and nw i installed all apps with my new apple id...Tanq for helping guys (Linc Davis and Dah•veed ).

  • Error while using XML Iview, please contact your system administrator.

    Hello everybody,
    I have already posted a detailed message for the XML iview problem sometime back but havent got any reply so far. All the replies had come from users who are also facing the same problem. I am trying to use a XML iview for fetching RSS feeds from one of the internet source, i have entered the proper URL and selected the proper RSS to XHTMLB transformer also and have entered the proxy settings in the http service and enabled it and restarted it also, but again when i am previewing the Iview its giving me the error <b>"Error while using XML Iview, please contact your system administrator."</b>. I am using
        Area           Version
        J2EE Engine    6.40 PatchLevel 98256.313
        Portal         6.0.14.0.0
    , can someone tell me whether its a bug in sp14 or i am missing something while creating this XML Iview. Expecting a proper reply.
    Thanks in advance,
    Regards,
    Sarabjeet.

    Hi Sarabjeet,
    The XML iView uses server-side fetching, so if you are having problems with a regular URL iView in server-side fetching mode, so the problem with the XML iVIew probably has to do with the proxy settings.
    And since you got a 407 error, it seems there is an issue with proxy settings or the proxy server, as mentioned in this description of 407 error:
    The HTTP 407 code only applies to users who are accessing the Internet behind a proxy server. This is common in government and corporate workplaces. The 407 code indicates that your computer must first authenticate itself with your company's proxy server. Check with your IT department or computer support group as to the exact reason why you may be getting this error. It may be possible that the proxy server does not allow downloads of specific files (exe, cab, com). You can also verify that your proxy server settings are valid.
    I will check if I can find out any more specific info.
    Daniel

  • Error saving data structure CE11000 (please read log) message number KX 655

    while activating the data structure in the operating concern of CO PA sap gives the following errors.
    1.Error saving data structure CE11000 (please read log)
    Message no. KX655
    2.Error saving table CE01000
    Message no. KX593
    3.in Log Reference field CE31000-REC_WAERS for CE31000-VVQ10001 has incorrect type.
    Pls suggest

    Hey,
    Below tables are related to application logs
    BAL_AMODAL  :                   Application Log: INDX table for amodal communication
    BALC        :                   Application Log: Log or message context            
    BALDAT      :                   Application Log: Log data                          
    BALHANDLE   :                   Application Log: Lock object dummy table           
    BALHDR      :                   Application log: log header                        
    BALHDRP     :                   Application log: log parameter                     
    BAL_INDX    :                   Application Log: INDX tables                       
    BALM        :                   Application log: log message                       
    BALMP       :                   Application log: message parameter                 
    BALOBJ      :                   Application log: objects                           
    BALOBJT     :                   Application log: object texts                      
    BALSUB      :                   Application log: sub-objects                       
    BALSUBT     :                   Application log: Sub-object texts                  
    -Kiran
    *Please mark useful answers

  • I am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page

    i am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page. so i have already tried recovery mode as well.

    Contact Apple support for warranty service.

  • I keep getting the follow error messages when I try to sign into iTunes store or redeem a song code: We could not complete your iTunes store request. The network connection could not be established. There was an error in the iTunes store, please try again

    I keep getting the following error messages on my Mac when I try to redeem a song code: "We could not complete your iTunes store request. The network connection could not be established. There was an error in the iTunes store, please try again later."  and then, "We could not complete your iTunes Store request. An unknown error occurred (-50)."

    Hello, constance132. 
    Thank you for visiting Apple Support Communities. 
    Here are some troubleshooting steps that I could recommend when receiving error -50. 
    "Error -50," "-5000," "8003," "8008," or "-42023"
    These alerts occur due to timeouts or conflicts trying to write a file during download.
    If you encounter this issue while accessing iTunes Store:
    See iTunes 9: "One Moment Please" or "Error (-50)" message when accessing iTunes Store
    If you encounter this issue while while downloading something from the iTunes Store:
    Delete your iTunes Downloads folder, located in:
    Mac OS X:
  ~/Music/iTunes/iTunes Media/Downloads   Note: "iTunes Media" may appear as "iTunes Music. Also, the tilde (~) refers to your Home directory.
    Windows Vista:
  \Users\username\Music\iTunes\iTunes Media\Downloads\
    Windows 7:
  \Users\username\My Music\iTunes\iTunes Media\Downloads\
    Windows XP:
  \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Media\Downloads\
    After locating your iTunes Downloads folder:
    Quit iTunes.
    Delete the Downloads folder on your computer.
    Open iTunes.
    Choose Store > Check for Available Downloads.
    Enter your account name and password.
    If you encounter this issue while while downloading Digital Copies using Windows:
    Use MSCONFIG (directions for Windows XP and Windows Vista/Windows 7) to disable conflicting software.
    If using MSCONFIG steps resolves the issue, you may want to use the System Configuration Utility to turn on the third-party System Services and Startup Items one at a time (restarting your computer after turning on the item or items) to identify which System Service or Startup Item is causing the conflict.
    You can turn all of them back on by selecting the Normal Startup option under the General tab of the System Configuration Utility window, but please note that this may cause the issue to reoccur.
    If you are able to isolate the issue to a particular third-party software, you may wish to contact them to let them know of the conflict.
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Cheers,
    Jason H. 

  • Can not update photoshop keep getting this error Adobe Bridge CS5 4.0.5 Update   There was an error downloading this update. Please quit and try again later.     Adobe Extension Manager CS5 5.0 Update   There was an error downloading this update. Please q

    can not update photoshop keep getting this error
    Adobe Bridge CS5 4.0.5 Update   There was an error downloading this update. Please quit and try again later.   
    Adobe Extension Manager CS5 5.0 Update   There was an error downloading this update. Please quit and try again later.   
    Photoshop 12.0.4 update for Photoshop CS5   There was an error downloading this update. Please quit and try again later.   
    Photoshop Camera Raw 6.7 Update   There was an error downloading this update. Please quit and try again later.
    contacted customer service they could not help me I have previously had Photoshop on two other computers I deactivated it from one computer to put on a new one put. Can not do the updates I need them for camera Raw.
    Please Help

    What operating system are you using?
    You can try searching for, downloading the updates yourself and running the installers:
    Product updates

  • I have the appropriate Adobe Acrobat 9 Standard software and a valid SN for that software; however, am getting an "Invalid Serial Number" error on installation...please help

    I have the appropriate Adobe Acrobat 9 Standard software and a valid SN for that software; however, am getting an "Invalid Serial Number" error on installation...please help

    Hi James ,
    Make sure you are entering the correct serial number.Try it once again and check.
    If it fails please get in touch with Adobe Support.Here is the link for the same.
    https://helpx.adobe.com/adobe-connect/kb/connect-chat-support.html
    Regards
    Sukrit Dhingra

  • Adobe Application Manager indicates updates avail. -- attempts to download result in 'There was an error downloading this update. Please quit and try again later.' - pls advise!

    I have a Windows PC - OS: Win 7 Home Premium, SP1
    I recently had to have my hard drive replaced and, as result, had to reinstall the Adobe products I own: Acrobat 10, Premiere Elements & Photoshop 9
    I assume as part of reinstalling the software the Adobe Application Manager was installed as well - regardless, it indicates 'updates are available' -- however when I open the updater I am receiving the error message:
    'There was an error downloading this update. Please quit and try again later'
    The full message is as follows:
    'Adobe Photoshop Elements 9.0.3 Update
    There was an error downloading this update. Please quit and try again later.
    Photoshop Camera Raw 6.5 Update
    There was an error downloading this update. Please quit and try again later.
    Premiere Elements 9.0.1 Updater
    There was an error downloading this update. Please quit and try again later.'
    Please advise!! thank you kindly
    (secondary problem: whenever I open Elements or Photoshop and I am asked to log in with my Adobe ID, I get the error message 'Error. Photoshop.com services are currently unavailable. Please try again later or check your network connections. Error 400'. Now I know photoshop.com was replaced with Revel - but why is it consistently giving me the same error message? shouldn't it be updated by now or, specifically, is this indicative of a different problem when I attempt to login with my Adobe ID??)
    thank you so much for any help provided!!

    I don't know why you are getting these errors.  Try downloading & installing the updates manually from http://www.adobe.com/downloads/updates.html

  • My iphone 4 with 4.3.3 upgrade to 5.1.1,it said to me I should active it,I buy a active-card but it say 'Your request couldn't be processed.We're sorry, but there was an error processing your request. Please try again later.'  What's wrong with my iphone

    my iphone 4 with 4.3.3 upgrade to 5.1.1,it said to me I should active it,I buy a active-card but it say 'Your request couldn’t be processed.We’re sorry, but there was an error processing your request. Please try again later.'  What's wrong with my iphone

    It sounds a lot like your phone was jailbroken or hacked to unlock it before you updated.
    Was it?

Maybe you are looking for

  • Hard Drive replacement/Preferance's Transfer

    ok, i have 2 internal hard drives one 20GB, will be first listed, and a 60GB, second listed. Disk utilities is detecting my main drive, the 20GB (only one with fully updated 10.3.9) as failing. so i just today installed 10.3 on my 60GB and have not u

  • Streaming from Shared USB storage to Ipad

    Hi Everybody, Is it possible to connect a harddrive to a wifi router such as a netgear r7000 and stream video content to multiple ipad users? Basically the router would need to be a stand alone unit not connected to the internet and solely for stream

  • Print adobe form in ME9A giving different layout

    Hi all, In ME9A to print the Request for Quotation, I seems to get different layout when I click the following: Check the which form to print-> Output Message (a popup box asking to print) ->OK (still giving me old version from layout) Using another

  • Custom Function for Descriptive Flexfield

    Hi Friends, How do I Create Custom Function for Descriptive Flexfield Setups & Create Custom Function for Key Flexfield Setups Thanks a lot

  • Can locate my iPhone on my iPad but no maps are shown

    Since installing IOS8 no maps are showing with my apps