JavaDB or Toplink not recognizing named parameters?

Creating a query within a session bean but the named parameter is causing an exception. Using Derby with Toplink in the Sun App Server 9.0_01. Any ideas what the problem or solution is?
    public String getNumberOfInvoices(String supplierAccount) {
        String suppAcc = "";
        Query qry = em.createNativeQuery(
                "select count(d) from App.Documents as d " +
                "where d.PERSONALACCOUNT = :suppAcc;");
        qry.setParameter("suppAcc", supplierAccount);
        Long count = (Long) qry.getSingleResult();
        return Long.toString(count);
[#|2007-09-22T23:41:09.271+0100|WARNING|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/Sun/SDK/domains/domain1/applications/j2ee-apps/Accounting/Accounting-ejb_jar/-Accounting-ejbPU|_ThreadID=16;_ThreadName=httpWorkerThread-8080-1;_RequestID=4ffb3c50-34f3-42cf-a00b-26e93a0f8ed6;|
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: Syntax error: Encountered ":" at line 1, column 67.Error Code: -1
Call:select count(d) from App.Documents as d where d.PERSONALACCOUNT = :suppAcc;
Query:DataReadQuery()
     at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:303)
     at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:551)
     at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
     at oracle.toplink.essentials.threetier.ServerSession.executeCall(ServerSession.java:465)
     at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
     at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)

This seems to have resolved the problem to a degree. I am not sure why
numeric parameters are accepted but named one are not. I don't know. I can do named parameters with Hibernate. I don't know TopLink.
You understand that "named query" is different from "query with named parameters", right? You seem to want the latter, not the former. Maybe you're reading the wrong docs.
I have also
changed from count(d) to count(*). Is this because I am using EJB Query
Language but createNativeQuery is plain JDBC?
If you're counting all the rows in a table, it would be count(*). If you want to only count certain rows, it'd be a GROUP BY and HAVING.
Any way the error is now saying:-
Caused by: java.lang.ClassCastException: java.util.Vector cannot be cast
to java.lang.Long
This is pretty clear. You're assuming that the method returns a Long and it's telling you that it returns a Vector. It should only have size 1, and you should get the zeroth index value out of it.
%

Similar Messages

  • NOT Using Named Parameters in a Native Query

    Hi!
    like it is written in the Toplink JPA Extensions reference Toplink supports using named parameters in native queries.
    See example from http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html:
    Example 1-11 Specifying a Named Parameter With #
    Query queryEmployees = entityManager.createNativeQuery(
    "SELECT OBJECT(emp) FROM Employee emp WHERE emp.firstName = #firstname"
    queryEmployeeByFirstName.setParameter("firstName", "Joan");
    Collection employees = queryEmployees.getResultList();
    But I want to use "#" in the SQL statement so I want to disable this parameter binding somehow and let the query just execute the SELECT statement I deliver.
    I have tried to add the property
    <property name="toplink.jdbc.bind-parameters" value="false"/>
    into the persistence.xml and I have also tried to add the query hint
    query.setHint(TopLinkQueryHints.BIND_PARAMETERS, HintValues.FALSE);
    but none of them prevents the # to be uses as a paramter. this causes the exception:
    Exception [TOPLINK-6132] (Oracle TopLink Essentials - 9.1 (Build b22)): oracle.toplink.essentials.exceptions.QueryException
    Exception Description: Query argument ######' not found in list of parameters provided during query execution.
    Query: ReadAllQuery(de.merck.compas.material.SimilarLocalMaterialListItemBV)
    The SQL Statement is
    SELECT * FROM TABLE (
    CAST ( RCGC.PHA_P_COMPASMDM.LookupSimilarMats
    ( 'COC003','10021500150000000997','30','30','040','standard','','001001','001001','123456','##########','X','X','X','X','U' )
    AS RCGC.PHA_COMPAS_SIMILAR_MATS ) )
    I am using the latest Toplink essentials build together with an Oracle 9.2i DB in a Java SE web application.
    Can anyone give me a little hint what to do?
    Thanks and best regards,
    Alex

    I hope this is what you need:
    [TopLink Fine]: 2007.01.19 02:56:48.278--ServerSession(17712783)--Connection(723185)--Thread(Thread[http-8080-Processor2
    3,5,main])--SELECT APPL_CGP_MATLOC, CHANGE_REQ_MATLOC, CD_PHA_MAT_LOC, LCOMP, LOC_MAT_NAME, APPL_GDM_MATLOC, LOC_MAT_NAM
    E_SHORT, APPL_PDW_MATLOC, PHA_MAT_LOC_LCOMMENT, APPL_TP_MATLOC, DIVISION, APPL_WRS_MATLOC, ARTICLE_ID_MDA, LU_PHA_MAT_LO
    C, LOC_MAT_NAME_OLD, LDT_PHA_MAT_LOC, PHA_MAT_LOC_STATUS, CU_PHA_MAT_LOC, MAT_LOC_ID, RCOMP, MAT_ID FROM RCGC.PHA_V_COMP
    AS_MAT_MATLOC WHERE ((MAT_LOC_ID = '123456') AND (RCOMP = '001001'))
    [TopLink Fine]: 2007.01.19 02:56:48.398--ServerSession(17712783)--Connection(32404901)--Thread(Thread[http-8080-Processo
    r23,5,main])--SELECT MAT_ID, DESCRIPTION, PHA_MATERIAL_LCOMMENT, PACKSIZE, LU_PHA_MATERIAL, PACKSIZE_UNIT, LDT_PHA_MATER
    IAL, CONTAINER_NAME, CU_PHA_MATERIAL, PURPOSE, CD_PHA_MATERIAL, CONTENT, CONTAINER_ID, AI_FACTOR, PHA_MATERIAL_STATUS, C
    MG_SPEC_APP, PROD_LEVEL, PACKAGE_SIZE, PRODUCT_ID FROM RCGC.PHA_V_COMPAS_MATERIAL WHERE (MAT_ID = '10021500150000000997'
    [TopLink Fine]: 2007.01.19 02:56:48.468--ServerSession(17712783)--Connection(723185)--Thread(Thread[http-8080-Processor2
    3,5,main])--SELECT PRODUCT_ID, PROD_GRP_ID, APPL_FORM_NAME, PRODUCT_NAME, GALENIC_FORM_NAME, APPL_FORM_ID, PHA_PRODUCT_S
    TATUS, PHA_PRODUCT_LCOMMENT, GALENIC_FORM_ID, LU_PHA_PRODUCT, INN, LDT_PHA_PRODUCT FROM RCGC.PHA_V_COMPAS_PRODUCT WHERE
    (PRODUCT_ID = 'COC003')
    [TopLink Fine]: 2007.01.19 02:56:48.568--ServerSession(17712783)--Connection(32404901)--Thread(Thread[http-8080-Processo
    r23,5,main])--SELECT APPL_CGP_MATLOC, CHANGE_REQ_MATLOC, CD_PHA_MAT_LOC, LCOMP, LOC_MAT_NAME, APPL_GDM_MATLOC, LOC_MAT_N
    AME_SHORT, APPL_PDW_MATLOC, PHA_MAT_LOC_LCOMMENT, APPL_TP_MATLOC, DIVISION, APPL_WRS_MATLOC, ARTICLE_ID_MDA, LU_PHA_MAT_
    LOC, LOC_MAT_NAME_OLD, LDT_PHA_MAT_LOC, PHA_MAT_LOC_STATUS, CU_PHA_MAT_LOC, MAT_LOC_ID, RCOMP, MAT_ID FROM RCGC.PHA_V_CO
    MPAS_MAT_MATLOC WHERE (MAT_ID = '10021500150000000997')
    [TopLink Warning]: 2007.01.19 02:56:48.638--UnitOfWork(4469532)--Thread(Thread[http-8080-Processor23,5,main])--Exception
    [TOPLINK-6132] (Oracle TopLink Essentials - 9.1 (Build b22)): oracle.toplink.essentials.exceptions.QueryException
    Exception Description: Query argument ######' not found in list of parameters provided during query execution.
    Query: ReadAllQuery(de.merck.compas.material.SimilarLocalMaterialListItemBV)
    Local Exception Stack:
    Exception [TOPLINK-6132] (Oracle TopLink Essentials - 9.1 (Build b22)): oracle.toplink.essentials.exceptions.QueryExcept
    ion
    Exception Description: Query argument ######' not found in list of parameters provided during query execution.
    Query: ReadAllQuery(de.merck.compas.material.SimilarLocalMaterialListItemBV)
    at oracle.toplink.essentials.exceptions.QueryException.namedArgumentNotFoundInQueryParameters(QueryException.jav
    a:206)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceCall.getValueForInParameter(DatasourceCall.java:6
    86)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceCall.getValueForInOutParameter(DatasourceCall.jav
    a:704)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceCall.translateQueryString(DatasourceCall.java:630
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseCall.translate(DatabaseCall.java:850)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQuer
    yMechanism.java:212)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQuer
    yMechanism.java:199)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCa
    llQueryMechanism.java:270)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQu
    eryMechanism.java:600)
    at oracle.toplink.essentials.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:302)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:
    709)
    at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:677)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:7
    31)
    at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2218)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:937)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:909)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:346)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getResultList(EJBQueryImpl.java:447)
    at de.merck.compas.material.SimilarLocalMaterialListItemBC.selectList(SimilarLocalMaterialListItemBC.java:40)
    at de.merck.compas.material.SimilarLocalMaterialListItemBC.selectSimilar(SimilarLocalMaterialListItemBC.java:53)
    at de.merck.compas.material.MaterialMaintainFS.init(MaterialMaintainFS.java:158)
    at de.merck.compas.material.MaterialListSV.startMaterialMaintain(MaterialListSV.java:186)
    at de.merck.compas.material.MaterialListSV.processPage(MaterialListSV.java:97)
    at de.merck.jsfw.servletFramework.AbstractServlet.processPage(AbstractServlet.java:141)
    at de.merck.jsfw.servletFramework.ControllerServlet.processLastPage(ControllerServlet.java:240)
    at de.merck.jsfw.servletFramework.ControllerServlet.processRequest(ControllerServlet.java:206)
    at de.merck.jsfw.servletFramework.ControllerServlet.doGet(ControllerServlet.java:181)
    at de.merck.jsfw.servletFramework.ControllerServlet.doPost(ControllerServlet.java:191)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at de.merck.comp.ntml.NTLMFilter.negotiate(NTLMFilter.java:384)
    at de.merck.comp.ntml.NTLMFilter.doFilter(NTLMFilter.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
    :664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    The Toplink manifest file with version number:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_09-b03 (Sun Microsystems Inc.)
    Specification-Title: Java Persistence API
    Specification-Vendor: Sun Microsystems, Inc., Oracle Corp.
    Specification-Version: 1.0
    Implementation-Title: TopLink Essentials
    Implementation-Vendor: Sun Microsystems, Inc., Oracle Corp.
    Implementation-Version: 9.1 build: b22
    Thanks again for your help!

  • Native TopLink named query with named parameters

    Hello,
    Defining my metadata in native TopLink xml and using the native TopLink's Session interface I can access and successfully execute a named query using positional parameters (parameters passed to match the ?1 ?2 etc). I used for this the Session.executeQuery(String, Class, List) method e.g.
    select p from Person p where p.name = ?1
    Now, how can I get the same Session to execute named queries using named parameters? None of the Session.executeQuery methods seem suitable ... Am I missing anything here? e.g.
    select p from Person p where p.age = :age
    I can't find in Session http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/b13698/oracle/toplink/sessions/Session.html a good match for this use-case. I would expect something like:
    Session.executeQuery(String queryName, Class target, List argNames, List argValues)
    or
    Session.executeQuery(String queryName, Class target, Map argsKeyedByName)
    but can't find any good match, can anyone please enlighten me?
    Thanks in advance,
    Best regards,
    Giovanni

    Hello Chris,
    Many thanks for your response. I am sorry if I did not explain my problem properly.
    Suppose I already defined a named query in the metadata XXXProject.xml using the <opm:querying ... this JPQL named query "customFinder" already exists and would look something like:
    select p from Person p where p.firstname=:firstname and p.lastname=:lastname and p.birthdate=:birthdate
    now say you want to execute this query from the Session:
    Vector args = new Vector();
    // how do you know the order? you shouldn't know the order!
    // you know only the parameter names and that's what I mean
    // about named parameters
    // This args setup is wrong ... I need a way to specify to which
    // parameter name each argument corresponds to. In other words
    // if the named query where criteria order of parameters is modified
    // perhaps because of pruning composite keys etc you won't break the
    // existing code ...
    args.add(new Date());
    args.add("Azua");
    args.add("Giovanni");
    Session session = ...
    session.executeQuery("customFinder", Person.class, args);
    JPA supports both type of queries positional parameters and named parameters. Your explanation above is only for the first, my question refers to the later.
    I have not yet found the api for this ... though I am investigating along the lines of:
    Query query = session.getQuery("customFinder");
    and then try to assign the arguments in the same order that the parameters are defined in query or?
    Thanks in advance,
    Best regards,
    Giovanni
    Edited by: bravegag on 29.05.2009 08:06

  • IPad air not recognized in Windows 7: Error: \SYSTEM\CurrentControlSet\Services\Bonjour Service\Parameters. Verify that you have sufficient access to that key, or contact your support personnel.

    Hello everyone.. I recently bought iPad air and I am trying to connect it to my windows 7 notebook. And so I am trying to install itunes in windows 7. But I keep on getting the error message:
    "\SYSTEM\CurrentControlSet\Services\Bonjour Service\Parameters. Verify that you have sufficient access to that key, or contact your support personnel."
    I already did this: http://blogs.msdn.com/b/astebner/archive/2006/09/04/739820.aspx that was given in this thread:
    https://discussions.apple.com/thread/1558225?tstart=0
    But unfortunately I still get the error message during installation. If I ignore that and continue installation, iTunes is installed and seems to work. But my windows does not recognize my iPad. I read somewhere that iPad driver is in iTunes.
    Please help... thank you very much.

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: iTunes can’t contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    iOS: “Not enough free space” alert when trying to sync
    http://support.apple.com/kb/ts1503
    You may need to delete iTunes on your computer and then reinstall.
    How To Completely Uninstall and Remove All Traces of iTunes
    http://zardozz.com/zz/2008/04/how-to-completely-uninstall-and-remove-all-traces- of-itunes.html/
     Cheers, Tom

  • Native app - Invalid number of parameters, java.exe is not recognized as an internal or external...

    Compilation complete.
    Patching package name...
    Patching version information...
    Patching app name...
    Updating the Android app project...
    [Path to Android project]>android update project --name "EmployeeCare2" --target 1 --path .
    Invalid number of parameters
    '"C:\Windows\system32\java.exe "' is not recognized as an internal or external command,
    operable program or batch file.

    Fixed it. I mean I got it to generate the app, I wouldn't call it fixed. This is one of those cases where I'm convinced that I am the only person who is using a particular feature because it doesn't seem like this would have ever worked for anyone.
    Open C:\Program Files (x86)\Adobe\Adobe RoboHelp 11\RoboHTML\MultiscreenExt\NativeApps\Android\UpdateApp.bat.
    Turn echo back on.
    Run the script to generate a native app.
    Check the output window when it fails. This line >SET PATH="C:\Program Files\Java\jdk1.7.0_51\"bin; should be >SET PATH=C:\Program Files\Java\jdk1.7.0_51\bin; no quotes around the path before bin.
    Back in UpdateApp.bat: I hardcoded SET PATH=C:\Program Files\Java\jdk1.7.0_51\bin;%3;%PATH%.
    When I run the script again, I get a different error. I cleared the output window, so I don't remember what it was.
    Delete everything in the output folder, run the script again.
    I haven't tested the app, but it says and looks like it was generated.

  • CIM installer - domain user account parameters not recognized

    I'm trying to install a Cisco Interaction (Eim-Wim) but i have a problem. during a step installation, I can't authenticate the user. I tried some options, but not recognized by installation program. I tried with domain user and local admin, but not work. The lab is in domain and a single server. Help me.

    Hi,
    Please refer the below discisson on the same topic,
    http://pdirequest.egain.com:8080/community/posts/list/66.page
    Hope it helps,
    Anand
    Please rate helpful posts..

  • IPod nano does not charge & is not recognized by computer or iTunes

    I have a 1st generation nano 1 GIG.
    It appears "dead."
    It is not recognized by My Computer, iTunes or the Ipod Updater (The updater asks that I connect the iPod, which I do). The iPod diagnostics through iTunes also reports that my iPod is not connected.
    I have tried my iPod on 4 different machines, with one of them having USB 2.0.
    I tried the following from Jeff Bryan. (I don't know if the links from his post have carried over into this post.) So I will list the things I have tried near the end of this post.
    - My iPod won't turn on.
    - iPod battery doesn't charge.
    - iTunes 7 doesn't recognize the iPod.
    - Your Windows PC doesn't recognize iPod.
    - iPod appears in Windows Explorer but does not appear in iTunes.
    - iPod does not appear in iTunes.
    - Fast user switching in Windows XP is not supported.
    I tried resetting my iPod by switching the Hold button on and off and then pressing Menu and the Select button for 6-10 seconds. I have done this over and over and over.
    I have uninstalled the latest iTunes, reboot, reinstall - same problem.
    I have stopped the iPod service, plugged in the iPod, but it isn't recognized by My Computer as stated in the Apple Do-It-Yourself Help. I launched iTunes - same problem.
    I used the window cleanup utility, reboot, reinstall iTunes, connect iPod - same problem.
    I have used the Windows ipconfig utility to change my boot parameters, but still nothing.
    If anyone has any ideas, I would greatly appreciate them.
    My iPod is just shy of 6 months.
    I do have a replacement contract with Best Buy - but I would like to cover all the bases before I succumb to defeat.
    Thanks
    XP Home with USB 1.1   Windows XP   4 machines, all XP, 2 XP Pro, 2 XP Home, 3 have USB 1.1, 1 has USB 2.0, 2 machines have latest iTune

    I'm having the same problem, my ipodnano is about a year old and I can't figure out what to do. I just installed the new itunes on my new laptop with vista premium. I'm desperate for a resolution, do you have any suggestions at all. Any help is greatly appreciated. Thank you

  • IPod not recognized by Windows or iTunes, troubleshooting didn't help.

    I have an 80 gig iPod classic. When I plug it into my computer it is not recognized by either Windows or iTunes. However, it does charge while connected. I have gone through every troubleshooting tip on the Apple website and nothing has worked. The only thing I was unable to try was restoring it because it needs to be recognized in iTunes in order to do so. Any suggestions?

    I had the same problem.......
    OK, after 8 hours.. It worked..... I was installling and uninstalling only itunes 9 but not all the apple components in my computer....... uninstall itunes 9 and all its components: Apple Mobile Device Support, Apple Software Update, Bonjour, iPod for Windows, iTunes, QuickTime.
    Under the folder c:\Program Files delete the following folders:
    Apple Software Update, Bonjour, iPod, iTunes, QuickTime
    Search for any hidden folders named "Apple Computer" or "Apple" These may appear under AppData or Local/AppData, Delete these folders.
    Restart your Windows machine and install itunes 9 and quicktime again..... good luck!!!!!

  • Ipod classic 120 stuck in disk mode, not recognized by windows or itunes

    so ive been havin tons of problems with my new ipod 120 classic
    first one day when i plugged it in it told me it was corrupted and needed to be restored
    then it would not restore
    i formated it with windows but that didnt seem to do anything
    the other night somehow i got it to the point of naming my ipod but after that, it stopped working again
    for a while i couldnt even put it into disk mode
    now, when it is plugged into the computer it is stuck in disk mode, yet not recognized by the computer or itunes
    it makes the sound when i plug it in but never shows up
    also, when its not plugged in, it starts up and just brings me to a screen that says use itunes to restore. but then i plug it in and it goes right to disk mode and do not connect, and isnt recognized
    when i unplug it i can see it pop up on my computer for that one second i unplug it
    ive tried this on a number of computers and it does the same thing
    when i unplug it from being plugged into the computer it just sits in diskmode saying ok to connect
    if i reset it by pressing center and menu, it just goes back to the use itunes to restore screen
    i cant get it to enter diagnostic mode, and when i hit center and play after center and menu it does nothing either
    ive just about had it with ipods
    this is my 3rd or 4th classic that i have had problems with
    apple should be ashamed of themselves for such a buggy product for so much money, and very very crappy service
    any help greatly appreciated....but im prety sure ill be moving onto another product after this
    luckily i am still under warranty so they offered for me to send it in....but then i am without music for about a week
    i feel i should be compensated for that alone, aside from just fixing it for me
    please help me fix this so i can get back to some tunes!
    thanks for any info

    1. Turn off iPad. Press and hold the Sleep/Wake button for a few seconds until the red slider appears, slide to turn off.
    2. Connect USB cable to computer
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune (make sure you have the newest version of iTune)
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times to recover your iPad

  • IPod not recognized by itunes, driver device won't install?

    I've been at this for hours and I'm becoming rather frustrated. I've been using my 4g ipod touch since christmas and it's worked fine. I plug it into my new laptop, and it tells me that the device driver needs installed. I let it install, yet it's still not recognized. I go through the device manager and attempt to update the software, and every time it tells me that there is some kind of error and the update cannot be made. I've tried everything under the troubleshooting methods. Does anybody have any clue what is causing this? Any help is greatly appreciated.

    Here is a tutorial for how to fix your usb not recognized,
    _*NOTE: Be sure that all of the usb ports are unplugged ;)*_
    Tutorial:
    1)a)Go to home button, and search regedit
    1)b)And go to HKEYLOCALMACHINE/SYSTEM/CurrentControlSet/Services/Usbstor click it.
    1)c)- In the usbstor there is a file named ErrorControl and double click it. And it says value 1 change it to 3 and save it.
    2)a)Go to Windows/System32/DriverStore/FileRepository/ And click the file named
    usbstor.infx86_neutral83027f5d5b2468d3 and double click it, and copy the files named usbstor and usbstor.pnf
    2)b) Go to C:Windows/inf and paste the files you have copyed.
    2)c) Reboot your computer and your usb cable works again
    Message was edited by: Altdorf

  • Mini-DV footage does not import into IMOVIE/ Camera not recognized

    Sony Mini DV tapes do not import footage using firewire. Camera is not recognized. I have done all the troubleshooting suggested. unplug, plug in, turn on, off, etc. I have bought new firewires and tried to import with many different mini-dv camcorders, sony, panasonic. It worked before, but not now.
    I teach in a multiple mac computer lab and have 20 computers, non of them import, although they did earlier. Student-use film lab. HELP!

    Hi Harm,
    Yes, that's exactly what I do with my EX3 footage too - ignore the XML error messages. That's a bit buggy in it's own right, well, not buggy but it should really recognise the EX folder/file structure and ignore the XML files - maybe one for a feature request!
    The 350 is a great camera - very much more sensitive and lower noise than the EX3.
    I still like the EX3 though, as it's small and light (relatively!) - the 350 is very light though in comparisson to other shoulder mount cameras. Nice low power consumption too
    Some things I miss from the EX3 - like the joystick menu button and the direct edit of parameters on the VF that the EX3 has. I also like the EX3 picure profile system over the 350 way of storing profiles (more similar to the 700 I believe).
    Cheers,
    Paul.

  • Report Manager problem: The user or group name 'BUILTIN\Administrators' is not recognized. (rsUnknownUserName)

    Hello,
    I have a big  problem with Reporting Services 2005 working on Windows 2003 Server.
    RS work as Network service, on subdomain reporting.mydomain with SSL wildcard certificate *.mydomain,
    Anonymous access: disabled and basic authentication: enabled
    ReportManager and reportServer has defualt virtual folders  (/reporting, /reportserver)
    My problem is:
    1) I can't manage security roles and site settings with report maanger. when I try assign roles to new user or group I get followng error:
    "The user or group name 'BUILTIN\Administrators' is not recognized. (rsUnknownUserName) Get Online Help"
    when i try to execute reports in report manager, parameters controls are not displayed correctly (very simple text boxes) and I can see:
    The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. (rsReportNotReady)
    and I can't see my report in browser (IE 6.0) but only export to PDF, Excel...
    other functionality are working  fine i.e upload new files, creatign folders....
    2) Also my reportserver virtual folder does not work correctly.
    When I navigate to mydomain/reportserver I can see content of this virtual folder, than when I navigate to ReportService.soap i can see normal ReportServer view
    reporting.mydomain - /Reportserver/
    [To Parent Directory]
           Montag, 10. April 2006    16:31        <dir> bin
      Dienstag, 6. September 2005    01:12       488278 Catalog.sql
      Dienstag, 6. September 2005    01:12        14738 CatalogTempDB.sql
          Freitag, 21. April 2006    19:45        10555 Copy of rsreportserver.config
          Freitag, 14. April 2006    17:29           76 global.asax
           Freitag, 15. Juli 2005    01:12        26582 ModelGenerationRules.smgl
           Montag, 10. April 2006    16:31        <dir> Pages
           Montag, 10. April 2006    16:31        <dir> ReportBuilder
            Montag, 13. Juni 2005    14:07          143 ReportExecution2005.asmx
            Montag, 13. Juni 2005    14:06       196337 ReportingServices.wsdl
            Montag, 13. Juni 2005    14:07          131 ReportService.asmx
            Montag, 13. Juni 2005    14:07          131 ReportService.soap
            Montag, 13. Juni 2005    14:07          139 ReportService2005.asmx
          Dienstag, 13. Juni 2006    20:01        10580 rsreportserver.config
            Montag, 13. Juni 2005    14:07        11845 rssrvpolicy.config
           Montag, 10. April 2006    16:31        <dir> Styles
           Freitag, 17. Juni 2005    01:09         2673 web.config
    but me reports are not displayed correctly, I can run reports but top bar with parameters, export and print function are not displayed in correct format.
    (simple textboxes, and icons)
    reporting.mydomain/ReportServer - /
    Microsoft SQL Server Reporting Services Version 9.00.1399.00
    I think it is security issue. What schould i do to solve this problems?
    Wojtek

    Hi Wojtek
    I just wanted to know if you found a solution for part (1).  I just recently encountered the problem where:
    "when i try to execute reports in report manager, parameters controls are not displayed correctly (very simple text boxes) and I can see:
    The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. (rsReportNotReady) "
    However all my reports are run from the most recent data.  The rsReportNotReady message appears in Report Manager but not the Report Server interface; the latter is able to render the reports.   But both have incorrectly displayed textbox inputs.
    Thanks
    nemo

  • 11.1.2 essbase upgrade not recognizing application files location

    Hi all
    I am upgrading an essbase database (Planning) from 11.1.1.3 to 11.1.2.2,
    I trying to configure 2 essbase servers (original 11.1.1.3 and new 11.1.2) running on 1 physical server using different ports and filesystems
    Following all the steps in the Deployment guide in Preparing Essbase Data for Upgrading,
    I ran all the steps in the Manual file transfer instructions to copy from source machine to target machine.
    I have started the steps in rehosting the essbase applications,
    - Completed enable lookup by cluster name:
    - I completed the server to cluster script on the HSS box (updateEssbaseServer )
    when i went to run EssbaseUpdateEssbaseServer one of the planning databases did not update i got this error
    [Mon May 21 14:03:50 2012]cphypd.sherwin.com///admin/Error(1002097)
    Unable to load database [PlanFcst]
    Error loading application = 1002097, continue...
    looking in the logs i found that it was trying to go to the prior location of the 11.1.1.3 instance and not the new location of the 11.1.2 instance
    Why is it not recognizing the new datafile locations

    I saw this in the guide
    I followed these instructions and specified a different directory when running the staging tool, the script was empty, i do not believe it should be, it should contain mapping info to update essbase.sec, which it did not
    On the Configure Essbase Server page, for Full path to application location (ARBORPATH), specify the location of the existing or replicated Essbase data.
    Note:
    If you replicated data to a new machine, and if you selected Differently-named disk volumes, table spaces, or ARBORPATH on source and target or Consolidated disk volumes or tablespaces on target by exporting data during data replication, you must run a script immediately after configuring Essbase to update the Essbase security file to reflect the disk volumes on the upgraded system. The Essbase Staging Tool provides a script to update the settings in the security file (essbase.sec):
    Start the Essbase Server and EPM System services. Navigate to ARBORPATH/app on the machine that is hosting the upgraded Essbase Server and run the following script using MaxL:
    %ARBORPATH%/bin/startMaxl.bat -u userName editagtsec.msh
    where userName is the Administrator user name to connect to the upgraded Essbase server. The script prompts you to enter the password.
    Note:
    editagtsec.msh could be empty in some scenarios. For example, when you launched the Staging Tool, the Staging Tool reports on existing volumes. If no volumes are listed, editagtsec.msh is empty.

  • Brand new iPod touch 4gen and it is not recognized by iTunes or computer?  Help....

    I have an ipod 4gen and when I try to install it to download music from iTunes it is not recognized.....however when I first connected it it asked if I wanted Word to look at my pictures via camera....I wonder if it thinks my device is a camera????  Help pls!!!!!

    Ok....now when I get iTunes to see the device it named it what I have named another iPod ?...and used the current serial number of the new iPod touch.....and it says it is synching the iPod touch.....however, it it really backing up onto the cloud and has been doing this for over 9 hours????  I think something might be wrong....or is it really making a backup copy?   Really confused if I should just unplug everything and take this stupid thing back to the store....much happier with my nano 16gb :). So much easier to figure out.  Btw I synced it and it worked just fine...while doing the backup thing today?????   Anyone, any ideas?  Thanks.

  • My new ipod shuffle (4th gen) is not recognized by my PC or itunes :(

    just bought a new 4th generation ipod shuffle....downloaded itunes...but its not recognizing the ipod shuffle ("devices" not appearing on left column).....also, my computer (windows 7) is not recognizing it when connected...
    ive tried re-installing itunes and re-starting my PC.....
    should there be a light to indicate the ipod is charging...no light is appearing...
    any ideas..pleeeease

    Hello there baku_k,
    It sounds like your iPod shuffle just isn't being seen in iTunes no matter what you do on your PC running Windows 8. Without knowing the exact troubleshooting you have done, I would recommend that you look over the troubleshooting steps in the following article to help you determine what may be happening, named:
    Apple - Support - iPod shuffle - iTunes Troubleshooting Assistant
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

Maybe you are looking for

  • How to call the Reset of af:query in a backing bean .

    Hi, Could some one help me to call the Reset function of af;query by a backing bean. Since i need to refresh the LOV's in the search panel, i need to call the reset operation in the custom code. . thanks.

  • Using an Osprey 100 card with Acrobat Connect Pro and Vista

    Intrigued by a comment I saw on another forum, I tried setting each of the EXE files associated with an Osprey 100 card install in Vista to run in compatability mode for XP SP2, and my Osprey card analog inputs started working (at LAST!!) with Acroba

  • Key and Cursor issue in Terminal.app

    I am having a problem with Terminal. It is triggered when I do something that involves the Command key, Cmd-C, Cmd-V etc. It causes my keyboard actions to not be recognized until I click somewhere with the cursor (within the terminal window). And at

  • How to turn on and off the Export Import capability in Quality &Production

    Hi All, Can any one tell me how to turn on and turn off the export, import capabilities in the Quality n Production Systems . All I know about this is, it is an SAP XI Basis task, and I am not able to get any documents related to it . Thanks in Advan

  • FILESYTEMIO_OPTIONS is modifiable or not

    Hello, Into the Chapter 9 Understanding Operating System Resources, Oracle® Database Performance Tuning Guide 10g Release 2 (10.2) Part Number B14211-01 The init parameter FILESYTEMIO_OPTIONS is describe as dynamically modifiable : ""It can be dynami