Subvi containing controls should use already existing window

Hello,
I am building a User Interface that has several levels (main vi, several
second and third level subvis. The second level subvi contains
controls, so it opens a new window when called,
but it should clear the already existing window of the main vi, use this
window and restore the main vi after completion.
The third level subvis add some more controls to the second level subvis',
so they should use their window, but without clearing the second level subvis.
How can this be done?
Thanks
Thomas

I change my main screen controls and indicators all the time using references. I had to, since my one project had almost 100 controls and indicators (on tab controls) for the user to input data. With that many controls and indicators, direct wiring to subVIs would have been such a mess.
But... back to what you want. Basically, you open a reference to the VI that you want to access controls/indicators on and use Invoke nodes to Set Control Value or Get Control Value. Don't forget to close your reference when you're done with it.
I have included my library that I use for these functions so you can see how I do it. Have fun.
Rob
Attachments:
Panel_Ref_Lib.zip ‏104 KB

Similar Messages

  • Object ResPersonBean of type Control Binding Definition already exists.

    hi when i run my jsff page am geting this error,am in jdeveloper 11.1.1.6.0, this is what i have follow http://www.oracle.com/technetwork/developer-tools/jdev/ccset36-all-097334.html
    oracle.jbo.NameClashException: JBO-25001: Object ResPersonBean of type Control Binding Definition already exists.
         at oracle.adf.model.binding.DCBindingContainer.addBinding(DCBindingContainer.java:1239)
         at oracle.adf.model.binding.DCBindingContainer.addControlBinding(DCBindingContainer.java:1214)
         at oracle.adf.model.binding.DCControlBinding.setName(DCControlBinding.java:161)
         at oracle.adf.model.binding.DCBindingContainer.addControlBinding(DCBindingContainer.java:1314)
         at oracle.adf.model.binding.DCBindingContainerDef.createControls(DCBindingContainerDef.java:822)
         at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:874)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
         at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:127)
         at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:81)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.getCurrentBindingContainer(TaskFlowRegionModel.java:770)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:190)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__test_jspx._jspx___tag3(__test_jspx.java:243)
         at jsp_servlet.__test_jspx._jspx___tag2(__test_jspx.java:204)
         at jsp_servlet.__test_jspx._jspx___tag1(__test_jspx.java:154)
         at jsp_servlet.__test_jspx._jspx___tag0(__test_jspx.java:104)
         at jsp_servlet.__test_jspx._jspService(__test_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <25 Sep 2012 12:35:28 PM> <Error> <HTTP> <BEA-101020> <[ServletContext@9157004[app:UAMOrganisation module:UAMOrganisation-ViewController-context-root path:/UAMOrganisation-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NameClashException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25001. Error message parameters are {0=Control Binding Definition, 1=ResPersonBean}
         at oracle.adf.model.binding.DCBindingContainer.addBinding(DCBindingContainer.java:1239)
         at oracle.adf.model.binding.DCBindingContainer.addControlBinding(DCBindingContainer.java:1214)
         at oracle.adf.model.binding.DCControlBinding.setName(DCControlBinding.java:161)
         at oracle.adf.model.binding.DCBindingContainer.addControlBinding(DCBindingContainer.java:1314)
         at oracle.adf.model.binding.DCBindingContainerDef.createControls(DCBindingContainerDef.java:822)
         Truncated. see log file for complete stacktrace
    >
    <25 Sep 2012 12:35:28 PM> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 25 Sep 2012 12:35:28 PM. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 25 Sep 2012 12:35:28 PM SERVER = DefaultServer MESSAGE = [ServletContext@9157004[app:UAMOrganisation module:UAMOrganisation-ViewController-context-root path:/UAMOrganisation-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NameClashException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25001. Error message parameters are {0=Control Binding Definition, 1=ResPersonBean}
         at oracle.adf.model.binding.DCBindingContainer.addBinding(DCBindingContainer.java:1239)
         at oracle.adf.model.binding.DCBindingContainer.addControlBinding(DCBindingContainer.java:1214)
         at oracle.adf.model.binding.DCControlBinding.setName(DCControlBinding.java:161)
         at oracle.adf.model.binding.DCBindingContainer.addControlBinding(DCBindingContainer.java:1314)
         at oracle.adf.model.binding.DCBindingContainerDef.createControls(DCBindingContainerDef.java:822)
         at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:874)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
         at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:127)
         at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:81)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.getCurrentBindingContainer(TaskFlowRegionModel.java:770)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:190)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:112)
         at oracle.adf.view.rich.component.fragment.UIXRegion$RegionContextChange.doChangeImpl(UIXRegion.java:1199)
         at oracle.adf.view.rich.context.DoableContextChange.doChange(DoableContextChange.java:91)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:693)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__test_jspx._jspx___tag3(__test_jspx.java:243)
         at jsp_servlet.__test_jspx._jspx___tag2(__test_jspx.java:204)
         at jsp_servlet.__test_jspx._jspx___tag1(__test_jspx.java:154)
         at jsp_servlet.__test_jspx._jspx___tag0(__test_jspx.java:104)
         at jsp_servlet.__test_jspx._jspService(__test_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = srd-ws23042 TXID = CONTEXTID = f43e1d034e2e3af8:-68bed65e:139fcfe7053:-8000-000000000000001e TIMESTAMP = 1348569328214
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <25 Sep 2012 12:35:29 PM> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\10017134\appdata\roaming\jdeveloper\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_13 with a lockout minute period of 1.>
    and my PageDef
    is
    Edited by: ADF007 on 2012/09/25 2:50 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

    when i change #{bindings.addorgflow.regionModel} to #{bindings.addorgflow1.regionModel} and change id ResPersonBean to ResPersonBean1 it run my jsff page

  • OLE using already existing Word-session

    Hi!
    I4m new in the Oracle-world and I4m sitting here trying to figure out how I from Forms 4.5 can see if there is an existing OLE2 object. I have a procedure (look below) that starts a Word-session but I don4t want to open a new session each time I4m calling the procedure in my form. Is there any way to see if an object already exists or some other smart way to do this?
    Please help me if you know how!
    /Anna
    procedure StartWord is
    begin
    obj_hnd := ole2.create_obj ('Word.Basic');
    ole2.invoke(obj_hnd, 'AppShow');
    end;

    hi
    I've got a problem !
    I can't reach bookmarks into word via OLE
    create_obj('WORD.BASIC')
    If you know, would you help me?
    Oliver

  • Using already existing directory structure to create rolls

    I'm converting from iView into iPhoto. I have hundreds of directories titled things like 011606.SamuelWasBorn/ with subdirectories in there called /Images /FinishedImages /WebMedium /EmailSmall etc... and then plenty of .tif and .jpegs inside of those.
    I've been doing this one Cmd-Shift-I at a time, followed by a Cmd-A t select all, then a Cmd-Shift-N for a new album, followed by retyping in the name and dropping the date.
    Sigh. I'm 6 weeks into this now and still only 1/4 of the way through.
    Has anyone tried to drag and drop an entire directory structure into iPhoto's directory structure, fire up iPhoto, and have it recognize all that stuff as a whole bunch of new rolls that lack thumbnails? Would that work? Would iPhot then offer to update its thumbnails? And then would I be happy and fully integrated into my new iPhoto life?
    I'm just a bit too chicken to give it a try. If nobody's tried this before, I'll create a test library and give it a go, but if someone has experience with doing this, I'd appreciate any pointers.
    Thanks.
    Oren

    Oren:
    Welcome to the Apple Discussions. iPhoto creates a roll with the same name for any folder of image files that are imported into it. All you have to do is select your folders of source files and drag them into iPhoto's open window.
    If you want to use iPhoto's alias feature you can keep your current source folders and drag them into a library that's setup to not copy the files into it but use alias files. The library works as a conventional library with the exception that if you delete a photo from the library it does not delete the source file. That must be done manually via the Finder. I've created some Tutorials to assist users to convert over to an alias based system or go to an iView based one.
    I use iView as my primary image management and iPhoto's alias feature to create a library of the same source files. That way I have the best of both applications. Also, when using the alias method, the importing process is much faster. Good luck.

  • Userform controls disappearing in Word 2013/Windows 8.1 with High-Res display - DLL error?

    I have a .dotm file with a large number of modules and userforms. Creating new documents from the template works fine on almost every computer I've tested it on (hundreds), but I've run into a setup that fails consistently.
    Two different Samsung ATIV 9's with a high res display and Windows 8 (64bit)/Office 2013 show the same problem:
    When opening a new document based on the template for the first time, it works fine. If I open the VB editor, everything looks normal, userforms are intact.
    On the second and all consecutive attempts, it throws a "Type Mismatch" error. Opening the VB Editor, I get a compile error on lines of code referencing components of the first userform (alphabetically). Opening that userform, it shows only a blank
    multi-page control, and all the other controls are missing - hence the new compile errors on controls that used to exist. If I remove that userform and save the file, the project compiles, but opening a new document from the template will result in "Word
    has stopped working..."
    I can actually reproduce this behavior starting from scratch - new blank document, save as a .dotm. Create a new userform and add a multipage control. Clicking any control in the toolbox to add it to the form will result in a "Type Mismatch" error,
    even though there's no VBA code. I can then successfully add the control to the form. But, once I save and reopen the template, the multi-page control is blank, and the other controls I put on it disappear.
    I at one point got an error from the VB Editor that it "could not open macro storage" and the included help suggested that might be due to an incorrect version of vbe7.dll.
    The only copy of vbe7.dll I could find was at:
    c:\Program Files\Microsoft Office 15\root\vfs\ProgramFilesCommonX86\Microsoft Shared\VBA\VBA7.1
    The dll version was 7.1.10.44
    I tried replacing that file with a vbe7.dll file from a working computer (version 7.0.15.89 from c:\Program Files (x86)\Common Files\microsoft shared\VBA\VBA7), but that just resulted in the VB editor not loading at all.
    I have tried both a 32bit Click-to-run version of Office 2013, and installing off a CD with 64bit Office 2013, both had exactly the same error.
    The reason I'm wondering if it's a high-DPI display related error is that googling about vbe7.dll errors, I came across this hotfix:
    http://support.microsoft.com/kb/2880496/en-us
    which claims it "Fixes various Visual Basic for Applications (VBA) issues with displays on high-DPI devices."
    Neither the 32bit or 64bit installer for that hotfix would run, they said there was no affected programs installed.
    My reasoning for suspecting a hardware/DLL incompatibility is this:
    1) It's not the template or the VBA code, since those work elsewhere and the same behavior happens with any file with a userform
    2) It's not the Office version, since both 32/64 bit, MSI and Click-to-run didn't work
    3) It's not Windows 8.1, since this same template works fine on other machines
    4) The first time I open the template on the affected machines, it works fine - but the template is shipped compacted and decompiled. After I open it once and then close, Word has compiled the code and corrupted it somehow, because whatever the first userform
    was in the list shows up as blank.
    5) It feels hardware-specific, since out of hundreds of machines, I've only seen this behavior on two of the same laptop model - seems like too much of a coincidence.
    Is there any chance the VBE in Office 2013 is somehow incompatible with this hardware? If that might be the case, does anyone have any idea how I'd go about testing and/or fixing it?
    Any thoughts are much appreciated.

    Hi Chris,
    Try the following.
    Download the IDT Audio installer on the link below and save it to your Downloads folder.
    http://ftp.hp.com/pub/softpaq/sp59501-60000/sp59861.exe
    When done, open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers.  If you see an entry for IDT HD Audio ( or very similar IDT entry ), right click the device and select Uninstall - you should also get a prompt to remove the current driver, tick the box to allow this and then proceed with the uninstall.  If there was no IDT entry, just proceed below.
    When complete, shut down the notebook, unplug the AC Adapter and then remove the battery.  Hold down the Power button for 30 seconds.  Re-insert the battery and plug in the AC Adapter.
    Tap away at the esc key as you start the notebook to launch the Start-up Menu and then select f10 to enter the bios menu.  Press f5 to load the defaults ( this is sometimes f9, but the menu at the bottom will show the correct key ), use the arrow keys to select 'Yes' and hit enter.  Press f10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Let Windows fully load - it will automatically load an audio driver, but just let this complete.  Then open your Downloads folder, right click on the IDT installer and select 'Run as Administrator' to start the installation.  When this has completed, right click the speaker icon in the Taskbar and select Playback Devices.  Left click 'Speakers and Headphones' once to highlight it and then click the Set Default button - check if you now have audio.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Error message Already exist

    Adobe Reader still having problem installing adobe reader still getting a error message already exist Windows 7 PC

    Hello,
    Please use the Acrobat cleaner tool - http://labs.adobe.com/downloads/acrobatcleaner.html
    ~Deepak

  • How to use an existing remote database instance?

    Hi,
    is it possible to use an existing remote database instance for installation of Solution Manager?
    Our dba has setup an empty database instance on a hpux oracle cluster for me and I don´t know how to tell the SAPinst during the installation of the distributed system that it should use this existing database.
    Or is it mandatory to run the installation on the host where the database should resides and then create a new instance?
    Thanks in advance for any hints!
    Christian

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • Already existing adapter modules in Decentralized Adapter Engine(urgent)

    hi 2 all,
    I have installed a Decentralized AE.
    I wanted to know whether i can use already existing modules in XI directly in my communication channel with my non central DAE as the adapter engine.
    Or i have to deploy SCA of those already existing modules also ??
    If i can use how to write that in modules
    regards,
    ujjwal kumar

    ya i used it but i am getting the error:
    Delivery of the message to the application using connection AFW failed, due to: Object not found in lookup of XMLAnonymizerBean
    so i might be using wrong format.
    i wrote module name as :localejbs/AF_Modules/XMLAnonymizerBean
    and module type as local enterprise bean
    regards

  • VB ActiveX User Control fails to install on Windows 8 using IE10 with Code Download Error: (hr = 80070005) Access is denied.

    I have a VB VS2008 (.Net 2.0) ‘pure’ .NET based user control which used to be hosted in Internet Explorer.
    Because that approach is no longer possible in VS2013 (.Net 4.5) I have converted it to an VB ActiveX user control.
    This process involves digitally signing the user control DLL.
    Creating a setup project resulting in a setup.exe and MyUserControl.msi.
    Digitally signing both those components and then producing a cab file (which again is digitally signed).
    IE10 should then be able to install this using an object tag as follows
    <object id="editor" height="100%" width="100%"
     classid="clsid:EA47DB16-9272-4CB3-A800-C369A479396A" codebase="cab\MyUserControl.cab#Version=6,0,11,1" VIEWASTEXT>
    If I use the setup.exe and MyUserControl.msi directly on the client windows 8 machine before starting IE10 then the control is already installed (shows up in Programs and Features) and it works.
    If I don't do this and let IE install the control then it doesn't work.
    What I see is the IE prompt
    This website wants to install the following add-on: 'MyUserControl.cab'
    Clicking on install produces the User Account Control MsgBox
    Do you want to allow the following program to make changes to this computer
    Clicking yes doesn't install the control as expected
    The inf file that I'm using is currently
    [version]
    signature="$CHICAGO$"
    AdvancedINF=2.0
    [Add.Code]
    setup.exe=setup.exe
    MyUserControlSetup.inf=MyUserControlSetup.inf
    MyUserControlSetup.msi=MyUserControlSetup.msi
    [setup.exe]
    file=thiscab
    [MyUserControlSetup.inf]
    file=thiscab
    [MyUserControlSetup.msi]
    file=thiscab
    [Setup Hooks]
    RunSetup=RunSetup
    [Deployment]
    InstallScope=user
    [RunSetup]
    run="%EXTRACT_DIR%\setup.exe"
    I have defined the registry setting ForceCodeDownloadLog
    Examining the temporary internet files location after trying to install using IE10 I can see the following
    *** Code Download Log entry (15 Jan 2015 @ 11:49:18) ***
    Code Download Error: (hr = 80070005) Access is denied.
    ERR: Run Setup Hook: Failed Error Code:(hr) = 80070005, processing: %EXTRACT_DIR%\setup.exe
    LOG: Reporting Code Download Completion: (hr:80070005 (FAILED), CLASSID: ea47db16...,

    The problem here was the cab file.
    Using ProcessMonitor I found that the following entry was generated at the time of failure
    16:48:00.9222751            2920      IEInstal.exe         CreateFile              
    C:\Users\Jim\AppData\Local\Temp\IDC2.tmp\setup.exe             NAME NOT FOUND               Desired Access: Read Attributes, Read
    Control, Synchronize, Dis, Options: Synchronous IO Non-Alert, Non-Directory File, Disallow Exclusive, Attributes: n/a, ShareMode: None, AllocationSize: n/a
    Analysis of the contents of the cab file using PeaZip indicated that it didn't contain setup.exe which confused me for a while as the makecab /f MyUserControlSetup.ddf produced no errors.
    The MyUserControlSetup.ddf contained
    .Set DiskDirectoryTemplate=cab
    .Set CabinetNameTemplate=DocEditor.cab
    MyUserControlSetup.inf
    MyUserControlSetup.msi
    setup.exe
    Using makecab /f MyUserControlSetup.ddf /v3 I saw that the output was being written to 3 'disk' files but only one was present in explorer after it finished.
    So I guessed that the output was for floppy disks and changed MyUserControlSetup.ddf to contain
    .Set MaxDiskSize=CDROM
    .Set DiskDirectoryTemplate=cab
    .Set CabinetNameTemplate=DocEditor.cab
    MyUserControlSetup.inf
    MyUserControlSetup.msi
    setup.exe
    PeaZip now indicated that the cab file contained the 3 files I expected and using that cab in the codebase attribute installed my ActiveX control

  • Another parent window already exist for this section

    Hi folks, I'm incrementing some workflows (GSM and NPD) in my instance, unfortunately after I created these workflows I'm facing many issues. The most common issue happens when I'm going to a new step, I receive the message: "another parent window already exist for this section".
    In other cases I receive messages like that:
    Server Error in '/npd' Application.
    Exception of type 'Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException' was thrown.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException: Exception of type 'Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException' was thrown.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [BusinessObjectUIManagerNotFoundException: Exception of type 'Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIManagerNotFoundException' was thrown.]
    Xeno.Web.UI.BusinessObjectUIService.BusinessObjectUIService.get_Item(String businessObjectUIMgrId) +190
    Xeno.Prodika.NPD.WebUI.Activity.ActivityLinearWorkflowDataSource.setParams(StringSplitter ss) +101
    Xeno.Prodika.Common.ClassProtocolHandler.intializeObject(Object obj, StringSplitter splitter, ObjectArgs args) +68
    Xeno.Prodika.Common.ClassProtocolHandler.Internal_CreateObject(String name, ObjectArgs args) +310
    Xeno.Prodika.Common.ClassProtocolHandler.CreateObject(String name) +11
    Xeno.Prodika.Common.ObjectLoader.createObject(String name) +64
    Xeno.Web.UI.Common.Popups.LinearWorkflowActionPopup.OnInit(EventArgs e) +64
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
    Carlos

    Hi Matt, I previously didn't change the files environmentvariables.config and environmentsettings.config. So I didn’t have the connection to DB set up. To fix that I tried to different methods, copy and paste the v6.0.0 files, from my running environment, and merge the files from 6.0.0 to the 6.0.1.
    Now I can't start Remote Container Service, I'm getting a message that says: Could not start RemoteContainerService on a local computer. Error 1067. The process terminated Unexpectedly.
    When I try to reach the portal I get the following error:
    'server' is an invalid connection string attribute
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.ArgumentException: 'server' is an invalid connection string attribute
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [ArgumentException: 'server' is an invalid connection string attribute]
    Oracle.DataAccess.Client.OracleConnection.ParseConnectionString() +2798
    Oracle.DataAccess.Client.OracleConnection.set_ConnectionString(String value) +369
    Xeno.Data.XDataObjectConnection.set_ConnectionString(String value) +41
    Xeno.Data.XDbConnectionPool.internal_create() +132
    Xeno.Data.XDbConnectionPool..ctor(Int32 min, Int32 max, Int64 expirationTime, String connectString, Boolean isDisconnected, IXDBAdapterFactory dbAdapterFactory) +339
    Xeno.Data.XDbConnectionPool..ctor(Int32 min, Int32 max, Int64 expirationTime, String connectString, IXDBAdapterFactory dbAdapterFactory) +54
    Xeno.Prodika.Config.ConnectionPoolConfig.Xeno.Prodika.Config.IConnectionPoolConfig.CreatePool() +116
    Xeno.Prodika.Application.Manager.ApplicationManagerFactory.Xeno.Prodika.Application.IApplicationManagerFactory.CreateApplicationManager(String configFile, String configRoot, String profile, IApplicationState state) +188
    Xeno.Prodika.Application.Facade.AbstractPlatformFacade.get_AppState() +135
    Xeno.Prodika.Application.Facade.AbstractPlatformFacade..ctor(String configFile, String configRoot, String profile, String uid, String pwd) +97
    Xeno.Prodika.Application.Facade.PlatformFacadeImpl..ctor(String configFile, String configRoot, String profile, String uid, String pwd) +64
    Xeno.Prodika.Application.Facade.PlatformFacadeFactoryImpl.Create_Internal(String configFile, String configRoot, String profile, String uid, String pwd) +41
    Xeno.Prodika.Application.Facade.PlatformFacadeFactoryBase.Create(String configFile, String configRoot, String profile, String uid, String pwd) +24
    Xeno.Prodika.Application.Facade.PlatformFacadeFactoryImpl.Create_Internal(String configRoot) +14
    Xeno.Prodika.Application.Facade.PlatformFacadeFactoryBase.Create(String configRoot) +12
    Xeno.Prodika.Application.Facade.ProdikaWebFacadeHelper.GetPlatformFacade(HttpSessionState session) +187
    Xeno.Prodika.Application.Facade.ProdikaWebFacadeHelper.GetPlatformFacade(HttpContext hContext) +95
    Xeno.Web.Modules.FormsAuthenticationHelperModule.GetPlatformFacade(HttpContext ctx) +14
    Xeno.Web.Modules.FormsAuthenticationHelperModule.PlatformAuthenticationTokenHandler(Object sender, EventArgs args) +599
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
    Regards
    Carlos

  • I am trying to install iTunes 12.0 on my Windows 7 PC to sync my iPhone6. I am getting error message, "Item already exists" on installation of iTunes 12.0.  Apple has no fix. Help???

    I am trying to install iTunes 12.0 on my Windows 7 PC to sync my iPhone6. I am getting error message, "Item already exists" on installation of iTunes 12.0.  Apple has no fix. Help???

    Item or object?
    For "Object already exists" or "Access denied" errors when installing try opening Control Panel > Programs and Features > View installed updates then checking for Security Update for Microsoft Windows (KB2918614). Uninstall if you have it, then reboot and try installing again.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • How to deal with "Error 1001. The specified service already exists" when install a service using installer package?

    Hi everybody,
    I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
    Setup Project to install it.
    Here is what I did for the "Class Library":
    1. Finish the program.cs, Service.cs
    2. Add Installer
    3. Change the serviceInstaller so that "StartType" to be Aotumatic
    4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
    5.
    6. Click in F5 (Start Debugging)
    Here is what I did for the Setup Project:
    1. Add the exe file built from the "Class Library" project to the Application Folder
    2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
    3. Change the property of the project so that "RemovePreviousVersion" to be true
    4. Click on F6(Build Solution)
    Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
    1. After unstall, the registry was not cleaned up about the installed program
    2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
    My questions are:
    1. How to cleanup the registry when uninstall a program?
    2. How to deal with the "Error 1001. The specified service already exists"?
    3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
    Thanks a lot!
    Helen

    Hi Simon, not a problem!
    I spent some more time on this and here are few more notes:
    it is called Major Upgrade, when you are installing new version of the product upon a previous one and
    MSI supports 2 strategies:
    Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
    installed files)
    Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
    From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
    will be reverted to the previous state and it'll be still functional. 
    Let's consider both strategies:
    Consider you have installed product_v1.msi and you want to install product_v2.msi.
    Strategy 1
    1. MSI engine copies files from Product_v1 directory to TEMP directory
    2. MSI engine merges files based on the assembly version (between v1 and v2)
    3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts  action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
    Strategy 2
    1. MSI engine tottaly removes all files from v1.
    2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts  allready worked out and MSI doesn't have files to revert machine back
    I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
    here.  So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
    AND, you got "Error 1001. The specified service already exists"
    because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
    installation and  they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
    and delete), like this:
    *clip*clip*clip*
    ' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
    ' Update the Service Entry to stop and delete service while uninstalling
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    ' Update the Service Entry to stop and delete service while installing
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    *clip*clip*clip*
    We can uninstall service first by following Strategy 2, but then we lose transactional support.
    So, Simon did I encourage you to change your code a bit?:)
    And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
    Hope it will help to everybody!
    See also more advanced explanation of how MSI works
    here.
    Truly yours, Marat

  • What is the best practice for inserting (unique) rows into a table containing key columns constraint where source may contain duplicate (already existing) rows?

    My final data table contains a two key columns unique key constraint.  I insert data into this table from a daily capture table (which also contains the two columns that make up the key in the final data table but are not constrained
    (not unique) in the daily capture table).  I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns).  Currently, what I do is to select * into a #temp table from the join
    of daily capture and final data tables on these two key columns.  Then I delete the rows in the daily capture table which match the #temp table.  Then I insert the remaining rows from daily capture into the final data table. 
    Would it be possible to simplify this process by using an Instead Of trigger in the final table and just insert directly from the daily capture table?  How would this look?
    What is the best practice for inserting unique (new) rows and ignoring duplicate rows (rows that already exist in both the daily capture and final data tables) in my particular operation?
    Rich P

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> My final data table contains a two key columns unique key constraint. [unh? one two-column key or two one column keys? Sure wish you posted DDL] I insert data into this table from a daily capture table (which also contains the two columns that make
    up the key in the final data table but are not constrained (not unique) in the daily capture table). <<
    Then the "capture table" is not a table at all! Remember the fist day of your RDBMS class? A table has to have a key.  You need to fix this error. What ETL tool do you use? 
    >> I don't want to insert rows from daily capture which already exists in final data table (based on the two key columns). <<
    MERGE statement; Google it. And do not use temp tables. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Create a hyperlink that does not open a new window if a window containing the url is already open?

    Is there a way to create a hyperlink to a url that "jumps to" the URL's window if it is already open in the browser?  Therefore a new window is not opened and the existing window containing the hyperlink would not change either.
    If the target url is not already open, then yes the link could either open in a new window or in its existing window.
    Does anyone know if there is a command/code for this? 

    Ok, so to be clear, I should add all of the following:
    Header 1
    function getCookie(c_name) {
    if (document.cookie.length>0)   {
    c_start=document.cookie.indexOf(c_name + "=");
    if (c_start!=-1)     {
        c_start=c_start + c_name.length+1;
        c_end=document.cookie.indexOf(";",c_start);
        if (c_end==-1) c_end=document.cookie.length;
        return unescape(document.cookie.substring(c_start,c_end));
    return "";
    function wOpen () {
    var cookiename = getCookie ('winFlag');
    newWin = window.open("YOURPAGE.html","myWin'","height=200, width=200");
    newWin.blur();
        document.cookie = "winFlag=1";
    into 1 file?  And that is the file that links to the music page?
    I don't know if my Flash music page creates a cookie onto the user's browser.  That would be necessary for this to work, right?

  • Can't reinstall itunes on windows 7 comp. Get error message "object already exists"

    Difficulty reinstalling itunes on Windows7 machine. Despite uninstalling everything apple, I constantly get error message: "object already exists" and the install fails. I have gone through hard drive but can't find anything itunes or apple. Uninstalled everything apple in control panel. What am I missing?

    Try opening Control Panel > Programs and Features > View installed updates then checking for the Security Update for Microsoft Windows (KB2918614). , Uninstall if you have it, then reboot.
    There is a strong hint here that it should resolve this issue, although personally I have that update installed and have been able to remove and reinstall iTunes without any problem.
    Click for more on KB2918614 which is an update to the Windows Installer Service released July 12th 2014. The timing and nature of the update suggest a connection with the "Object already exists" issue which affects other installations as well as iTunes.
    tt2

Maybe you are looking for

  • Iphone 4s Loses Signal when Connected to HDMI

    Hello, I have an Iphone 4s with the most current software as of today.  When I plug the phone into the AV adapter and then to the HDMI to the TV, I lose cell service, it literally says NO SERVICE in the corner. If I unplug the HDMI, it comes back alm

  • Create an excel template for a report and open it always in that template

    Hi, I've a question. I have a report in BI Answers. I would export it in BI Publisher and create for it an excel template which contains any text and a macro. Then I would associate report to the template so that when i open report in BI Publisher, i

  • Problem using XML function in procedures (internal error )

    Hi all, I use the XML function in a stored procedures but when i compile these i have this error PLS-00801: internal error (74806). The strangeness is that the single instruction launched from sql plus type SELECT XMLElement("? xml",xmlattributes('1.

  • Bypassing Buffer

    What is the advantage of using "Bypassing Buffer" in select statement ? Message was edited by:         tangirala sriram

  • Phantom EMagic A/26/A62 - How'd this get on my system?

    Heya All, I was rooting through my system, trying to diagnose a Bluetooth hang issue, in System Preferences, I notice a preference item for A 6|2m". I'm in my preferences regularly, this has never been there before. I haven't added any new hardware i