Error: Failed to initialize mediacore

Hi people, im having trouble at startup, im using AE CS3 and when crashes it throws me "failed to initialize mediacore".
Then the program runs but it kinda throw some artifacts in the project im working, like little black bars ruining everything, those also appear on the exported render.
I tried updating codecs and downloading the latest quicktime but nothing works.
CS3 is the only alternative because my partners are sending me AE CS3 projects.
Im working on windows xp proffesional sp3, mi proccesor is an Intel Core2 Duo CPU T5750 @ 2GHz, mi ram is 3GB, an my video card is an integrated onboard Mobile Intel 965 Express Chipset Family.
Google doesnt help to much, only a few results came up.
Well thats it, anyone have any idea? dont be shy, everything help.

Apples and oranges. Even for AE7 Adobe never supported OpenGL officially, but since it used an older version of OpenGL, your chip set may just be sufficiently powered to deliver all the features. And AE7 did not have MediaCore... Anyway, could you just try to reduce the hardware acceleration level in your system generic display settings? Or perhaps there is some compatibility settings you can tweak? Down to the point: You problem is, that MC still thinks hardware acceleration is available and does not revert to software-only mode, which requires you to somehow convince it to do so by adjusting things outside of AE. If you are adventurous enough, maybe you can also download the CS4 trial and see if it behaves any better... As a last resort, you could also attempt to remove all MediaCore plugins from your Support Files folder (move it to a different location so you can restore it at any time, don't delete it!). This should, in theory suppress all functions handled by it (you will also loose the ability to deal with some of them entirely), but may prevent at least the rendering errors. you will still get the warning message, though...
Mylenium

Similar Messages

  • "Installation Encountered Errors -  Failed to Initialize" -  help!

    I am running an XP S3 box, 2.66 GHz with 512mb RAM and lots of memory.  Recently I tried to update my Acrobat Reader (Secunia reported my version was not current). Upon downloading, an error msg without a number came up as in subject line of this post.
    "Installation Encountered Errors -  Failed to Initialize"
    I uninstalled my current version of Acrobat Reader. Tried to install again but no luck. Same error msg.  I cleared the cache out of Firefox 6.0.2, tried again: ditto.
    I have on my computer  installed an old version of Acrobat 5.0 (KWW500R7153013-348) that I bought in 2003 (I think)  so I unistalled that, then tried again. No luck.  So I reinstalled the old Acrobat, then uninstalled it. Same. Then I defragged my hard drive, restarted. Now I was getting frustrated.
    I did a system restore to a point before I tried to update Acrobat Reader; no luck.  No matter what I do, AR will not install.  I've read all the KB articles at Adobe, but nothing seems to work. Can you please help?
    Mark

    I had exactly the same problems, and it goes that because I wanted an English version of Adobe Reader, went obviously to adobe.com but because I am based in Europe, oh... this site decides to be so lame and Fail to Initialise and couldn't even redirect me by detecting my IP address, but could detect enough to not let me install a simple reader !!!
    So this link is the link for European IP address users, http://get.adobe.com/de/reader/enterprise/ and then you just have to copy paste into translate.google.com to know what to do, and you can still download English or any other language...
    However this is all lame and poorly organised for a company the size of adobe, and their help thingo was a complete waste of time, obviously it was only geared to the US !! Hello the rest of the world exists too.
    Anyway hope this is of help, I even went to foxit reader and it's faster, but needed adobe for the pdf to be able to be opened in photoshop !!! aggghhhh these people and their control freakish *****

  • Download Error - Failed to initialize

    I have been trying to load Flash player and I get an error "Failed to initialize" at what appears to be approximately 50% completion.  Does anyone know what this is and what I can do to circumvent it? 
    Thanks,
    Wayne

    Hi
    Reason: Antivirus software from vendors like Comodo, Jiangmin, and Rising are incorrectly identifying the Adobe Flash Player installer as malware. False reports from these vendors include “TrojWare.Win32.Trojan.Agent.Gen,” “Trojan/JmGeneric.bcy,” and “Suspicious.” Users are also reporting “Failed to Initialize” errors and the installer is getting quarantined.
    Workaround: Antivirus software vendors and service providers are currently addressing this issue so that the installer is recognized as being legitimate. Ensure that your antivirus signatures are up-to-date.
    If the issue persists, use the direct links to download Flash Player installer.

  • Install error, failed to initialize

    Can not install Flash Player.  When I run the installer from the link on the main page I get an error that states "failed to initialize".  I have tried downloading and installing the 'offline' installer and it seems to run, but the program is not actually installed when I try to check or use the program.  I have also run all windows updates.  What should I try next?
    Operating system: XP (32 bit) service pack 3
    Browser: IE8 (32 bit)
    Player Version: 11 (or any that will make youtube, etc. work again!)
    Thanks

    The installation process is probably being interrupted by your antivirus file scanner. Most security apps incorporate such utilities which spring into action as soon as you attempt to install, or uninstall a program. That has the effect of causing the installation to halt at a certain point and you're left somewhere in limbo.
    What I suggest you do here is to find your AV app on this site and then use the instructions to disable it: http://www.bleepingcomputer.com/forums/topic114351.html
    After doing that, download the Flash uninstaller from here: 32-bit Flash Uninstaller When you see the prompt, choose "Save" and save it somewhere you can find it easily afterwards. Do not choose "Run". Close IE8 before you run the uninstaller.
    After the uninstaller terminates, reboot to clear the old Registry entries.
    When the system reboots to the desktop, disable your AV app again, then go here to download the latest version: http://get.adobe.com/flashplayer/
    This time, when you see the prompt, choose "Run" to install it immediately.
    Finally, re-enable your antivirus again.
    Message was edited by: Xircal

  • Installation Encountered Errors "Failed to Initialize"

    Unable to install Flash Player 11.  I keep getting Installation encountered errors.  "Failed to Initialize".
    Followed all of the instructions under the "Troubleshooting" screens.  I temporarly deactivated my Norton Virus software.  I unstalled the old Flash Player version.   I'm using Window XP and Internet Exployer 8 on a 32 bit machine.   Now I have no version on my system and the new version will not install. 
    Please provide details for installation the latest version of Flash Player 11.

    Try using the installer(s) from http://forums.adobe.com/thread/909550

  • UNX issue : Failed to initialize Query Panel (service issue?)

    Hello all,
    For a couple off days now we are trying to use universe(s) in Desing studio with no luck.
    We use the Efashion single source relational universe on which we can run Webi's without a problem . When we add a datasource in DS we see and can select the unx but when we push the "edit query specification" button DS freezes and return the error : Failed to initialize Query Panel
    We just upgrade tot DS1.2 SP01 both on server side as on client side.
    This is the error from the error log : which seems to have a connection problem to a certain service:
    Any of you have an idea how to proceed?
    All servers run fine when we check the CMC and an APS is added for Design studio (analysis) .DS works fine with BEX queries...
    Thanks in advance.
    !ENTRY com.sap.ip.bi.zen.ui 4 0 2014-03-14 12:43:33.876
    !MESSAGE Failed to initialize Query Panel
    !STACK 0
    com.businessobjects.dsl.services.workspace.impl.WorkspaceException: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSource(AbstractDataProviderWithUniverse.java:437)
           at com.businessobjects.dsl.services.dataprovider.impl.QuerySpecDataProvider.createInitialDataSource(QuerySpecDataProvider.java:609)
           at com.businessobjects.dsl.services.dataprovider.impl.QuerySpecDataProvider.finalizeCreation(QuerySpecDataProvider.java:852)
           at com.businessobjects.dsl.services.workspace.impl.AbstractBuiltInDataProviderBuilder.buildDataProvider(AbstractBuiltInDataProviderBuilder.java:36)
           at com.businessobjects.dsl.services.dataprovider.impl.DataProviderFactory.createDataProviderWithUniverse(DataProviderFactory.java:190)
           at com.businessobjects.dsl.services.dataprovider.impl.DataProviderFactory.createAndAddDataProvider(DataProviderFactory.java:108)
           at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:83)
           at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
           at com.sap.ip.bi.zen.backends.bip.ui.dialogs.QueryPanelDialog.createQueryPanelContext(QueryPanelDialog.java:133)
           at com.sap.ip.bi.zen.backends.bip.ui.dialogs.QueryPanelDialog.createDialogArea(QueryPanelDialog.java:97)
           at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:775)
           at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.createContents(ZenTrayDialog.java:63)
           at org.eclipse.jface.window.Window.create(Window.java:432)
           at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
           at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.open(ZenTrayDialog.java:110)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController.editDataSourceClickedInternal(DataSourceDialogController.java:158)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController$1.run(DataSourceDialogController.java:147)
           at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController.editDataSourceClicked(DataSourceDialogController.java:144)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceSelectionPane.editQueryButtonClicked(DataSourceSelectionPane.java:253)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceSelectionPane$6.widgetSelected(DataSourceSelectionPane.java:233)
           at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
           at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
           at org.eclipse.jface.window.Window.open(Window.java:802)
           at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.open(ZenTrayDialog.java:112)
           at com.sap.ip.bi.zen.ui.internal.commands.AddDataSourceHandler.execute(AddDataSourceHandler.java:24)
           at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
           at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
           at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
           at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
           at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
           at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
           at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
           at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
           at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:850)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:743)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:727)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:662)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
           at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
           at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
           at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
           at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
           at com.sap.ip.bi.zen.ui.internal.application.ZenApplication.start(ZenApplication.java:36)
           at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
           at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
           at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
           at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
           at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
           at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
           at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    Caused by: com.businessobjects.mds.services.solver.ConnectionSolverException: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.addCredentialInfo(AbstractConnectionSolver.java:238)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solve(AbstractConnectionSolver.java:136)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:151)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:147)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:143)
           at com.businessobjects.mds.services.helpers.DataFoundationHelper.getConnection(DataFoundationHelper.java:892)
           at com.businessobjects.mds.services.helpers.DataFoundationHelper.isErpDataFoundation(DataFoundationHelper.java:2896)
           at com.businessobjects.mds.services.helpers.UniverseHelper.isErpUniverse(UniverseHelper.java:1554)
           at com.businessobjects.dsl.services.datasource.DataSourceFactory.createQueryCapability(DataSourceFactory.java:286)
           at com.businessobjects.dsl.services.datasource.DataSourceFactory.fillQueryCapability(DataSourceFactory.java:959)
           at com.businessobjects.dsl.services.datasource.DataSourceFactory.getDataSource(DataSourceFactory.java:839)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSourceFromUniverse(AbstractDataProviderWithUniverse.java:572)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.retrieveDataSource(AbstractDataProviderWithUniverse.java:542)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.buildDataSource(AbstractDataProviderWithUniverse.java:448)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSource(AbstractDataProviderWithUniverse.java:432)
           ... 72 more
    Caused by: com.sap.connectivity.cs.core.CSError: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionManager.<init>(ConnectionManager.java:81)
           at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionServer.getConnectionManager(ConnectionServer.java:125)
           at com.sap.connectivity.cs.core.Environment.CreateConnectionManager(Environment.java:530)
           at com.sap.connectivity.cs.core.Environment.CreateConnectionManager(Environment.java:504)
           at com.sap.connectivity.cs.api.trace.EnvironmentLogger.CreateConnectionManager(EnvironmentLogger.java:368)
           at com.businessobjects.mds.services.relational.CsService.getAuthenticationMode(CsService.java:180)
           at com.businessobjects.mds.services.relational.CsService.addCredentialInfo(CsService.java:485)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.addCredentialInfo(AbstractConnectionSolver.java:235)
           ... 86 more
    Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
    cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
    detail:Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:140)
           at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:183)
           at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:128)
           at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerSvcFactory.getServiceFromCriteria(NetworkLayerSvcFactory.java:53)
           at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerLookup.getServiceFromCriteria(NetworkLayerLookup.java:114)
           at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerLookup.getService(NetworkLayerLookup.java:83)
           at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionManager.<init>(ConnectionManager.java:68)
           ... 93 more
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:664)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:959)
           at com.crystaldecisions.enterprise.ocaframework.ManagedSession.redirectServer(ManagedSession.java:338)
           at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:247)
           at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:299)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:520)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody5$advice(ServiceMgr.java:512)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)
           at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:164)
             ... 98 more

    Hi Bram,
    I had a look in your Java-Exception and there a connectionserver is missing.
    I know that there are two kind of connection servers 32 and 64 Bit. Do one of your APS Servers have connectivity and connectivity 32 Bit ???
    I had an issue when i first wanted to use a .unx connection with DS with my splitted APS.
    I had one APS only containing the Analysis service. To get to run my .unx access i had to add the Adaptive connectivity Service to the APS containing the analysis service.
    On top of that i had to add the DSL Bridge (otherwise my adaptive connectivity Service did not start)
    Perhabs this helps you out.
    Good luck
    Manfred

  • Failed to initialize the DBMS

    Hi All,
    I have SAP MDM 5.5 with SQL server 2005. The MDM server is up (it shows the green node) and I have started the SQL server and SQL agent.
    When I click on any of the repository e.g. vendor, and enter the user as Admin, then it throws the following error on pop up.
    "Repository login failed, please try again.
      Error: - The MDM repository is invalid"
    When I click the DBMS setting, it gives the option of my local instance on the SQL server. Then it prompts me to enter the log path and the data path. After entering, it gives an error
    "Failed to initialize the DBMS"
    The path for log and data file which I am giving
    Log file- C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\kolkata_mdm_log.ldf
    data:- C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\kolkata_mdm.mdf
    Please suggest.
    Regards,
    Jitender

    Hello Jitendra,
    you have to define the Log path and data path as (suppose if you have installed the MDM server in C drive):
    C:\Program Files\SAP MDM 5.5\Server\Archives
    or you can refer the guide avialable on SMP:
    For installation and configuration guides:
    https://websmp201.sap-ag.de/~sapidb/011000358700004121872006E.HTM
    Also you can refer the Sizing and Performance guide for MDM 5.5.
    http://service.sap.com/~sapidb/011000358700001191122007E
    Hope this will help you.
    TNR,
    Saurabh...
    Reward if found useful.

  • Flash failing to initialize

    Hi
    im trying to install flash player
    im using Windows XP on a 32 bit system
    using firefox
    i download the player successfully, then run it
    it starts to install for a fraction of a second then comes up with a message
    "Adobe Flash Player Installer"
    "installation encountered errors"
    "Failed to initialize"
    and i cant move forward or see what the errors are
    if anyone could help it would be very appreciated

    Think I found answer in another thread.
    It gives alternate location to download for 32 or 64 IE or Firefox. I got message saying Flash installed.
    http://www.adobe.com/products/flashplayer/fp_distribution3.

  • Failed to initialize MSDB database for tuning (exit code: -1073741819). (DTAClient)

    Hello,
    This is the first time I am using this forum. I am stuck and need some help. I received this error message both on SQL 2005 and 2008. I am currently using SQL 2008 DEV for testing purposes and I am experiencing this error message when trying to connect to Database Engine Tuning Advisor. I am using the SA account so I should not have any security issues. Also this is a fresh install of SQL 2008 DEV on a fresh install of Windows XP Pro with all SP. Can some please help.
    Error:
    "Failed to initialize MSDB database for tuning (exit code: -1073741819). (DTAClient)"
    ===================================
    Failed to open a new connection.
    ===================================
    Failed to initialize MSDB database for tuning (exit code: -1073741819). (DTAClient)
    Program Location:
       at Microsoft.SqlServer.Management.DTA.Client.TuningServer.InitializeTuningParametersDatabase()
       at Microsoft.SqlServer.Management.DTA.Client.TuningServer.InitializeConnection()
       at Microsoft.SqlServer.Management.DTA.Client.TuningServer.Connect()
       at Microsoft.SqlServer.Management.DTA.Shell.SessionMonitor.AddServerInternal(SqlConnectionInfo connectionInfo, SqlConnection connection)
       at Microsoft.SqlServer.Management.DTA.Shell.SessionMonitor.AddServer(SqlConnectionInfo connectionInfo, SqlConnection connection)
       at Microsoft.SqlServer.Management.DTA.Shell.SessionMonitor.OnConnect(Object sender, EventArgs e)

    I created the below MSDB SP and Tables. Now the issue is resolved.
    http://www.devnewsgroups.net/sqlservertools/t67379-database-engine-tuning-advisor.aspx 
    USE [msdb]
    GO
    /****** Object:  StoredProcedure [dbo].[sp_DTA_start_xmlprefix]    Script
    Date: 12/31/2008 10:56:11 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create procedure [dbo].[sp_DTA_start_xmlprefix]
    as
    begin
        declare @startTags nvarchar(128)
        set @startTags = N'<DTAXML><DTAOutput><AnalysisReport>'
        select @startTags
    end
    GO
    /****** Object:  Table [dbo].[DTA_input]    Script Date: 12/31/2008 10:56:59
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_input](
        [SessionName] [sysname] NOT NULL,
        [SessionID] [int] IDENTITY(1,1) NOT NULL,
        [TuningOptions] [ntext] NOT NULL,
        [CreationTime] [datetime] NOT NULL DEFAULT (getdate()),
        [ScheduledStartTime] [datetime] NOT NULL DEFAULT (getdate()),
        [ScheduledJobName] [sysname] NOT NULL DEFAULT (''),
        [InteractiveStatus] [tinyint] NOT NULL DEFAULT ((0)),
        [LogTableName] [nvarchar](1280) NOT NULL DEFAULT (''),
        [GlobalSessionID] [uniqueidentifier] NULL DEFAULT (newid()),
    PRIMARY KEY CLUSTERED
        [SessionID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_progress]    Script Date: 12/31/2008
    10:57:29 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_progress](
        [ProgressEventID] [int] IDENTITY(1,1) NOT NULL,
        [SessionID] [int] NULL,
        [TuningStage] [tinyint] NOT NULL DEFAULT ((0)),
        [WorkloadConsumption] [tinyint] NOT NULL,
        [EstImprovement] [int] NOT NULL DEFAULT ((0)),
        [ProgressEventTime] [datetime] NOT NULL DEFAULT (getdate()),
        [ConsumingWorkLoadMessage] [nvarchar](256) NULL,
        [PerformingAnalysisMessage] [nvarchar](256) NULL,
        [GeneratingReportsMessage] [nvarchar](256) NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_output]    Script Date: 12/31/2008
    10:57:10 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_output](
        [SessionID] [int] NOT NULL,
        [TuningResults] [ntext] NOT NULL,
        [StopTime] [datetime] NOT NULL DEFAULT (getdate()),
        [FinishStatus] [tinyint] NOT NULL DEFAULT ((0)),
    PRIMARY KEY CLUSTERED
        [SessionID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_tuninglog]    Script Date: 12/31/2008
    11:01:21 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_tuninglog](
        [SessionID] [int] NOT NULL,
        [RowID] [int] NOT NULL,
        [CategoryID] [nvarchar](4) NOT NULL,
        [Event] [ntext] NULL,
        [Statement] [ntext] NULL,
        [Frequency] [int] NOT NULL,
        [Reason] [ntext] NULL
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_database]    Script Date:
    12/31/2008 10:57:56 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_database](
        [DatabaseID] [int] IDENTITY(1,1) NOT NULL,
        [SessionID] [int] NOT NULL,
        [DatabaseName] [sysname] NOT NULL,
        [IsDatabaseSelectedToTune] [int] NULL,
    PRIMARY KEY CLUSTERED
        [DatabaseID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_query]    Script Date: 12/31/2008
    10:59:42 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_query](
        [QueryID] [int] NOT NULL,
        [SessionID] [int] NOT NULL,
        [StatementType] [smallint] NOT NULL,
        [StatementString] [ntext] NOT NULL,
        [CurrentCost] [float] NOT NULL,
        [RecommendedCost] [float] NOT NULL,
        [Weight] [float] NOT NULL,
        [EventString] [ntext] NULL,
        [EventWeight] [float] NOT NULL,
    CONSTRAINT [DTA_reports_query_pk] PRIMARY KEY CLUSTERED
        [SessionID] ASC,
        [QueryID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_querydatabase]    Script Date:
    12/31/2008 11:00:04 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_querydatabase](
        [QueryID] [int] NOT NULL,
        [SessionID] [int] NOT NULL,
        [DatabaseID] [int] NOT NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_table]    Script Date: 12/31/2008
    11:00:52 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_table](
        [TableID] [int] IDENTITY(1,1) NOT NULL,
        [DatabaseID] [int] NOT NULL,
        [SchemaName] [sysname] NOT NULL,
        [TableName] [sysname] NOT NULL,
        [IsView] [bit] NOT NULL DEFAULT ((0)),
    PRIMARY KEY CLUSTERED
        [TableID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_partitionfunction]    Script Date:
    12/31/2008 10:58:57 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_partitionfunction](
        [PartitionFunctionID] [int] IDENTITY(1,1) NOT NULL,
        [DatabaseID] [int] NOT NULL,
        [PartitionFunctionName] [sysname] NOT NULL,
        [PartitionFunctionDefinition] [ntext] NOT NULL,
    PRIMARY KEY CLUSTERED
        [PartitionFunctionID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_partitionscheme]    Script Date:
    12/31/2008 10:59:19 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_partitionscheme](
        [PartitionSchemeID] [int] IDENTITY(1,1) NOT NULL,
        [PartitionFunctionID] [int] NOT NULL,
        [PartitionSchemeName] [sysname] NOT NULL,
        [PartitionSchemeDefinition] [ntext] NOT NULL,
    PRIMARY KEY CLUSTERED
        [PartitionSchemeID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_tableview]    Script Date:
    12/31/2008 11:01:02 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_tableview](
        [TableID] [int] NOT NULL,
        [ViewID] [int] NOT NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_querytable]    Script Date:
    12/31/2008 11:00:33 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_querytable](
        [QueryID] [int] NOT NULL,
        [SessionID] [int] NOT NULL,
        [TableID] [int] NOT NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_index]    Script Date: 12/31/2008
    10:58:24 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_index](
        [IndexID] [int] IDENTITY(1,1) NOT NULL,
        [TableID] [int] NOT NULL,
        [IndexName] [sysname] NOT NULL,
        [IsClustered] [bit] NOT NULL DEFAULT ((0)),
        [IsUnique] [bit] NOT NULL DEFAULT ((0)),
        [IsHeap] [bit] NOT NULL DEFAULT ((1)),
        [IsExisting] [bit] NOT NULL DEFAULT ((1)),
        [Storage] [float] NOT NULL,
        [NumRows] [int] NOT NULL,
        [IsRecommended] [bit] NOT NULL DEFAULT ((0)),
        [RecommendedStorage] [float] NOT NULL,
        [PartitionSchemeID] [int] NULL,
        [SessionUniquefier] [int] NULL,
    PRIMARY KEY CLUSTERED
        [IndexID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_column]    Script Date: 12/31/2008
    10:57:42 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_column](
        [ColumnID] [int] IDENTITY(1,1) NOT NULL,
        [TableID] [int] NOT NULL,
        [ColumnName] [sysname] NOT NULL,
    PRIMARY KEY CLUSTERED
        [ColumnID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY =
    OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_queryindex]    Script Date:
    12/31/2008 11:00:19 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_queryindex](
        [QueryID] [int] NOT NULL,
        [SessionID] [int] NOT NULL,
        [IndexID] [int] NOT NULL,
        [IsRecommendedConfiguration] [bit] NOT NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_querycolumn]    Script Date:
    12/31/2008 10:59:50 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_querycolumn](
        [QueryID] [int] NOT NULL,
        [SessionID] [int] NOT NULL,
        [ColumnID] [int] NOT NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[DTA_reports_indexcolumn]    Script Date:
    12/31/2008 10:58:39 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[DTA_reports_indexcolumn](
        [IndexID] [int] NOT NULL,
        [ColumnID] [int] NOT NULL,
        [ColumnOrder] [int] NULL,
        [PartitionColumnOrder] [int] NOT NULL DEFAULT ((0)),
        [IsKeyColumn] [bit] NOT NULL DEFAULT ((1)),
        [IsDescendingColumn] [bit] NOT NULL DEFAULT ((1))
    ) ON [PRIMARY]
    GO
    /****** Object:  StoredProcedure [dbo].[sp_DTA_check_permission]    Script
    Date: 12/31/2008 10:53:21 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create procedure [dbo].[sp_DTA_check_permission]
                    @SessionID int
    as
    begin
        declare @retcode  int
        declare @dbname nvarchar(128)
        declare @sql nvarchar(256)
        declare @dbid int
        set nocount on
        -- Check if SA
        if (isnull(IS_SRVROLEMEMBER(N'sysadmin'), 0) = 1)
        begin
            return(0)
        end
        -- if not yukon return
        if (patindex('%9.00.%',@@version) = 0)
        begin
            return (1)
        end
        -- declare and open a cursor and get all the databases specified in the input
        declare db_cursor cursor for
        select DatabaseName from DTA_reports_database
        where SessionID = @SessionID and IsDatabaseSelectedToTune  = 1
        -- open
        open db_cursor
        -- fetch first db name
        fetch next from db_cursor
        into @dbname
        -- loop and get all the databases selected to tune
        while @@fetch_status = 0
        begin
            -- build use db string
            select  @dbid = DB_ID(@dbname)
            -- In Yukon this masks the error messages
            set @sql = N'begin try
                dbcc autopilot(5,@dbid) WITH NO_INFOMSGS
            end try
            begin catch
                set @retcode = 1
            end catch'
            execute sp_executesql @sql
                , N'@dbid int output, @retcode int OUTPUT'
                , @dbid output
                , @retcode output
            -- if caller is not member of dbo
            if (@retcode = 1)
            begin
                -- close and reset cursor,switch context to current
                -- database and return 1
                close db_cursor
                deallocate db_cursor
                return(1)
            end
            fetch from db_cursor into @dbname
        end
        -- close and reset cursor,switch context to current
        -- database and return 1
        close db_cursor
        deallocate db_cursor
        return(0)
    end
    GO
    /****** Object:  StoredProcedure [dbo].[sp_DTA_index_usage_helper_xml]   
    Script Date: 12/31/2008 10:54:29 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create procedure [dbo].[sp_DTA_index_usage_helper_xml]
        @SessionID        int,
        @IsRecommended    int
    as   
    begin
    select 1            as Tag,
            NULL          as Parent,
            '' as [IndexUsageReport!1!!ELEMENT],
            case when @IsRecommended = 1 then 'false'
            else 'true' end as [IndexUsageReport!1!Current],
            NULL as [Database!2!DatabaseID!hide],
            NULL  as [Database!2!Name!ELEMENT] ,
            NULL  as [Schema!3!Name!ELEMENT] ,
            NULL as [Table!4!TableID!hide],
            NULL as [Table!4!Name!ELEMENT],
            NULL as [Index!5!IndexID!hide],
            NULL as [Index!5!Name!ELEMENT],
            NULL as [Index!5!NumberOfReferences!ELEMENT],
            NULL as [Index!5!PercentUsage!ELEMENT]
        union all
    select 2            as Tag,
            1          as Parent,
            NULL as [IndexUsageReport!1!!ELEMENT],
            NULL as [IndexUsageReport!1!Current],
            D.DatabaseID as [Database!2!DatabaseID!hide],
            D.DatabaseName  as [Database!2!Name!ELEMENT] ,
            NULL  as [Schema!3!Name!ELEMENT] ,
            NULL as [Table!4!TableID!hide],
            NULL as [Table!4!Name!ELEMENT],
            NULL as [Index!5!IndexID!hide],
            NULL as [Index!5!Name!ELEMENT],
            NULL as [Index!5!NumberOfReferences!ELEMENT],
            NULL as [Index!5!PercentUsage!ELEMENT]
        from [msdb].[dbo].[DTA_reports_database] as D
        where
        D.SessionID = @SessionID and
        D.DatabaseID in
        (select D.DatabaseID from
                [msdb].[dbo].[DTA_reports_queryindex] as QI,
                [msdb].[dbo].[DTA_reports_index] as I,
                [msdb].[dbo].[DTA_reports_table] as T,
                [msdb].[dbo].[DTA_reports_database] as D
                where
                QI.IndexID = I.IndexID  and
                I.TableID = T.TableID and
                T.DatabaseID = D.DatabaseID and
                D.SessionID = @SessionID and
                QI.IsRecommendedConfiguration = @IsRecommended
                GROUP BY D.DatabaseID)
        union all
    select 3            as Tag,
            2          as Parent,
            NULL as [IndexUsageReport!1!!ELEMENT],
            NULL as [IndexUsageReport!1!Current],
            D.DatabaseID as [Database!2!DatabaseID!hide],
            D.DatabaseName  as [Database!2!Name!ELEMENT] ,
            R.SchemaName  as [Schema!3!Name!ELEMENT] ,
            NULL as [Table!4!TableID!hide],
            NULL as [Table!4!Name!ELEMENT],
            NULL as [Index!5!IndexID!hide],
            NULL as [Index!5!Name!ELEMENT],
            NULL as [Index!5!NumberOfReferences!ELEMENT],
            NULL as [Index!5!PercentUsage!ELEMENT]
        from [msdb].[dbo].[DTA_reports_database] as D,
            select D.DatabaseID,T.SchemaName from
            [msdb].[dbo].[DTA_reports_queryindex] as QI,
            [msdb].[dbo].[DTA_reports_index] as I,
            [msdb].[dbo].[DTA_reports_table] as T,
            [msdb].[dbo].[DTA_reports_database] as D
            where
            QI.IndexID = I.IndexID  and
            I.TableID = T.TableID and
            T.DatabaseID = D.DatabaseID and
            QI.IsRecommendedConfiguration = @IsRecommended and
            D.SessionID = @SessionID
            GROUP BY D.DatabaseID,T.SchemaName
        ) R
        where
        D.SessionID = @SessionID and
        D.DatabaseID = R.DatabaseID
    union all
    select 4            as Tag,
            3          as Parent,
            NULL as [IndexUsageReport!1!!ELEMENT],
            NULL as [IndexUsageReport!1!Current],
            D.DatabaseID as [Database!2!DatabaseID!hide],
            D.DatabaseName as [Database!2!Name!ELEMENT] ,
            R.SchemaName  as [Schema!3!Name!ELEMENT] ,
            R.TableID as [Table!4!TableID!hide],
            T.TableName as [Table!4!Name!ELEMENT],
            NULL as [Index!5!IndexID!hide],
            NULL as [Index!5!Name!ELEMENT],
            NULL as [Index!5!NumberOfReferences!ELEMENT],
            NULL as [Index!5!PercentUsage!ELEMENT]
        from    [msdb].[dbo].[DTA_reports_database] as D,
                [msdb].[dbo].[DTA_reports_table] as T,
            select D.DatabaseID,T.SchemaName,T.TableID from
            [msdb].[dbo].[DTA_reports_queryindex] as QI,
            [msdb].[dbo].[DTA_reports_index] as I,
            [msdb].[dbo].[DTA_reports_table] as T,
            [msdb].[dbo].[DTA_reports_database] as D
            where
            QI.IndexID = I.IndexID  and
            I.TableID = T.TableID and
            T.DatabaseID = D.DatabaseID and
            D.SessionID = @SessionID and
            QI.IsRecommendedConfiguration = @IsRecommended
            GROUP BY D.DatabaseID,T.SchemaName, T.TableID
        ) R
        where
        D.SessionID = @SessionID and
        D.DatabaseID = R.DatabaseID and
        R.TableID = T.TableID and
        T.DatabaseID = D.DatabaseID
    union all
    select 5            as Tag,
            4          as Parent,
            NULL as [IndexUsageReport!1!!ELEMENT],
            NULL as [IndexUsageReport!1!Current],
            D1.DatabaseID as [Database!2!DatabaseID!hide],
            D1.DatabaseName as [Database!2!Name!ELEMENT] ,
            T1.SchemaName  as [Schema!3!Name!ELEMENT] ,
            T1.TableID as [Table!4!TableID!hide],
            T1.TableName as [Table!4!Name!ELEMENT],
            I1.IndexID as [Index!5!IndexID!hide],
            I1.IndexName as [Index!5!Name!ELEMENT],
            R.Count as [Index!5!NumberOfReferences!ELEMENT],
            CAST(R.Usage as decimal(38,2))  as [Index!5!PercentUsage!ELEMENT]
            from
                [msdb].[dbo].[DTA_reports_database] as D1 ,
                [msdb].[dbo].[DTA_reports_index] as I1,
                [msdb].[dbo].[DTA_reports_table] as T1,
                    select D.DatabaseID,T.TableID ,
                            I.IndexID  ,SUM(Q.Weight) as Count,
                            100.0 *  SUM(Q.Weight) /
                            ( 1.0 * (    select    CASE WHEN SUM(Q.Weight) > 0 THEN  SUM(Q.Weight)
                                                else 1
                                                end   
                                        from [msdb].[dbo].[DTA_reports_query] as Q
                                        where Q.SessionID = @SessionID ))
                as Usage
            from
                [msdb].[dbo].[DTA_reports_index] as I   
                LEFT OUTER JOIN
                [msdb].[dbo].[DTA_reports_queryindex] as QI ON QI.IndexID = I.IndexID
                LEFT OUTER JOIN
                [msdb].[dbo].[DTA_reports_query] as Q ON QI.QueryID = Q.QueryID
                JOIN
                [msdb].[dbo].[DTA_reports_table] as T ON I.TableID = T.TableID
                JOIN
                [msdb].[dbo].[DTA_reports_database] as D ON T.DatabaseID = D.DatabaseID
                and Q.SessionID = QI.SessionID and
                QI.IsRecommendedConfiguration = @IsRecommended and
                Q.SessionID = @SessionID
                GROUP BY I.IndexID,T.TableID,D.DatabaseID) as R
                where R.DatabaseID = D1.DatabaseID and
                R.TableID = T1.TableID and
                R.IndexID = I1.IndexID and
                D1.SessionID = @SessionID  and
                R.Count > 0
        order by
    [Database!2!DatabaseID!hide],[Schema!3!Name!ELEMENT],[Table!4!TableID!hide],
                [Index!5!NumberOfReferences!ELEMENT] , [Index!5!IndexID!hide]
        FOR XML EXPLICIT
    end
    GO
    /****** Object:  StoredProcedure
    [dbo].[sp_DTA_index_usage_helper_relational]    Script Date: 12/31/2008
    10:54:26 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create procedure [dbo].[sp_DTA_index_usage_helper_relational]
        @SessionID        int,
        @IsRecommended    int
        as begin select D1.DatabaseName as 'Database Name' ,T1.SchemaName as
    'Schema Name' ,T1.TableName as 'Table/View Name' ,I1.IndexName as 'Index
    Name' ,R.Count as 'Number of references' ,CAST(R.Usage as decimal(38,2)) as
    'Percent Usage' from
                    DTA_reports_database as D1 ,
                    DTA_reports_index as I1,
                    DTA_reports_table as T1,
                        select D.DatabaseID,T.TableID ,
                                I.IndexID  ,SUM(Q.Weight) as Count,
                                100.0 *  SUM(Q.Weight) /
                                ( 1.0 * (    select    CASE WHEN SUM(Q.Weight) > 0 THEN  SUM(Q.Weight)
                                                    else 1
                                                    end   
                                            from [msdb].[dbo].[DTA_reports_query] as Q
                                            where Q.SessionID = @SessionID ))
                    as Usage
            from
                    [msdb].[dbo].[DTA_reports_index] as I   
                    LEFT OUTER JOIN
                    [msdb].[dbo].[DTA_reports_queryindex] as QI ON QI.IndexID = I.IndexID
                    LEFT OUTER JOIN
                    [msdb].[dbo].[DTA_reports_query] as Q ON QI.QueryID = Q.QueryID
                    JOIN
                    [msdb].[dbo].[DTA_reports_table] as T ON I.TableID = T.TableID
                    JOIN
                    [msdb].[dbo].[DTA_reports_database] as D ON T.DatabaseID = D.DatabaseID
                    and Q.SessionID = QI.SessionID and
                    QI.IsRecommendedConfiguration = @IsRecommended and
                    Q.SessionID = @SessionID
                    GROUP BY I.IndexID,T.TableID,D.DatabaseID) as R
                    where R.DatabaseID = D1.DatabaseID and
                    R.TableID = T1.TableID and
                    R.IndexID = I1.IndexID and
                    D1.SessionID = @SessionID  and
                    R.Count > 0
                    order by R.Count desc end
    GO
    /****** Object:  StoredProcedure [dbo].[sp_DTA_database_access_helper_xml]  
    Script Date: 12/31/2008 10:53:31 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create procedure [dbo].[sp_DTA_database_access_helper_xml]
                @SessionID        int
    as
    begin
        select 1            as Tag,
                NULL          as Parent,
                '' as [DatabaseAccessReport!1!!ELEMENT],
                NULL  as [Database!2!Name!ELEMENT] ,
                NULL as [Database!2!NumberOfReferences!ELEMENT],
                NULL as [Database!2!PercentUsage!ELEMENT]
            union all
        select 2 as Tag, 1 as Parent,NULL,D1.DatabaseName  ,
        R.Count  ,
        CAST(R.Usage as decimal(38,2))  from
                        [msdb].[dbo].[DTA_reports_database] as D1 ,
                            select D.DatabaseID,SUM(Q.Weight) as Count,
                                    100.0 *  SUM(Q.Weight) /
                                    ( 1.0 * (    select    CASE WHEN SUM(Q.Weight) > 0 THEN  SUM(Q.Weight)
                                                        else 1
                                                        end   
                                                from [msdb].[dbo].[DTA_reports_query] as Q
                                                where Q.SessionID = @SessionID ))
                        as Usage
                from
                            [msdb].[dbo].[DTA_reports_database] as D
                            LEFT OUTER JOIN
                            [msdb].[dbo].[DTA_reports_querydatabase] as QD ON QD.DatabaseID =
    D.DatabaseID
                            LEFT OUTER JOIN
                            [msdb].[dbo].[DTA_reports_query] as Q ON QD.QueryID = Q.QueryID
                            and Q.SessionID = QD.SessionID and
                            Q.SessionID = @SessionID       
                            GROUP BY D.DatabaseID
                        ) as R
                        where R.DatabaseID = D1.DatabaseID  and
                        D1.SessionID = @SessionID and
                        R.Count > 0
        order by Tag,[Database!2!NumberOfReferences!ELEMENT] desc
        FOR XML EXPLICIT
    end
    GO

  • Flash Pro CC 2014 : Failed to initialize installer.

    Hello! I tried to install Adobe Flash Pro CC 2014 but the Adobe Installer returns the following error : Failed to initialize. What cn I do please ? Thanks.

    start at the top and work your way down applying applicable fixes until your problem is resolved.
    if cc (win):  https://helpx.adobe.com/creative-cloud/kb/creative-cloud-desktop-application-failed.html
    if, your error is:
    "Installer failed to initialize. File not found." or "Installer failed to initialize. This could be due to missing files."
    first, rename OOBE Folder to OOBE.old.
    to find OOBE:
    64 bit win OS: Program Files x86\Common Files\Adobe\OOBE
    32 bit win OS: Program Files \Common Files\Adobe\OOBE
    mac os: HD>library>application support>adobe>caps
    mac os: USER>library>application support>adobe>OOB
    if that fails or isn't the exact error you see, uninstall, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall.
    if you're using a dvd to install:
    copy the disc contents to a desktop directory and install from that directory.
    if you're using a mac:
    1. Try to Create a new user account in Mac with Administrator Priviledges.
    2. Login to the New user, Navigate to Mac HD> Application> Utilities> Adobe Installer folder, Locate products like Adobe Reader, Adobe Flash, Adobe Air and un-install them
    3. Navigate to User Library> Application Support> Adobe and move Adobe to Trash.
    4. Navigate to Mac HD> Library> Application Support> Adobe and move Adobe to Trash.
    5. Start the installation again.
    if everything applicable above fails, check your installation logs:
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-install-using-logs-elements.html

  • Cannot upgrade adobe flash player (failed to initialize), shockwave flash does not appear as a plug in

    various web sites stated that I needed to update adobe flash player. I clicked on link and followed instructions, then received the message "installation encountered errors - failed to initialize". So far, I have uninstalled previous versions of flash player and checked my plug ins. Noticed that Shockwave flash does not appear in my plug in list and adobe states that this needs to be active for their flash player.
    I am on Windows XP and Firefox version 8.
    Thanks.
    Cameron Cassidy

    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.
    See:
    * https://support.mozilla.com/kb/Managing+the+Flash+plugin
    * https://support.mozilla.com/kb/Installing+the+Flash+plugin
    You can get the Adobe Flash Player here:
    * http://www.adobe.com/downloads/
    * http://www.adobe.com/go/getflashplayer
    Or download the Flash Player via this page: Troubleshoot Flash Player installation for Windows
    *http://kb2.adobe.com/cps/191/tn_19166.html#main_Download_and_install_the_latest_Flash_Player_version
    # Download and save the Flash installer for the Firefox browser to your desktop.
    # Exit Firefox (File > Exit), you may need to verify that in the Task Manager (XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC, Processes tab)
    # Start the Flash installer with a double-click on the desktop icon of the Flash installer.
    * You may have to run the Flash installer as Administrator (right-click: Run as ...) to get access rights for installing the files and modifying the registry.

  • Failed to initialize the orb--please reply its urgent

    hi im using a stand alone java application to access a jndi data source configured on websphere 6.1
    im getting the following error
    failed to initialize the ORB...
    most of the solutions i got suggest to change from sun jdk to ibm jdk.BUT BUT how do we do that and what are the steps to be followed.
    he code im using is given below:
    //WebsphereJNDI.java
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.naming.*;
    import javax.rmi.*;
    public class WebSphereJNDI
    private String websphere_server;
    private String jndi_datasource;
    private String sql_query;
    WebSphereJNDI(String serverpath, String jndiname, String query)
    websphere_server = serverpath;
    jndi_datasource = jndiname;
    sql_query = query;
    public ResultSet get_data() throws Exception
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
    env.put(Context.PROVIDER_URL, websphere_server);
    InitialContext ctx = new InitialContext(env);
    DataSource ds = (DataSource) ctx.lookup(jndi_datasource);
    Connection conn = ds.getConnection();
    Statement stm = conn.createStatement();
    ResultSet res = stm.executeQuery(sql_query);
    // moving cursor to first row
    res.next();
    return res;
    // ResultSetTester.java
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.naming.*;
    import javax.rmi.*;
    public class ResultSetTester {
    public static void main(String[] args) throws Exception {
    WebSphereJNDI test = new WebSphereJNDI(
    "http://hostname:port no.", "jdbc/mydatasource",
    "SELECT * FROM pubs.dbo.authors");
    System.out.println(dump_data(test.get_data()));
    public static String dump_data(java.sql.ResultSet rs)
    throws Exception {
    int rowCount = 0;
    String result = "";
    result += "<P ALIGN='center'><TABLE BORDER=1>";
    ResultSetMetaData rsmd = rs.getMetaData();
    int columnCount = rsmd.getColumnCount();
    // table header
    result += "<TR>";
    for (int i = 0; i < columnCount; i++) {
    result += "<TH>" +
    rsmd.getColumnLabel(i + 1) + "</TH>";
    result += "</TR>";
    // the data
    while (rs.next()) {
    rowCount++;
    result += "<TR>";
    for (int i = 0; i < columnCount; i++) {
    result += "<TD>" +
    rs.getString(i + 1) + "</TD>";
    result += "</TR>";
    result += "</TABLE></P>";
    return result;
    Im an amateur...Please help its urgent

    Thanks Anuj.
    We use OSB apps (exported as jars only).
    We place the jars in domain/lib to be available for all services in this domain.
    Is there another place we can put our jars in it?? and how can we solve the problem of soa infra with using Spring 3.2 ??
    Thanks in advance.

  • The error "configuration system failed to initialize" occurred

    Hi
    When I converted and built the solution file that was developed by Visual Studio .net 2003 using Visual Studio 2005, the application program was abnormal-ended at the following step:
    m_TCPChannel = New System.Runtime.Remoting.Channels.Tcp.TcpChannel(tcp_properties, Nothing, Nothing)
    The error message was "configration system failed to initialize".  The Exception.ToString said that the root <configuration> tag was not included in the configuration file. Therefore, I changed <configopt> tag to <configuration>
    tag in the app.config file of the target project, and then executed again. Next time, the application program was abnormal-ended by the unrecognized section <xs:schema>. Therefore, I changed the app.config file to the simple one (only <configuration>
    and </configuration> tags), and then executed again. The error didn't occur. I guess that it's caused by configuration settings. Please advise.
    app.config file:
    <?xml version="1.0" standalone="yes"?>
    <configopt>
    <xs:schema id="configopt" xmlns="" xmlns:xs="URLリンク" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="configopt" msdata:IsDataSet="true" msdata:Locale="en-AU">
    <xs:complexType>
    <xs:choice maxOccurs="unbounded">
    <xs:element name="Environment">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="Name" type="xs:string" minOccurs="0" />
    <xs:element name="System" type="xs:string" minOccurs="0" />
    <xs:element name="DataLibrary" type="xs:string" minOccurs="0" />
    <xs:element name="Default" type="xs:boolean" minOccurs="0" />
    <xs:element name="UserId" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <Environment>
    <Name>Test</Name>
    <System>XXXX.COM</System>
    <DataLibrary>XXXTEST</DataLibrary>
    <Default>false</Default>
    <UserId></UserId>
    </Environment>
    <Environment>
    <Name>Production</Name>
    <System>XXXXX.COM</System>
    <DataLibrary>XXXPROD</DataLibrary>
    <Default>true</Default>
    <UserId />
    </Environment>
    </configopt>

    Hi,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Since your issue occurred on the converted project from VS .net 2003 to VS2005, and VS2005 is out of
    our mainstream support , I suggest that you should consult on some development forums to check whether they will to provide some suggestions or
    submit a support ticket to below site,
    https://support.microsoft.com/oas/default.aspx?Gprid=1117&st=1&wfxredirect=1&sd=gn&wfxredirect=1
    Thank you for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error message: "Adobe Application Manager "Installer failed to initialize. Please download Adobe Support Advisor to detect the problem". When following the link, Adobe Support Advisor has been discontinued 'because their products are now so stable. -I can

    I receive a message when trying to open Photoshop CS6, Illustrator CS6, etc., then when I try to follow the directions for troubleshooting, the installer fails to initialize.
    Error message: "Adobe Application Manager is needed to resolve this problem. However it is missing or damaged". Then, after download, the program fails to load and displays this message:  "Installer failed to initialize. Please download Adobe Support Advisor to detect the problem". When following the link, Adobe Support Advisor has been discontinued 'because their products are now so stable. -I can see how stable they are.. How do I get assistance with Installer issues?
    Any helpful thoughts?

    Hi David,
    Kindly try out the steps in the below mentioned link to install Creative Cloud.
    Error: "Installer failed to initialize" | Windows
    Thanks,
    Atul Saini

  • I just got creative cloud 2014 and decided to install After effects on my laptop. I get error to install Adobe Application Manager. I got AAM but installing it, I got an error message "Installer failed to initialize. Please download Adobe support advisor"

    I just got creative cloud 2014 and decided to install After effects on my laptop. I get error to install Adobe Application Manager. I got AAM but installing it, I got an error message "Installer failed to initialize. Please download Adobe support advisor" Now, the support advisor is discontinued. What do I do?
    Please anyone help me.
    Thanks

    Error "Installer Failed to Initialize" | Install desktop application | Windows

Maybe you are looking for

  • I am  having difficulty installing a trial version of Adobe Creative Suite 5.5 Web Premium.

    I keep getting an error message that provides -Error extracting the Product Installer please check disk space. I have sufficient disk space.

  • ICal quits immediately on iPad 3rd gen

    My iCal has just now started quitting immediately.  This is one of the apps that I use EVERY day.  I just recently had some minor issues with the iPad and well, as I dealt with it I thought "most of what's here is of no huge deal."  BUT the Calendar

  • Dead view row

    I extended EditCurrentRecord to insert records with some added functionality. It works fine in JDev 3.2 but when I deploy it to 9IAS 1.0.2 and try to insert the record I get the error: Error Message: JBO-27102: Attempt to access dead view row Why wou

  • Printing with Elements 11

    Used to have Photoshop CS3......now I've got Elements 11.   Cant center image to print on canvas printer.    What gives?

  • Record quality

    I just finished a video that has 7 tracks, and kept hanging up, until I dropped playback resolution down to medium. I have the box checked that says "record at full quality" and I understood that to be no matter what the timeline resolution was. This