Report works fine in local environment but gives problem on server

Hi,
I have following condition which works fine when executed in local environment.
But simply does not work when executed on server.
<?for-each-group:XYZIC[ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate >= EffStartDate][ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate <= EffEndDate];./Code?>
EffStartDate and EffEndDate are from XYZIC.
What could be the reason?
Thanks.

Hi,
try this
<?for-each-group:XYZIC[ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate >= EffStartDate] and [ListOf_ssFsInvoice/ssFsInvoice/InvoiceDate <= EffEndDate];./Code?>
or this one
before using declare namespace specifier
<?for-each-group:XYZIC[psfn:totext(InvoiceDate,"dd-MMM-yyyy","MM/dd/yyyy" >= psfn:totext(EffStartDate,"dd-MMM-yyyy","MM/dd/yyyy" and psfn:totext(InvoiceDate,"dd-MMM-yyyy","MM/dd/yyyy" <=  psfn:totext(EffEndDate,"dd-MMM-yyyy","MM/dd/yyyy"];./Code?>

Similar Messages

  • XML publisher report works fine in English environment but NOT in Dutch

    We are using Oracle Reports to generate XML file which will be input for XML Publisher report . Our requirement is to generate report in Dutch (Netherlands) language.
    We developed a report which is working fine in English. Then we copied this RDF file to NL directory also registered concurrent program in dutch language but then it stopped working and gives error.
    Basically it doesn't create any XML output .
    Please help . Its URGENT.
    Thanks in Advance.
    Manoj

    Hi Norman,
    Thanks for the reply, actually my query was failing as it was trying to compare English date format (1-MAY-2007) which was stored in a DFF with Dutch date (1-MIE-2007) database format ,so it was not generating any xml output.
    We have resolved this issue but now we are facing few other issue which are ,
    I have created a template which has a current date field. I inserted current date in Dutch format i,e, (1-juni-2007), but concurrent program output appears with english date format (1-June-2007).
    Same template has the customer name with 'Title' and this also appear in english i.e.Sir , in place of dutch title (Dhr.)
    Is it possible to display .pdf output with
    portrait (first page - Letter to customer)
    and landscape(second page - Invoice data details) styles for multiple customers in one request?
    We can do it for one customer by passing customer id so letter part (portrait output) is out of grouping and only data details (landscape) appear with multiple lines , but when we try to run it for multiple customers in one go , WITHOUT specifying a customer , it FAILS .
    Any help will be highly appreciated.
    Thanks - Manoj, Utrecht

  • ANT Deployment issue. works fine in one environment but fails in other

    Hi,
    Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
    example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
    The Environment is clustered.
    Any suggestion to make my Ant script to run at a go will be highly appreciated
    Thanks
    Krishna

    Hi KrishnaBhaskarla,
    I have something related to ant script, Can you please provide me the steps for deploying applications using ant script.
    Regards
    Kumar

  • Logout works fine on Local Machine but not on Server

    I have the following code in my backing bean:
          ExternalContext external =
            FacesContext.getCurrentInstance().getExternalContext();
          HttpSession session = (HttpSession) external.getSession(false);
          session.invalidate();
         // redirect using response because logout is a HTML page
          HttpServletResponse response =
            (HttpServletResponse) external.getResponse();
          response.sendRedirect("../logout.html");The problem is that this works fine on my local machine http://localhost:8888/my-context-root
    but on the Server clicking on the Logout link gives Page cannot be displayed.
    The protocol is https://ip-address:port/my-context-root and on the local machine it's http
    Is it the https thats causing the problem ?
    I also tried using:
    external.redirect("../logout.html"); but this also didn't help.

    The URL for Login is
    https://ip address:port/my-context-root/restricted/home.facesWhen the logout link is clicked the same URL is rendered.
    Backing bean is
    public class HomeBackingBean
      public String logout()
        try
          ExternalContext external =
            FacesContext.getCurrentInstance().getExternalContext();
          HttpSession session = (HttpSession) external.getSession(false);
          session.invalidate();
          //FacesContext.getCurrentInstance().responseComplete(); 
          Utility.logDebug("Session invalidated, trying to redirect to logout.html");
          // redirect using response because logout is a HTML page
          HttpServletResponse response =
            (HttpServletResponse) external.getResponse();
         response.sendRedirect("../logout.html");
        catch (IOException ioEx)
          Utility.logDebug("Failed to logout due to IOException");
        return null;
    }The exit.jsp is :
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
    <h:form>
        <tr:commandLink styleClass="logout" text="Logout"
                        action="#{homeBean.logout}"/>
    </h:form>The server log says:
    07/31 23:42:19 DEBUG [com.eds.send.common.Utility] Session invalidated, trying to redirect to logout.html
    07/31 23:42:19 DEBUG [com.sun.faces.application.NavigationHandlerImpl] No navigation rule found for outcome nulland viewId /r
    estricted/home.faces Explicitly remain on the current view
    07/31 23:42:19 DEBUG [com.sun.faces.lifecycle.InvokeApplicationPhase] Exiting InvokeApplicationsPhase
    07/31 23:42:19 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue(ref=restricted$home)
    07/31 23:42:19 DEBUG [com.sun.faces.application.ApplicationImpl] Couldn't find a factory for restricted$home
    07/31 23:42:19 DEBUG [com.sun.faces.el.VariableResolverImpl] resolveVariable: Resolved variable:null
    07/31 23:42:19 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue Result:null
    07/31 23:42:19 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue(ref=restricted$home)

  • Stream works fine on local subnet but not over web

    I am very new to FMS so excuse me if I get terminology messed up.
    I followed Tom Green's tutorials and at this point I can publish a live stream which I can view and interact with just fine on my local LAN.
    The FMS is NAT'ed to the outside world and I have ports 80 & 1935 open to the server.
    When I use a browser from the outside world and put in the servers public address I can see & interact with the FMS start page just fine.  I can use the "interactive" tab and supply my live stream name and view the stream just fine.
    However when I try to launch the Flashplayer that I built all I see is the controls with moving stipes,  No video feed above.  I can browse to the flashplayer HTML file on my local LAN and it works fine.  Interestingly enough I cannot open the flashplayer HTML file directly on the server either (but I can open the start page application and interact with it).
    This seems like a permissions issue to me... any ideas?
    Thanks in advance.
    Brian

    Hi Brian,
    Is it possible for you to send the source for the sample flash movie that you built? That might give me a clue as to what could be going wrong.
    Thanks
    Mamata

  • PDF App works fine on Acrobat 7 but gives compilation Errors in Livecycle

    Hello,
    I have a PDF application that has been working fine in Acrobat 7 for years (for a Fortune 50 company). We had to upgrade our environments to Acrobat 8/9 and the same app either HANGS or Shuts Down when opened in Acrobat 8/9 (Reader and Professional). When I timed some sections of the code, I got down to the following statement (Click action of a button):
    xfa.host.resetData(Home.APHomeSF.somExpression)
    Where Home is a subform on page 1 and APHomeSF is a subform within Home form. This statement takes a fraction of a second in Pro 7 but 18 seconds in Pro 8. The APHomeSF subform has a checkbox, text field, date field and a button. Even when I changed the reset statement to resetting ONLY the checkbox:
    xfa.host.resetData(Home.APHomeSF.FCB.somExpression)
    Pro 8 still took 18 secs to reset the data.  My question is that have any BASIC things changed in Acrobat 8/9 from Ver 7 that are deprecated or not supported, which may cause our application to take longer to run or just shut down.
    I am using Livecycle Designer to edit the application. When I open the application in Livecyle and just save it, I get many "Argument mismatch in property or function argument" errors. Following is one of the places:
    Generating PDF Document...
    Font Service: Default font typeface is Myriad Pro.
    Script failed (language is javascript; context is xfa[0].form[0].CopyContent[0].#subform[0].SPOA[0].SPOAdataRow[0])
    script=viahScripts.noViahNulls();
    var groupsArray = Builder.variables.soScript.getGroupsArray();
    var name = CopyElementName.rawValue;  // PROBLEM LINE
    Error: Argument mismatch in property or function argument
    Now, when I delete the line "var name = CopyElementName.rawValue" with the comment PROBLEM LINE, the error goes away. CopyElementName is just a drop-down list.
    I don't understand what is wrong in this line for it to cause the Argument mismatch error.
    Any help will be appreciated.... THANKS!
    Sunny

    You may try the forum LiveCycle Designer.

  • Itunes stops working after say half hour of use and will not play next song, the only way to get it working again is to close and reopen, then it works fine till next time, but the problem keeps returning

    itunes stops working after say half hour of use and will not play next song, I have to close and reopen, it works fine till next time, it keeps happening on a regular basis, HP pavilion laptop, g6 series,
    Window 7 64 bit

    Hello davewood26,
    The following article provides steps that can help get iTunes stabilized.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Cheers,
    Allen

  • Report works fine in VS2010 but simply doesn't show when published

    Problem:
    Crystal Report works fine in VS 2010 but doesn't show when published to web-server, there is no error, it simply doesn't show.
    Background:
    Installed VS2010 on a freshly installed and fully updated (.net 4.0 is included in the updates) windows server 2003 box with production release Crystal Report 2010. Nothing else is on the server.  IIS 6 is running.  My web-server and VS2010 is on the same box.
    I went ahead and created a new asp.net 4.0 web project called webapplication1. Thereafter, i put a few controls (text-boxes, list-boxes and so on)  on the default.aspx page. Then i created a report.aspx page. This page will have the crystal report viewer on it. I went ahead and set the report up without much hassle (got how-to's from the internet).  I successfully tested my web app with the built-in testing server, the beautiful crystal report presented exactly what i asked it to. There was one recurring "Sys.Application is null or not an object" hiccup that occured every time during testing when i navigated from the default.aspx page to the report.aspx page (the page the report is on). Clicking ignore or continue  on the dialogue box that comes up because of the hiccup will allow testing to continue.  Here's a screen-shot of this recurring hiccup.
    http://i440.photobucket.com/albums/qq122/ricom_19/Testing-Error.jpg
    As i've shown, testing went great, except for the hiccup. I now moved to setup a publish profile. Since my web-server and VS2010 is on the same box this seemed relatively straight forward. All the files went over except the report, i.e. crystalreport1.rpt  file. I solved this by  setting the build action to 'Content' in the CrystalReport1.rpt properties. I did a republish. Now i have all my files, see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Application-Home-Directory.jpg], on the web-server.
    I proceeded to try to browse to my app from another computer on my network. This was successful until i tried to navigate to the report.aspx page that the crystal report is on. The the report.aspx page loaded but the crystal report was simply not on it. No errors, not even the hiccup from testing occured. Its as if the crystal report viewer was never on the page to begin with. Only when i right clicked on the page and 'view source'  did i see some remnants of the crystal report viewer.
    Here is the Report.aspx page when tested in VS2010:
    [http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg]
    Here is the Report.aspx page when published to the web-server and browsed to from another computer on the network:
    [http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg]
    Details of adding report to my web app:
    1) Populate my dataset then write the XML schema, reportschema.xml
    2) Added the crystal Report to the project then used the wizard to navigate to the reportschema.xml. Of course i had to create new connection in Database expert. see screen-shot:
    [http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg]
    3) I formatted the report the way i wanted it
    4) Added the Crystal report viewer on the Report.aspx page
    5) In the code-behind of the Report.aspx page i bound the viewer to a report document that is loaded with CrystalReport1.rpt file
    see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Report-Page-Code-behind.jpg]
    That's it.  As mentioned, it tested fine in VS2010 but the viewer doesn't show when i publish to the webserver. I wrote a crystal report in .net about 8 years ago. Things have changed soooo much since then.
    I am wondering if its a license issue? Was also wondering if it had anything to do the testing hiccup, even though research is suggestion the two are unrelated.
    I've described my actions as best as i could (without getting into ridiculous detail) and have included screen-shots of relevant stages of the process. Have a look and tell me your thoughts. Thanks.

    The "Sys.Application is null or not an object" issue is known, submitted for a resolution and documented in KB #1528503. Unfortunately the KB search has been down the last couple of days...
    However, the issue is limited to compile time and does not affect a completed application.
    Re. the viewer missing. Sounds like the viewer directory did not get created or configure correctly. Before I get to that. You mention:
    "I proceeded to try to browse to my app from another computer on my network."
    This bring up the question: If you run the app right on the app server. e.g.; not a client computer, does the viewer and report come up? Is this issue isolated to client computers on the network?
    I suspect that the issue exists irrespective of which computer you try to see the report from - but that is an assumption. If the assumption is correct, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article on configuring the viewer. The article does not have CR4VS2010 documented, but you should be able to guide your self using the article. I think the pattern will be obvious.
    Ludek

  • Workbook works fine in discoverer plus but shows error in discoverer viewer

    Hi,
    I have some issues with the parameter of a report.
    one of the parameters is
    mgr_id (eg: 1,2,3) -- from database table.
    manager names are not available in the database but they are known to users like
    1 - david
    2 - alan chris
    3 - peter
    so the requirement is
    (i) the input parameter wud be entered as 1 or 2 or 3 or null ( or in multiple combination or all).
    But the report shud have parameters in the header of the report.
    for eg: if the input parameter is mgr_id = '1' then the report shud have manager name: 'david' in the header.
    if the input is mgr_id = '1',' 2', '3' then on the report header, it shud display as manager name: 'david','alan chris','peter'
    (ii) the default value of mgr_id shud be 'ALL'. if the user enters mgr_id as 'ALL' then it shud take all the values of mgr_id and pull all the values of mgr_id (like 1,2,3)
    and the report header shud display as department name: 'ALL'
    i have developed a custom query where i used,
    select dept_id, decode(mgr.mgr_id,'1','david','2','alan chris','3','peter') as mgr_name, ..... etc.
    in discoverer admin,
    I have created LOVs (item classes) for mgr_name.
    after that going to properties of mgr_name, i have selected mgr_id as indexed item.
    and in the report i have created parameter dept based on mgr_name and selected the option -- allow to select both indexes and values.
    and in the default value i mentioned 'ALL'.
    after that i changed the condition as
    ((mgr_name = :manager name) OR (mgr_name LIKE DECODE(:manager name,'ALL','%')))
    and in the header, i used &department name --- then it displays correctly.
    but the problem is ---
    the report works fine in plus. the problem is only when parameter value is 'ALL'
    when i run the report from discoverer viewer for the very first time (after logging in), the report works fine with correct data.
    but when i run the same report second time with parameter value 'ALL', it gives an error ---
    Invalid value "''" for parameter "department name"
    i dont understand, why it works for first time and doesn't afterwards. If i logout and login again, it works fine in viewer.
    am i doing anything wrong in conditions or declaring the parameters?
    I came to know that, the very first time, when we enter 'ALL' it is taking '%' but when we run for the second time, it is taking NULL. since NULL isn't there in mgr_id or mgr_name, it is throwing that error.
    How do i fix this error?
    Thanks

    Hi Puppethead,
    I have tried with your suggestions.
    the following condition -- did not work
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(:manager name, 'ALL', '%', NULL)))
    but for the other condition ---
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(nvl(:manager name, 'ALL'), 'ALL', '%', NULL)))
    is wrong because, :manager name cud be null, when it is null, it takes 'ALL' i.e. '%' which shud not be the case.
    if the user enters null, it has to display records with null only but with the above condition it takes '%'
    The main issue which i dont understand is, the report works fine for the first time. for the second time, the report takes null values . why is it taking null values for the second time.
    Thanks

  • Error when I try to run a Journal report, Works fine in previous month

    Hi,
    I am getting an error when I try to run a Journal report in HFM. The report runs fine for October Month but fials in November. does anyone have any ideas what it could be. The error message details are per below
    Error Reference Number: {B6DCF307-AB72-476F-9634-70E35C3E8F2F};User Name: vivek.singha@WorleyParsons
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvDSCalcStatus.cpp;Line: 391;Ver: 9.3.1.6.2558;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvDSCalcStatus.cpp;Line: 7035;Ver: 9.3.1.6.2558;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: DataSecurity.cpp;Line: 696;Ver: 9.3.1.0.2042;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: DataSecurity.cpp;Line: 329;Ver: 9.3.1.0.2042;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: SecurityInternal.cpp;Line: 1695;Ver: 9.3.1.0.2042;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvJournals.cpp;Line: 1249;Ver: 9.3.1.0.2042;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvJournals.cpp;Line: 988;Ver: 9.3.1.0.2042;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvJournalsACM.cpp;Line: 1734;Ver: 9.3.1.0.1502;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvJournalsACM.cpp;Line: 1648;Ver: 9.3.1.0.1502;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: ReportGenerator_Journal.cpp;Line: 136;Ver: 9.3.1.0.2176;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: CHsvReportGeneratorACM.cpp;Line: 575;Ver: 9.3.1.0.2176;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: HFMActionsExecution.cpp;Line: 2189;Ver: 9.3.1.0.2385;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: HFMActions.cpp;Line: 72;Ver: 9.3.1.0.2385;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:24 PM;Svr: AUHODWRLYP9;File: HFMCESAction.cpp;Line: 28;Ver: 9.3.1.0.2385;
    Num: 0x8004023b;Type: 0;DTime: 12/20/2010 7:42:25 PM;Svr: AUHODWRLYP9;File: Actions.cpp;Line: 291;Ver: 9.3.1.0.2385;
    Regards
    Vivek

    Hi All,
    I narrowed it down by running a report excluding working journals and that worked fine.
    This was being caused by an invalid working Journal. I exported all journals from Prod, and tried loading them to test. One of the errors was
    "Line: 7736, Error: Invalid parent.child entity dimension specified"
    Looking at the row the journal did not have an entity specified for one of the lines.
    When a valid entity was specified the journal report then starts working.
    Lesson. Check all journals are valid. To find error, load journals export in a different environment.
    Thanks all for your help.
    Regards
    Vivek

  • Hello I have imac (27-inch mid 2011) 3.1ghz intel core i5 1tb serial ata hard drive, amd radeon hd 6970m my problem is imac works fine in safe mode,but when you try to startup normal it's connstantly restart by it self.

    hello I have imac (27-inch mid 2011) 3.1ghz intel core i5 1tb serial ata hard drive, amd radeon hd 6970m
    my problem is
    imac works fine in safe mode,
    but when you try to startup normal it's connstantly restart by it self.

    in safe mode works perfectly,soon as I try to boot in normal mode it's keep restarting.on screen I don't  see any line vertical or horizontal picture look normal on safe mode.but unable to start normal it just restarting over and over.I try another HDD but same things happen,I replace memory but still same.works ok in safe mode but not in normal mode.I will try to post system error report.

  • How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    Can you give me a screenshot of the User Accounts window in Control Panel?
    Please create a screenshot by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

  • Query running fine in one environment but failing in other environment

    Hi,
    I have a query which i am trying to execute in two different environments.
    Test :- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Prod:- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Now query executes finely in one environment and fails in other environment.
    It gives following error.
    ORA-01861: literal does not match format string
    01861. 00000 - "literal does not match format string"
    The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
    The same query works fine on TEST environment and and fails on PROD environment.
    Any help related to it would be appreciated.
    Thanks,
    Mahesh

    MaheshGx wrote:
    Hi,
    I have a query which i am trying to execute in two different environments.
    Test :- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Prod:- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Now query executes finely in one environment and fails in other environment.
    It gives following error.
    ORA-01861: literal does not match format string
    01861. 00000 - "literal does not match format string"
    The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
    The same query works fine on TEST environment and and fails on PROD environment.
    Any help related to it would be appreciated.
    Thanks,
    MaheshThat's called a bug. One caused by the person who developed the code. They relied on implicit conversion between strings and dates when
    production quality code will always use to_char and to_date functions with a format mask.

  • HT204053 i have an itunes library with 1,000+ songs on a pc.  my daughter has a macbook air and i loaded my apple ID onto it.  how do i get the songs from my itunes account to show up?  This works fine on her iPhone, but having trouble on the new macbook

    i have an itunes library with 1,000+ songs on a pc.  my daughter has a macbook air and i loaded my apple ID onto it.  how do i get the songs from my itunes account to show up?  This works fine on her iPhone, but having trouble on the new macbook air

    Hey kbert73
    I would do a transfer of purchases from the phone and not sync. If you sync then it will want to start over and sync music that is on the MacBook Pro. If you want to transfer the music, check out the article below that will give you multiple options on how to move. I have also provided on how to sync with multiple computers.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Text Index works fine consistently with Table, but not on underlying View

    Hi,
    We are facing weird issue relating to Oracle Text Indexes. Search using Oracle Text Index
    works fine on a Table, but when running query on View it gives sometimes (not consistently)
    ORA-20000: Oracle Text error:
    DRG-10849: catsearch does not support functional invocation
    DRG-10599: column is not indexed
    Sometimes it works.
    All of the below steps are run using User IR2OWNER:
    STEP 1: Table CPF_CUSTOMER created as follows (3 Non Text Indexes defined at time of creation )
    **Please note no Public Synonym is created for this Table**
    ** There is already another Table by same name CPF_CUSTOMER under different Owner (CDROWNER)
    and that Table has Public Synonym CPF_CUSTOMER created. Other Table CPF_CUSTOMER does not
    have any Views **
    create table CPF_CUSTOMER
    CPF_CUSTOMER_UUID NUMBER(20) not null,
    SAP_ID VARCHAR2(10 CHAR) not null,
    IRIS2_ID VARCHAR2(7 CHAR),
    NAME VARCHAR2(70 CHAR) not null,
    DRAFT_IND NUMBER(1) not null,
    ACTIVE_IND NUMBER(1) not null,
    REPLACED_BY_CUST VARCHAR2(10 CHAR),
    CRE_DT_GMT DATE,
    CRE_DT_LOC DATE,
    TIME_ZONE VARCHAR2(3 CHAR),
    CRE_USR VARCHAR2(8 CHAR),
    CHG_DT_GMT DATE,
    CHG_DT_LOC DATE,
    CHG_TIME_ZONE VARCHAR2(3 CHAR),
    CHG_USR VARCHAR2(8 CHAR),
    VFY_DT_GMT DATE,
    VFY_DT_LOC DATE,
    VFY_USR VARCHAR2(8 CHAR),
    DIVISION VARCHAR2(20 CHAR),
    SALES_ADMIN VARCHAR2(3 CHAR),
    MF_CUST_CDE VARCHAR2(14 CHAR),
    CR_CTRL_OFCE VARCHAR2(3 CHAR),
    DEFAULT_INV_CCY VARCHAR2(3 CHAR),
    AUTOBILL_OVRRD_IND NUMBER(1) not null,
    AUTOBILL NUMBER(1) not null,
    AUTOPRT_OVRRD_IND NUMBER(1) not null,
    AUTOPRT NUMBER(1) not null,
    AVE_PYMT_DAY NUMBER(3),
    TTL_INV_VAL NUMBER(12,2),
    INHERIT_CR_TERM_ASSGMT NUMBER(1) not null,
    NORMALIZED_NME VARCHAR2(70 CHAR),
    OB_PYMT_OFCE VARCHAR2(3 CHAR),
    IB_PYMT_OFCE VARCHAR2(3 CHAR),
    CGO_SMART_ID VARCHAR2(20 CHAR),
    REC_UPD_DT TIMESTAMP(6),
    NCPF_CUST_ID VARCHAR2(7) not null,
    CPF_CUST_LEVEL_UUID NUMBER(20) not null
    tablespace DBCPFP1_LG_DATA LOGGING;
    CREATE UNIQUE INDEX CPF_CUSTOMERI1 ON CPF_CUSTOMER
    (SAP_ID ASC) TABLESPACE DBCPFP1_LG_INDX;
    ALTER TABLE CPF_CUSTOMER
    ADD CONSTRAINT CPF_CUSTOMERI1 UNIQUE (SAP_ID);
    CREATE UNIQUE INDEX CPF_CUSTOMERI2 ON CPF_CUSTOMER
    (CPF_CUSTOMER_UUID ASC) TABLESPACE DBCPFP1_LG_INDX;
    ALTER TABLE CPF_CUSTOMER
    ADD CONSTRAINT CPF_CUSTOMERI2 UNIQUE (CPF_CUSTOMER_UUID);
    CREATE INDEX CPF_CUSTOMER_IDX2 ON CPF_CUSTOMER (UPPER(NAME))
    TABLESPACE DBCPFP1_LG_INDX;
    STEP 2: Create View CPF_CUSTOMER_RVW on above Table (and Public Synonym on View)
    This View is created under same OWNER as Table created in STEP 1 (IR2OWNER)
    create or replace view cpf_customer_rvw as
    select
    CPF_CUSTOMER_UUID,
    SAP_ID,
    IRIS2_ID,
    NAME,
    DRAFT_IND,
    ACTIVE_IND,
    REPLACED_BY_CUST,
    CRE_DT_GMT,
    CRE_DT_LOC,
    TIME_ZONE,
    CRE_USR,
    CHG_DT_GMT,
    CHG_DT_LOC,
    CHG_TIME_ZONE,
    CHG_USR,
    VFY_DT_GMT,
    VFY_DT_LOC,
    VFY_USR,
    DIVISION,
    SALES_ADMIN,
    MF_CUST_CDE,
    CR_CTRL_OFCE,
    DEFAULT_INV_CCY,
    AUTOBILL_OVRRD_IND,
    AUTOBILL,
    AUTOPRT_OVRRD_IND,
    AUTOPRT,
    AVE_PYMT_DAY,
    TTL_INV_VAL,
    INHERIT_CR_TERM_ASSGMT,
    NORMALIZED_NME,
    OB_PYMT_OFCE,
    IB_PYMT_OFCE,
    CGO_SMART_ID,
    NCPF_CUST_ID,
    CPF_CUST_LEVEL_UUID,
    REC_UPD_DT
    from CPF_CUSTOMER;
    CREATE OR REPLACE PUBLIC SYNONYM CPF_CUSTOMER_RVW FOR CPF_CUSTOMER_RVW;
    STEP 3: Insert Test row
    insert into cpf_customer (CPF_CUSTOMER_UUID, SAP_ID, IRIS2_ID, NAME, DRAFT_IND, ACTIVE_IND, REPLACED_BY_CUST, CRE_DT_GMT, CRE_DT_LOC, TIME_ZONE, CRE_USR, CHG_DT_GMT, CHG_DT_LOC, CHG_TIME_ZONE, CHG_USR, VFY_DT_GMT, VFY_DT_LOC, VFY_USR, DIVISION, SALES_ADMIN, MF_CUST_CDE, CR_CTRL_OFCE, DEFAULT_INV_CCY, AUTOBILL_OVRRD_IND, AUTOBILL, AUTOPRT_OVRRD_IND, AUTOPRT, AVE_PYMT_DAY, TTL_INV_VAL, INHERIT_CR_TERM_ASSGMT, NORMALIZED_NME, OB_PYMT_OFCE, IB_PYMT_OFCE, CGO_SMART_ID, NCPF_CUST_ID, CPF_CUST_LEVEL_UUID, REC_UPD_DT)
    values (2.26283572796028E15, '6588125000', '6588125', 'S M Mooseen And Sons(PVT) Limited', 0, 1, '', to_date('15-03-2005 08:55:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('15-03-2005 14:25:00', 'dd-mm-yyyy hh24:mi:ss'), 'IST', 'licr2', to_date('19-02-2007 00:33:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('19-02-2007 06:03:00', 'dd-mm-yyyy hh24:mi:ss'), 'IST', 'BaseAdmi', to_date('15-03-2005 09:03:00', 'dd-mm-yyyy hh24:mi:ss'), to_date('15-03-2005 14:33:00', 'dd-mm-yyyy hh24:mi:ss'), 'ninwasa', '', '', 'SRI06588125000', '463', '', 0, 0, 0, 0, null, null, 0, 'SMMOOSEENANDSONSPVTLIMITED', '', '', '', '6588125', 109966195050333, '14-JAN-09 02.49.28.325774 PM');
    commit;
    STEP 4: Create Oracle Text Index on Table CPF_CUSTOMER
    EXEC CTX_DDL.DROP_PREFERENCE('CTXCAT_IR2_STORAGE');
    EXEC CTX_DDL.CREATE_PREFERENCE('CTXCAT_IR2_STORAGE', 'BASIC_STORAGE');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'I_INDEX_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'I_INDEX_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'K_TABLE_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'R_TABLE_CLAUSE', 'TABLESPACE COMMON_SM_INDX COMPRESS 2');
    EXEC CTX_DDL.SET_ATTRIBUTE('CTXCAT_IR2_STORAGE', 'I_ROWID_INDEX_CLAUSE', 'TABLESPACE COMMON_SM_INDX storage (INITIAL 5M)');
    -- Define IR2_AB_LEXER to handle Special Characters.
    EXEC ctx_ddl.drop_preference('IR2_AB_LEXER');
    EXEC ctx_ddl.create_preference('IR2_AB_LEXER', 'BASIC_LEXER');
    EXEC ctx_ddl.set_attribute ('IR2_AB_LEXER', 'printjoins', ',_!$~%?=({;|&+-:/)}.@`^');
    --Drop Indexes
    drop index CPF_CUSTOMER_DIDX1;
    -- CATSEARCH INDEX on CPF_CUSTOMER.NAME     
    CREATE INDEX CPF_CUSTOMER_DIDX1 ON CPF_CUSTOMER(NAME) INDEXTYPE IS CTXSYS.CTXCAT PARAMETERS ('STORAGE CTXCAT_IR2_STORAGE STOPLIST CTXSYS.EMPTY_STOPLIST LEXER IR2_AB_LEXER');
    commit;
    STEP 5: Run Query to use Oracle Text Index on Base Table (works fine always. No issues seen so far)
    SELECT a.sap_id||'|'||a.name||'|' CUSTOMER_STR
    FROM cpf_customer a
    WHERE (catsearch(a.name, 'Mooseen'||'*', '')>0);
    CUSTOMER_STR
    6588125000|S M Mooseen And Sons(PVT) Limited|
    STEP 6: Run Query to use Oracle Text Index on View created under Table (get below error periodically)
    ORA-20000: Oracle Text error:
    DRG-10849: catsearch does not support functional invocation
    DRG-10599: column is not indexed
    But it works sometimes as in STEP 5 and returns 1 row. It is never consistent. We would like to
    provide access to this Table using View only. That is why we would like to get this query working consistently
    using View.
    Any help or tips would be greatly appreciated
    Thanks
    Auro

    This is a known issue with CTXCAT indexes. Sometimes the optimizer will "drive" the query off another index, and request results from the CTXCAT index on a row-by-row basis ("does the row with rowid NNNN satisfy this CATSEARCH condition?"). That's known as a functional lookup, and is not supported by the CTXCAT indextype.
    The only solution is to try to persuade the optimizer to use a different plan which does not use a functional lookup. This can be achieved by the use of hints, or sometimes by collecting or deleting statistics on the table.

Maybe you are looking for

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items that creates a s

  • Bridge CS6 very slow

    Since a few days my bridge is extremely slow and I can not work anymore. Response time when I click on a picture about 5 seconds, clicking on a menu about 10 seconds, selecting 10 images takes 20 seconds, opening a thumb in full scrreen view takes 15

  • Empty PDF in IE after opening FDF directly from Outlook

    Hi, im currently facing a old/known problem and i found no optimal solution for it. One of our clients migrated from XP to Win7 and since that the opening of a FDF-file from Outlook only opens the empty PDF in IE (Internet Explorer). (I found the pro

  • Error 109 With Time Machine

    So I have a FantomDrives 1TB Hard Drive plugged into my airport extreme router through the USB port and me and my family have been using it for backing up our software, with mine going on one partition and my father and mother on the other. This has

  • HT3275 The backup disk image "/Volumes/Data/MacBook Pro.sparsebundle" is already in use.

    My Time Machine has failed again with this message: The backup disk image "/Volumes/Data/Shirley's MacBook Pro.sparsebundle" is already in use. How do I fix it?