Fragmentation in Sqlserver

Hi
 Can anyone tell me the query to findout the fragmentation in the database tables.
 and how to defragment.
please provide me a detailed  explaination.

Hi
 Can anyone tell me the query to findout the fragmentation in the database tables.
 and how to defragment.
please provide me a detailed  explaination.
Fragmentation script can be taken from here
http://gallery.technet.microsoft.com/scriptcenter/Check-SQL-Server-a-a5758043
Defragmentation will require you to rebuild index, there are lot of options for you to rebuild so i would like you to
read examples in below link and choose one that suits you
http://msdn.microsoft.com/en-gb/library/ms188388.aspx
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles

Similar Messages

  • Two model projects (1 for Oracle, 1 for SQLServer) with 1 view project?

    We are trying to solve the issue of supporting both Oracle and SQLServer backends with our ADF application.  We have read many posts and our application is working against Oracle but have some issues with SQLServer.  The entities are created as SQL92/Java.  Would a better approach be to create separate model projects and then load or build with the appropriate one.  Each would have identical naming so the view would work with either.  At run time we know which type of db is installed. If this was to work how would we specify one over the other when building/running? 
    If I am way off on this idea please let me know and we will continue down the current path.
    Thank you
    Rudy

    Hi Shay,
    Yes, I have been through that document and done everything except the primary key generation.  Our db's do use the Identity/Sequence features for generating primary keys and this cannot be changed due to legacy systems that also access the db.  The error I see against SQLServer when performing a Commit after a CreateInsert, Update, or Delete is this:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.faces.el.EvaluationException: oracle.jbo.JboException: [oracle.jbo.DMLException: JBO-26080: Error while selecting entity for GetValueRuleEO]
        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
        at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    This happens against multiple entity objects.  The entity PK's are defined as oracle.jbo.Domain.DBSequence with Updatable as Never and no Refresh. Is there a way to set the properties of the application model at runtime, possibly within the initialization servlet?
    Thank you.

  • Database maintenance for sqlserver database to improve performance

    In our company sqlserver 2008 R2 is working as a project server database.
    I want to know commands for database maintenance.
    Please let me know all command in order which i need to run in sqlserver for database maintenance.
    because i want to increase performance of projectserver 2010.

    Hi John.Eddie,
    For increasing SQL Server performance, you can do full daily backup, transaction log backups, check database integrity, rebuild index and update statistics in database maintenance plan.
     However, you need to note that running "Shrink Database", it causes disk and as well as index fragmentation and leads to performance issues.
    To ensure your database stays healthy and available, there are a few "'must do" tasks. For example:
    1.Remove excessive transaction log file fragmentation.
    2.Set auto-growth correctly.
    3.Turn off any scheduled shrink operations.
    4.Turn on AUTO_CREATE_STATISTICS and AUTO_UPDATE_STATISTICS, plus have a regular process in place to update statistics.
    5.Have a regular process to run DBCC CHECKDB, take full database backups, plus differential and log backups for point-in-time recovery.
    For more information about database maintenance, you can review the following article.
    http://technet.microsoft.com/en-us/magazine/2008.08.database.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • SQLSERVER 2012 LOG SIZE INCREASE EXTENSIVELY

    Hi Friends,
    I want to inquire, as our sqlserver 2012 in full  recovery mode , I notices whenever we are executing rebuild indexes maintenancejob the logfile grown up extensively every time.  h
    thank you.
    regards,
    asad

    Hi Friends,
    I want to inquire, as our sqlserver 2012 in full  recovery mode , I notices whenever we are executing rebuild indexes maintenancejob the logfile grown up extensively every time.  h
    Asad,
    Why are you posting same thread about SQL Server log file every time. I can see all your previous threads on same Log file issue.
    This clearly shows that you don't spend event single moment reading links posted as answer. Why dont you go and read about SQL Server before asking *almost* same question every time.
    Yes log file will grow that is default behavior why are you executing index rebuild for all index. Did you searched about index rebuild and how it works and what gets logged.
    You can read here
    Curious case of logging in Online and offline index rebuild
    Use Ola Hallengren solution for index rebuild it will only rebuild index that is fragmented.
    Don't just blindly post question spend some time on net searching I am sure you would find lot of articles
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Floating fields and fragment subforms in Outlook 2007 do not display correctly

    I'm using LCES Forms 8.0 Update 1 to render a non-interactive HTML forms using dynamic content (customer info). The email appears ok in clients except in Outlook 2007.
    The Floating text and Text Fields appear multiple times on the form (scattered around their placement point on the form) and the subform fragments are appearing with borders surrounding them.
    I have heard that there are issues with Outlook 2007 not displaying HTML correctly. Is there a way to setup the Text Fields/Subforms in Designer so they display correctly in Outlook 2007?
    Thanks!

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Problem in Accession inner join with [Microsoft][SQLServer 2000 Driver

    Hi
    Can you tell me what can be cause my sql statement is correct gives result but
    if i used below statement in my JSP ,cause error
    1)
    ps1=connection.prepareStatement("select RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRPTN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_DLVRY_DT"+
    "from PAS_RQM_RQSTN_MSTR a "+
    "inner join PAS_RQD_RQSTN_DTLS b on a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and RQD_IN_STTS_ID_FK = 4"+
    "INNER JOIN PAS_SMT_STTS_MSTR C ON C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
    "where a.RQM_VC_DTRTMNT_INVLV='Technology' ");
    2) Error Generate
    java.sql.SQLException
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near 'a'.
    What can be the cause
    Thanks

    ps1=connection.prepareStatement("select
    RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRP
    TN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_D
    LVRY_DT"+
    "from PAS_RQM_RQSTN_MSTR a "+
    "inner join PAS_RQD_RQSTN_DTLS b on
    a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and
    RQD_IN_STTS_ID_FK = 4"+
    "INNER JOIN PAS_SMT_STTS_MSTR C ON
    C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
    "where a.RQM_VC_DTRTMNT_INVLV='Technology' ");This is a problem due to not providing spaces where they are needed. See the places where I have highlighted.
    A better way is to generate the String first [use StringBuffer as a good practice for appending instead of String "+"] and print it out to check if it is correct.
    ***Annie***

  • Publishing to Azure Web App when using nuget "Microsoft.SqlServer.Types" crashes WebDeploy

    I have a project where I use "Microsoft.SqlServer.Types" that loads an assembly manually as part of the package.
    The problem arises when I publish this via Visual Studio. I get an error that the file is already in use from WebDeploy. This is probably because of how the assemblies are loaded or something that makes them locked.
    Repro steps:
    Create an ASP.NET web and add nuget package "Microsoft.SqlServer.Types" and make sure you load the assembly using the provided ReadMe.txt in your App_Start.
    Deploy to Azure Web App.
    Deplay again when the app is up and running - you'll get the error.
    Does WebDeploy have an option for shutting down the site when updating or something like that? This error also apply to any WebJobs that also use the "Microsoft.SqlServer.Types" package.

    there is a way to take the site down during publishing please read through this blog post 
    http://blogs.msdn.com/b/webdev/archive/2013/10/30/web-publishing-updates-for-app-offline-and-usechecksum.aspx
    please read the part about appoffline
    Thanks, Hosam

  • Anyone using ms sqlserver standard edition with XI 3.0

    wondering if anyone is successfully using ms sqlserver standard edition (not enterprise edition) with XI 3.0. I would like to set up a dev/test XI system and the standard sqlserver edition is less expensive than enterprise edition. I would like to confirm that it works ok first.
    thanks-

    Henry,
    I haven't tried but I think it will be successful with mssql server standard edition also. The following link gives the key difference between standard and enterprise edition.
    http://www.databasejournal.com/img/RS_servereditions_code.html
    Best of luck!
    regards,
    Felix

  • In iMovie: I open a project that has been finalized. source fragment is missing. I see a yellow triangle with exclamation mark. Why is that and how do I solve the problem?

    in iMovie:
    I open a project that has been finalized. source fragment is missing. I see a yellow triangle with exclamation mark. Why is that and how do I solve the problem?
    please help.
    J. Aalbers

    Shouldn't really be the MPE at fault here ... what is the codec of the footage/sequence/project?
    Second, can you create a new project in PrPro, then in the media browser, import that sequence from the other project?

  • How to pivot using pivot clause of sqlserver 2005 for three values

    Dear all
                Is it possible to formulate the query using pivote clause of sqlserver 2005.
    ( Table name is) BridgeHawra
    ReportDate,                 , Pole, DiameterCost,Flag,OuterDiaCost
    01 jan 2014,               ,1     ,   4.5      ,yes,6
    01 jan 2014,               ,2     ,   4.5        ,no,6
    01 jan 2014,               ,3    ,  5.5         ,no,6
    02 jan 2014,               ,4     ,  5.5        ,no,5.9
    02 jan 2014,               ,5     ,  5.5        ,no,6
    1)Pole Col will have unique value.
    o2)One pole will have one DiameterCost, but n number of DiameterCost can be there.
    I have to show a report which should show , count of poles and cost(DiameterCost* pole count of the day of each DiameterCost) for each date and DiameterCost.
    as following
    DateOfReport            ,  PoleCountofDiameterCost4.5, DiameterCost4.5, PoleCountOfDiameterCost5.5,DiameterCost5.5
    01 jan 2014              , 2                                      
          ,(2*4.5)                        ,1                                   
    ,(1*5.5)
    02 jan 2014              , 0/null                                      ,0/null
                              ,2                                
       ,(2*5.5)
    yours sincerely

    Yes it is possible though you need to use dynamic pivot technique. Dynamic pivot allow you to select/display column names dynamically.
    Below example does not use dynamic pivot,
    --create table #temp(ReportDate datetime,Pole int, DiameterCost decimal(5,2),Flag varchar(3),OuterDiaCost decimal(5,2))
    --insert into #temp values('01 jan 2014',1,4.5,'yes',6)
    --insert into #temp values('01 jan 2014',2,4.5,'no',6)
    --insert into #temp values('01 jan 2014',3,5.5,'no',6)
    --insert into #temp values('02 jan 2014',4,5.5,'no',5.9)
    --insert into #temp values('02 jan 2014',5,5.5,'no',6)
    ;with cte as (
    select ReportDate,
    DiameterCost * PoleCount as DiameterCost,
    PoleCount ,
    'PoleCountofDiameterCost'+cast(DiameterCost as varchar) column1,
    'DiameterCost'+cast(DiameterCost as varchar) column2
    from (
    select ReportDate,DiameterCost,Count(Pole) as PoleCount from #temp
    group by ReportDate,DiameterCost
    ) x
    ),cte1 as (
    select * from cte
    pivot( max(PoleCount) for column1 in ([PoleCountofDiameterCost4.50],[PoleCountofDiameterCost5.50])
    ) pvt
    pivot( max(DiameterCost) for column2 in ([DiameterCost4.50],[DiameterCost5.50])
    ) pvt1
    select ReportDate,
    Max([PoleCountofDiameterCost4.50]) [PoleCountofDiameterCost4.50],
    Max([DiameterCost4.50]) [DiameterCost4.50],
    Max([PoleCountofDiameterCost5.50]) [PoleCountofDiameterCost5.50],
    Max([DiameterCost5.50]) [DiameterCost5.50] from cte1
    group by ReportDate
    Regards, RSingh

  • Page Fragment and javascript - need help please

    Hi all..
    I have a page fragment (being used as a header) and am trying to get a text field in this page fragment to recieve a value from a javascript (that is embeded in the page fragment).. see the example below..
    --------------PageFragment1----------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <div style="-rave-layout: grid; width: 400px; height: 200px" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://www.sun.com/web/ui">
    <f:subview id="Fragment1">
    <ui:textField binding="#{Fragment1.textField1}" id="textField1" style="position: absolute; left: 180px; top: 30px; width: 165px; height: 15px">
    <SCRIPT>
    var d = new Date();
    document.getElementById("Fragment1:textField1").value = d.toLocaleString();
    </SCRIPT>
    </ui:textField>
    </f:subview>
    </div>
    My problem is that doesn't matter what I do I cannot set the textField1 value from the script. For the actual application it does need to be a javascript - does anyone know how to do this on a page fragment as opposed to a plain page...
    The actual error I get is on the client side and it states that document.getElementById is null... :( someone please help.
    Thanks in advance.

    You probably need to prepend "form1:" to the id (or whatever your form's id is) One sure fire way to figure this out is choose view source in your browser and search for the target field.

  • SharePoint 2010 Excel Services with SQLserver 2012 cubes

    I have two tier sharepoint 2010 enterprise setup
    1)wfe  and app server
    2) sqlserver
    I also have a sqlserver 2012 which hosts all our BI cubes .
    is it possible to connect excel (office 2010)  to sql 2012 BI and save that in my sharepoint 2010 server  under shared documents and expect it to refresh when aall authenticated users hit " refresh all connections"
    It is not able to hit refresh . I get a " unable to refresh data for  a data connection in this notebook" the following connections fail to refresh.
    Interesting when I do the same this using sql server 2008 r2 BI , everything works fine

    Hi,
    According to your description, my understanding is that the SharePoint 2010 Excel Service cannot work with SQL Server 2012.
    Did you install Service Pack 1 for SharePoint 2010?
    SharePoint 2010 Service Pack 1 is required for SQL Server 2012 PowerPivot for SharePoint features.
    Please check if the Service Pack 1 is installed for SharePoint 2010. If not, please download it from the link below and install it:
    http://www.microsoft.com/en-hk/download/details.aspx?id=26623
    More references:
    http://msdn.microsoft.com/en-us/library/ee210708(v=sql.110).aspx
    http://msdn.microsoft.com/en-us/library/6d61be91-0396-443c-a7f4-02dcf973775e(v=sql.110)
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • "How do I defrag my mac?" "You don't need to, it does it itself" Fragmented Free Space: 99%. READ THIS NOW

    Just a heads up for my fellow Mac users.
    "How do I defrag my mac?"
    "You don't need to, ever. It does it automatically."
    "But it's running really slowly..."
    "Repair permissions or something. Defragging is not necessary on a mac."
    Techtool pro is now defragmenting my mac. Looks like the job's going to take about 4 hours. I thought I'd give everyone the truth about this while waiting (on a different computer obviously)
    The truth is, Apple's defragmenting system ***** BALLS. It has two massive, massive flaws which I feel people urgently need to be made aware of.
    #1: It only defragments files up to 20mb. If you're a movie producer, a songwriter, a photographer, or anything which involves working with many massive files, the built in defragmenting program WILL NOT HELP YOU IN THE SLIGHTEST.
    #2: It only defragments FILES. Free space is ignored, which eventually causes absolutely hrrendous problems.
    Let me give you an analogy here. Imagine your mac's hard drive is a bookcase with lots of books on it.
    File fragmentation is when it can't find a gap in the bookcase big enough for the entire book, so it breaks the book into pieces and srotes them in different gaps.
    Space fragmentation is when there are gaps all over the bookcase, instead of all the books being pushed to one side so there's a long gap elsewhere.
    Apple's built in defragmenting program will only fix the first problem - and even then, it will ignore any book bigger than 20 pages long, if you have bigger books which are broken up, you're screwed.
    Why is space fragmentation a problem? It's a problem because it directly LEADS TO file fragmentation. If there is a large block of free space all in one part of the disk, then an entire file can be written to it. However, if there is no single free block big enough for the file, it HAS NO CHOICE but to fragment it.
    So basically you might have 5 GB free and want to save a 2GB imovie project. That's cool. But what you may not realize is, the biggest single area of free space is only say 600MB. Others are around 300 and 400. Therefore the file MUST be fragmented into all these different areas, which wouldn't be necessary if all the free space was in one area of the disk.
    But apple's built in tools don't do anything about this, at least not in Tiger. PErhaps this has been fixed in later installations but I'm almost certain the same issues exist in leopard.
    Your only option is to buy a defragmenting program. I know this ***** but believe me, this IS something you NEED to do if your activity on your laptop involves disk space - intensive projects. I'm using TechTool Pro which has been recommended to me as hands down the best. It has a number of other functions as well, right now I'm only using the defragmenting tools but it has others for repairing damages disk sectors and other mantainence tools. There are other programs such as iDefrag out there as well.
    Why am I telling you this? I'm telling you because I experienced mind numbing frustration trying to get answers from the Apple community. Google it or ask the question yourself and you will most likely be whacked in the face with the intro to my post here - "You don't need to, it's not necessary, macs do it themselves, blah blah blah"
    Even worse, Apple's own webpage on the subject is nothing short of a disaster. It basically says "You PROBABLY don't need to defragment, unless you work with large files." That's it. You'd expect it to have an extra section saying "If you DO happen to work with large files, here's what you do" but no such section exists. It basically says "You don't need to defrag most of the time, and on the rare occasions when you do, well, too bad, you're screwed."
    I urge everyone to heed this or they will be tearing their hair out at how slow their mac has become and the fact that no one will offer any meaningful advice other than the standard, generic, "Repair permissions" - the Mac equivelant of "have you tried turning it off and on again".
    My disk is at 99% fragmented free space. NINTEY NINE PERCENT. In other words, although I have 25GB of free space, there was not a single contiguous block on the entire machine. I had almost 5,000 fragmented files as well, mostly imovies. Defragmenting got this down to about 300.
    The defrag job is taking more than 4 hours and will probably go on to take a lot longer than that. This machine has been slowly grinding to a halt over the last 3 years and now I know why.
    Please don't listen to anyone. Get yourself a defragmenting folder, and email Apple to tell them it's just not good enough to give their customers half assed answers and inadequate basic maintainence tools. Mac OS X must literally be the only operating system out there where something as basic as defragmenting is not only almost impossible to get answers on, but actually costs money to fix once you DO get answers.
    As customers, we should not accept this any longer. I intend to spread the above message far and wide.
    I LOVE Apple. I've always been "a mac" and I always will be. This in no way a mac bashing post or a windows endorsing one. I wouldn't switch back to windows if you gave me a million euro.
    But sometimes even the best developers can royally f*ck up. This is one of them.
    There is no readon people should be forced to put up with this crap. Absolutely no reason at all. I've had 3 months of crappy performance with no official explanation whatsoever.
    Apple if you're reading this: I love your products. I'm a loyal customer. People are more forgiving than you think, speak up, admit you dropped the ball, and DO something about it in your next updates to Lion and whichever versions of Leopard you are still actively maintaining.
    There's no shame in admitting when you're wrong. The shame is in hiding behind false promises and walls of silence.
    --Loyal customer, but feeling rather betrayed by all this.

    The old rule of thumb was to keep 10-12 GB free. Any lower than that and you will start to have trouble. I was very close to that for a long time and never had any complaints. Now, Lion "encourages" 20% free space (on my newer 250 GB drive) so I try to keep it with more than 50 GB free.
    Do you still have the original memory in that machine too? The metal plate you have to remove in the battery compartment also provides access to the RAM. Your machine will take 2 GB of RAM, possibly 3. You definitely want to max that out too.
    Regardless, you definitely need a new hard drive. When Apple switched to PC components, they had to take a quality hit. These 2.5" notebook hard drives are not very reliable. I'm surprised your hard drive hasn't died by now. I usually get a new hard drive with every major OS upgrade. A $ 50 investment every couple of years is no big deal.
    Unfortunately, you (and I) suffer from being an early adopter in 2006. Those 32-bit machines only accept 2 GB RAM (maybe 3) and are only 32-bit so they can't be upgraded to Lion. Because of this limitation, you won't see as dramatic an improvement as you would with a 2007 machine. If you run more than a couple of applications, your hard drive is always going to have to be doing some VM work. My 2006 machine has even lost its bluetooth. I gave it to my brother. My very similar 2007 Macbook is still running great.
    So, you must get a new hard drive because your old one is likely on death's door. If you don't have at least 2 GB - get it. If you can't afford a new machine, you might want to consider an SSD. That might help mitigate your RAM limitations. You can spend from $ 100 to $ 350 and get a dramatic speed improvement.

  • PLEASE HELP!!!  Problem with Java and SQLServer Text data type

    Hi there,
    I have a java app. that reads from an MS SQLServer database. Originally, all long text fields were declared as NVARCHAR(200). The program worked fine.
    Someone then advised that I change all long text fields to the TEXT data type. The program now crashes out with the following Exception:
    "java.sql.SQLException: [JRun][SQLServer JDBC Driver]This ResultSet can not re-read row data for column 25."
    Basically, I have a method that retrieves a resulset and iterates through it. The resultset is passed to another method during each iteration. In the example below, the 'specialNote' field used to be NVARCHAR(200). The code worked fine. Then when it was changed to TEXT, the program no longer works with the above Exception thrown.
    Anyone know any special way SQLServer TEXT data types need to be handled?
    Thanks for any advice!
    The code looks something like this in functionality:
    <CODE>
    public void method1 (Connection conn)
    Resultset rs = conn.createStatement().executeQuery("SELECT * FROM ProductBB");
    while (rs.next())
    method2(rs);
    public void method2 (ResultSet rs)
    String str = rs.getString("specialNote");
    </CODE>

    Hi JWoods,
    Thanks for the suggestion. I originally had the code do what you suggested, ie, get the resultset then retrieve the data all within the same method. The data is then used to set properties in an object.
    When I had to create another method that also retrieved a resultset but using a different primary key, then also use the returned data to set the properties in the same type of object, I didn't want to repeat the setter code. That's why I decided to pass the resultsets to the same method that did the property setting.
    Unfortunately, it stopped working with the data type change.
    Any other thoughts?

  • Problem with popup in a page fragment

    JDev 11.1.2.1
    I'm using the code described here to launch popup from a backing bean.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    How-to launch a popup programmatically from Java
    Starting Oracle JDeveloper 11.1.1.3, instance of af:popup can be opened using a Java method on the RichPopup object. The RichPopup class is the bean implementation of the af:popup ADF Faces tag. To launch a popup from a managed bean, you first need to get a hold on to a rich popup instance, which you can do by searching it on the UIViewRoot or by referencing a JSF component binding – which you create using the "binding" property of the af:popup component tag. To open the popup you then call
    RichPopup.PopupHints ph = new RichPopup.PopupHints(); popup.show(ph);
    It works fine except when the popup is inside a page fragment.
    In IE 7 I get the javascript error message
    "this.getDomNode().parentNode' is null or not an object"
    I have also tried the following code; that works fine except when the popup is inside a page fragment.
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = popup.getClientId(context);
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService service =
    Service.getRenderKitService(facesContext,
    ExtendedRenderKitService.class);
    service.addScript(facesContext,
    "AdfPage.PAGE.findComponent('" + popupId + "').show();");
    Any idea how to launch a popup in a page fragment?

    Since this is working for others I'm working on a test case to send to oracle.
    I'll try to give more information.
    Main.jspx
    has a region for Child.jsff using a bounded task flow.
    <af:region value="#{bindings.Child.regionModel}" id="r1"/>
    Child.jsff has a popup bound to backing bean and a button that calls java to open the popup.
    Child.jsff has its own set of bindings. It is not inherting parent bindings.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:resource type="javascript"/>
    <af:group id="g100">
    <af:popup childCreation="deferred" autoCancel="disabled" id="p1" binding="#{TestBacking.testPop}">
    </af:popup>
    <af:commandButton text="testPopup" id="cb1" actionListener="#{TestBacking.test}"/>
    TestBacking.java
    public void setTestPop(RichPopup testPop) {
    this.testPop = testPop;
    public RichPopup getTestPop() {
    return testPop;
         public void test(ActionEvent actionEvent) {
              RichPopup.PopupHints ph = new RichPopup.PopupHints();
              testPop.show(ph);
    Edited by: Phil on Nov 14, 2011 11:53 AM
    Edited by: Phil on Nov 14, 2011 11:58 AM

Maybe you are looking for

  • I upgraded to Mavericks; Can't access Premiere Pro CC

    I suppose, in the middle of a project, I got a little excited when Apple released Mavericks and upgraded straight away without prior thought to the possible interuptions of workflow. I can't open Premiere since I've upgraded to Mavericks. I downloade

  • Fetch records having timing before 3 PM

    Hellow All, We are using Oracle 10G R2 on windows. I have a requirment that i need to fetch the records which are having cut off time before 3 pm. query should not fetch records after 3 pm. Please help how we can achive this. For testing purpose I ha

  • Sleep problem with iMac Duo Core

    I purchased this 20" iMac Duo Core five days ago. Whenever the iMac enter sleep mode with pulsating indicator light below the screen, waking up the iMac always cause complete reboot of iMac. Is this a known issue with 20" iMac Core Duo or there is so

  • Implications of  CIN Activation in SAP

    Dear Team, We have a company code in India, however we didnt activate Country India Version when it went live. However, due to the complexity of legal requirement in India, we would like to activate the CIN in productive system in order to fulfill th

  • Adobe Premiere Pro Help | Transferring and importing files

    This question was posted in response to the following article: http://helpx.adobe.com/premiere-pro/using/transferring-importing-files.html