RD Connection broker failed to initialize

We have an RD farm with two session hosts and a gateway that has been working. It has been in use for several months and I don't think anything was changed. I was informed that it stopped working and I do see evidence of this. I've been troubleshooting and
see that the hosts both left the farm last week with this error message:
Log Name:      Microsoft-Windows-TerminalServices-SessionBroker-Client/Operational
Source:        Microsoft-Windows-TerminalServices-SessionBroker-Client
Date:          7/19/2013 3:06:42 PM
Event ID:      1283
Task Category: Connection Broker Client terminate
Level:         Information
Keywords:      
User:          NETWORK SERVICE
Computer:      server08.domain.com
Description:
Remote Desktop Services successfully left a farm on the Connection Broker server gate.domain.com.
Since then whenever someone connects we get three events in a row in the same log:
Event ID:      1301
Task Category: RD Connection Broker Client processes request from a user
User:          NETWORK SERVICE
Computer:      server08.domain.com
Description:
Remote Desktop Connection Broker Client received request for redirection. 
User : DOMAIN\ddawson 
RDP Client Version : 5
Event ID:      1296
Task Category: RD Connection Broker Client processes request from a user
Computer:      server08.domain.com
Description:
Remote Desktop Connection Broker Client failed while getting redirection packet from Connection Broker.
User : DOMAIN\ddawson 
HRESULT = 0x88150002
Event ID:      1306
Task Category: RD Connection Broker Client processes request from a user
Computer:      server08.domain.com
Description:
Remote Desktop Connection Broker Client failed to redirect the user DOMAIN\ddawson. 
HRESULT = 0x88150002
I'm not sure which direction to go. I've confirmed that the session hosts are both in local group "Session Broker Computers" on our Session Broker. On each host I've removed them from the farm and put them back in. When I do that I get the error:
Event ID:      1284
Task Category: Connection Broker Client start up
Computer:      server08.domain.com
Description:
Remote Desktop Connection Broker Client failed to initialize while joining the Connection Broker on server gate.domain.com.
HRESULT = 0x80070534
I've read the articles telling me to test connectivity. These computers are all on the same physical network and I can RDP and PING back and forth between them all. What can I try next?

Hi,
Please check if this article could help.
Event ID 1284 — RD Connection Broker Communication
http://technet.microsoft.com/en-us/library/ee890933(v=ws.10).aspx
Thanks.
Best Regards
Jeremy Wu

Similar Messages

  • RD Connection Broker Fails to install on Windows 2012 R2, fresh install

    I have been fighting this for a week
    Trying to install RD connection broker service on a Server 2012 R2.  I've had multiple errors, ranging from the "Server pending reboot" issue, to the install just hanging for 15-20 minutes and then failing.  This is NOT on a DC, and I've
    tried it on a fresh 2012 R2 server, and a fully updated Server 2012 R2.  It has to be something on the domain I'm joined too, as I can install it with no problem on test servers/domains at my office.

    Hi CitadelTCS,
    Some folk meet this issue because the server is DC, in your case could you try to run SFC /SCANNOW then monitor this issue again.
    The related KB:
    Use the System File Checker tool to repair missing or corrupted system files
    https://support.microsoft.com/en-us/kb/929833?wa=wsignin1.0
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Hi expert  error when connecting company "Failed to Initialize Language"

    Hi friends ,
    when i conneting company getting error code -8020
    error msg " Failed to Initialize Language"
    Thanks in adva.
    Regards
    Rajkumar Gupta
    Edited by: Rajkumar Gupta on Apr 15, 2009 12:50 PM

    Dear Rajkumar Gupta,
    Please refer to SAP note 1272713 for more information.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • RD Connection Broker randomly fails to process connection requests

    The RD Connection Broker is a Windows 2008 R2 server. It's been running without issues for 3 years. It handles three RD servers also Windows 2008 R2.
    Starting yesterday some users - not all - no longer can log on using the farm name. If the RDP file is set up to point to the server they were disconnected from then they get their session back.
    There is only one error in the TerminalServices-SessionBroker log:
    Log Name:      Microsoft-Windows-TerminalServices-SessionBroker/Operational
    Source:        Microsoft-Windows-TerminalServices-SessionBroker
    Date:          8/19/2014 15:04:18
    Event ID:      802
    Task Category: RD Connection Broker processes connection request
    Level:         Error
    Keywords:     
    User:          NETWORK SERVICE
    Computer:      NJDC1.nj.kearfott.com
    Description:
    RD Connection Broker failed to process the connection request for user NJ\a.davis.
    Load Balancing failed OR Specified endpoint could not be found.
    HRESULT = 0xfffffc0a.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TerminalServices-SessionBroker" Guid="{D1737620-6A25-4BEF-B07B-AAC3DF44EFC9}" />
        <EventID>802</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>101</Task>
        <Opcode>11</Opcode>
        <Keywords>0x2000000000000000</Keywords>
        <TimeCreated SystemTime="2014-08-19T19:04:18.882662400Z" />
        <EventRecordID>1971452</EventRecordID>
        <Correlation />
        <Execution ProcessID="2388" ThreadID="1308" />
        <Channel>Microsoft-Windows-TerminalServices-SessionBroker/Operational</Channel>
        <Computer>NJDC1.nj.kearfott.com</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <UserData>
        <EventXML xmlns:auto-ns3="http://schemas.microsoft.com/win/2004/08/events" xmlns="Event_NS">
          <param1>NJ\a.davis</param1>
          <param2>0xfffffc0a</param2>
          <param3>8</param3>
        </EventXML>
      </UserData>
    </Event>
    The MS updates were installed last week so this issue did not happen immediately after the install.
    Any help, pointers, ideas would be greatly appreciated

    Thanks for replying, Dharmesh but I forgot to mention a couple of things:
    1. There was only one 802 event and quite a few users who could not log on using the farm name for the RDP connection. This is still happening though the majority of the users have no problem logging on to the RD servers using the farm name.
    2. Those who could not log on using the farm name could log on using a specific server name. I have not tried all the names because on the first day I had noticed that one server had no users on while the other two had lots. So when the first call came in
    I pointed the user to the one server with the smallest load.
    3. This is the first time this happens since I set up the farm.
    4. This shouldn't matter but I had uninstalled IE 11 about a week before and reinstalled IE 9. 
    5. Some users who logged on using the farm name have to be logged off as they can't log back on after a disconnect.
    I had seen the first article before I posted. Looked ant the second. I'll have to study it because at the first glance it doesn't appear to have much to do with my issue.

  • Windows 2008 R2 connection broker

    I have a problem related to the fact that remote desktop client are not redirected to the disconnected sessionr when they try to reconnect.
    I'm using a netscaler load balancer that uses redirection toker with the connection broker server.
    I have made a small configuration test environment that reflect my origina configuration and the problem will exist event there.
    All the servers are windows 2008 R2 with sp1 and all latest fix available using microsoft update.
    The connection broker server is a domain controller server, and the terminal server are computer member of the domain.All the information are correctl registered by the connection broker database, but is seems that it works only with administative users.
    The error that is reported
    RD Connection Broker failed to process the connection request for user DOMAIN\USER.
    Load Balancing failed OR Specified endpoint could not be found.HRESULT = 0x80070515.  
    I have found no information about the error
    0x80070515.
    Here follow the connection broker information after
    ClusterName = MYCLUSTER
    NumberOfServers = 4
    SingleSessionMode = 1
        SERVER :
        ServerName = TS018.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.18
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        No sessions on server TS018.mydomain.local
        SERVER :
        ServerName = TS020.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.20
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 1
            SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 0
            CreateTime= 20150303101848.856647+060    DisconnectTime=
            ServerName= TS020.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.20
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS019.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.19
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 2
            SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 1
            CreateTime= 20150303101224.366219+060    DisconnectTime= 16010101000000.000000-000
            ServerName= TS019.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
            SESSION :
            UserName= mydomain\Flavio    ApplicationType= D:\Programmi\Seac\SeacCruscotto.exe    SessionState= 0
            CreateTime= 20150303121903.740379+060    DisconnectTime=
            ServerName= TS019.mydomain.local
            SessionID= 2
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS017.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.17
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        No sessions on server TS017.mydomain.local
    Second dump with the disconnected user and the same user that ties to reconnect and was redirected to a new session  instead to the disconnected session. You will find two user Flavio one in disconnected state (1) and one in connected state(0)
    ClusterName = MYCLUSTER
    NumberOfServers = 4
    SingleSessionMode = 1
        SERVER :
        ServerName = TS018.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.18
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        No sessions on server TS018.mydomain.local
        SERVER :
        ServerName = TS020.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.20
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 1
            SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 0
            CreateTime= 20150303101848.856647+060    DisconnectTime=
            ServerName= TS020.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.20
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS019.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.19
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 2
           SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 1
            CreateTime= 20150303101224.366219+060    DisconnectTime= 16010101000000.000000-000
            ServerName= TS019.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
            SESSION :
            UserName= mydomain\Flavio    ApplicationType= D:\Programmi\Seac\SeacCruscotto.exe    SessionState= 1
            CreateTime= 20150303121903.740379+060    DisconnectTime= 16010101000000.000000-000
            ServerName= TS019.mydomain.local
            SessionID= 2
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS017.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.17
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 1
            SESSION :
            UserName= mydomain\Flavio    ApplicationType= D:\Programmi\Seac\SeacCruscotto.exe    SessionState= 0
            CreateTime= 20150303122059.706850+060    DisconnectTime=
            ServerName= TS017.mydomain.local
            SessionID= 2
            ServerIP= 10.10.4.17
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
    Any idea ?
    Thanks
    Flavio

    Hi Flavio,
    It seems that you are facing issue with the RDCB load balancing between servers. Might possible that there is some wrong configuration happens which cause this issue. Still I like you to recheck all the configuration for your environment. Also as you said it
    works with admin users, have you provide access to user to connect to the server?
    From the error description it appears to be error 802 with specific code. To troubleshoot this issue, you can apply below steps and try.
    1. Please try to limit single RDS session for TS user. 
    2. Install RDS broker to separate server
    3. Run NLB diagnose to check if any issue related to NLB
    4. Use IP address redirection instead of token redirection
    Also try to apply this policy settings.
    Computer Configuration / Administrative Templates / Windows Components / Remote Desktop Services / Remote Desktop Session Host / RD Connection Broker / 
    Use RD Connection Broker load balancing: Enabled
    Configure RD Connection Broker server name: Enabled
    And then apply gpupdate /force on every server and check the result.
    Here is the article for related error only for reference.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • 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

  • Connection Broker Event 802

    I have a Server 2012 R2 with all Remote Desktop roles and a number of Hyper-V VMs on it. This was all working fine until I replaced the (separate) domain controller. I had trouble with seeing the second domain controller (which is one of the VMs on the RDS
    server) and so I promoted the RDS box to a domain controller - I now know I shouldn't have.
    The domain is now all sorted and I have removed the domain controller role from the RDS box. I can use RDS client to connect to any of the VMs. However if I try to use RDS client to connect to the RDS host, the connection fails and the RDS server's event
    log contains error 802 - Connection Broker failed to process the connection request for user ...... Error: Element not found.
    In the Event Viewer, I have Custom Views / Server Roles /.../ Remote Desktop Services AND Remote Desktop Services1 (which contains the 802 error). Please can someone suggest a solution.

    Hi,
    Thank you for posting in Windows Server Forum.
    Is there any update?
    In addition, on the RD Connection Broker, I removed and re-added the RD Virtualization Host server that houses the VMs for the VM pool was trying to access. I got a dialog box telling me that the "RDS hyper-v agent service was stopped" and the VMs
    for that virtualization host server would ont be available until it was started.
    Here you can try to Stop and Restart the following service on RD Virtualization Host Server. 
    • Hyper-V Virtual Machine Management 
    • Remote Desktop Virtualization Host Agent (a dependant service)
    • RemoteFX Session Licensing (a dependant service)
    After performing this check the result. For more information refer this article.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • "Configuration system failed to initialize" when trying to connect FM12 to Sharepoint

    Adding a connection to Sharepoint using the FM12 CMS Connection Manager is failing with the error "Configuration system failed to initialize".  I can access all the sites and libraries in Sharepoint perfectly from IE on the same PC, but no matter what I try in the FM12 Connection Manager I get the above mentioned error.  The PC (which is actually a VM) is running Windows Server  2008 R2 (x64 with heaps of RAM and HDD free) with all updates applied.  FM12 is installed as part of Technical Comms Suite 5 subscription.
    Does anyone have any ideas what may be causing this (or what it even means) and how I can fix it?

    Hi Steve,
    >>Error message is  "Configuration system failed to initialize". The popup window has the title "visual studio tools for office solution installer"
    For this issue, I would recommend you try to uninstall/reinstall the VSTO runtime. The link below might be useful to you:
    #Customization could not be loaded because the application domain could not be created.
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/d8204b2f-d5c7-42b3-b339-d2d37d43652d/customization-could-not-be-loaded-because-the-application-domain-could-not-be-created?forum=vsto
    If the method above do not work, I will recommend you install the excel add-in in the developing machine with the USB to check whether it could work correctly.  If it could not install correctly, I assume that there might be something wrong when you
    publish, and could you share us the steps you published? If it works correctly, I assume that it caused by the environment of another pc, it would be helpful if you could share us the screen shoot about details error message.
    Best Regards,
    Edward
    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.

  • Remote Desktop Connection Broker role fails to install

    Hi,
    I am having a situation where I cannot install the RDS Connection Broker on a Windows 2012 R2 that also has AD DS installed.  I understand with Windows 2012 R2, you should be able to do this.
    I suspect that the Default Domain Controller Policy might be a factor in this, but I have modified the "Log on as a Service" right to include the "NT SERVICE\ALL SERVICES" user as directed in article
    2832204. The issue persists.
    I have reviewed the event logs and the Windows Internal Database logs, and it appears the hang up is with the installation of the Windows Internal Database.  The C:\windows\wid\log\error.log file shows the following line just before the installation
    fails:
    2014-12-12 11:05:32.54 Logon       Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Could not find a login matching the name provided. [CLIENT: <named pipe>]
    I am unsure where to go from here, but I tried renaming the C:\Windows\WID folder after a reboot to see if a clean install of the Windows Internal Database would fix it, but it still has the same issue.
    Some more information on the environment:
    Recently added this Windows 2012 R2 DC to a domain that previously only had a Windows 2003 domain controller. There were no errors with the DC promotion.  Windows 2003 domain controller still resides on the network as a DC (for now).
    Planning to install RD Connection Broker and RD Web Access role services to the new Windows 2012 R2 AD DS server. 
    Thank you for any assistance you can provide to resolve this issue.
    Tim

    Hi Tim,
    Thank you for posting in Windows Server Forum.
    Initially would like to say that it’s not best practice to have RDS and AD DS role on same server (Not recommended). There are various safety reason for this case.  Instead you can do one thing, install Hyper-v on physical server and then create 2 VM (one
    for AD DS and other for RDS) in this way you can achieve your goal. Please try to install as the mentioned way and verify whether you resolved you issue. For more information you can refer following article.
    Step by Step Windows 2012 R2 Remote Desktop Services – Part 1
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can't HotSync Centro ("Serial connection failed to initialize")

    Every time I start my laptop (Sony VAIO, running Vista) I get the following error message: "Serial connection failed to initialize (The selected port, COM4, is not available at this time. HotSync Manager will open the port when it becomes available.)." I haven't been able to HotSync my Centro for some time now, as the port apparently never does "become available".... Any suggestions?  Thanks in advance!

    How are you connecting to the computer?
    What do you have the HotSync Manager set for?  A serial connection?  ("Local")?
    It should be set to "Local USB".
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Server 2012 RDS - Remote Desktop Connection Broker Client failed to redirect the user domain\username. Error: NULL

    Seeing the error listed here.
    The Remote Desktop Connection Broker server could not enumerate the targets for the provider named NULL from the database.
    Pooled virtual desktop collection name: NULL
    Error: Error code: 0xFFFFFFFF.
    Broker and Hyper-V are on the same physical machine.
    Any ideas on where to start troubleshooting this?
    Used the happy wizard to create everything, and got no errors.
    I have created a small pool collection, and given rights to domain users. Everything "looks" good.

    I have the same problem.
    (Making this long hand for those who come after)
    I have installed SQl Management Studio Express 2012 SP1
    http://www.microsoft.com/en-us/download/details.aspx?id=29062 
    (You only need the one file "SQLManagementStudio_x64_ENU.exe")
    Ran this as Administrator 
    And typed in the Server Name field
    \\.\pipe\MICROSOFT##WID\tsql\query
    Then hit connect.
    Expanded Databases (+sign)
    Expanded RDCms 
    Expanded Tables
    Right Clicked on rds.target, select Edit top 200 rows
    Right Clicked and copied, then pasted this into a notepad file on the desktop (As a backup)
    Right Clicked and selected Delete to delete the row with the data in it (and PoolID was set to Null in this row)
    Did the same for rds.pool
    Manually added Remote Desktop server into the MEMBER OF tab of
    “Windows Authorization Access Group” via Active Directory Users and Computers. As this domain was Windows 2003 Native when the RDS server was first installed.
    Rebooted server and same issue>
    Checked SQL again and rows had come back.
    Is that what you meant by "delete
    the rds.target and rds.pool with pool id = NULL"?
    Not a SQL guru, so any help appreciated.

  • OpenMQ 4.4 in GlassFish 3 Preview: "Failed to initialize bridge service"

    In the current Preview version of GlassFish V3 which includes OpenMQ 4.4 b 6, I have configured Stomp bridge in the file
    glassfish-v3\glassfish\domains\domain1\config\init.conf\imq\instances\imqbroker\props\config.properties :
    imq.bridge.admin.user=admin
    imq.bridge.admin.password=admin
    imq.bridge.activelist=stomp
    imq.bridge.enabled=true
    If I start GlassFish in NetBeans, the log file in glassfish-v3\glassfish\domains\domain1\config\init.conf\imq\instances\imqbroker\log shows an exception stack trace related to the bridge manager, it seems like the Stomp bridge can not be loaded as the result of this error.
    It looks like I have to add the imgbridgemgr.jar to the domain classpath?
    [16/Jul/2009:20:27:47 CEST] Using built-in file-based persistent store: E:\Programme\glassfish-v3\glassfish\domains\domain1\config\init.conf\imq\instances\imqbroker\
    [16/Jul/2009:20:27:47 CEST] [B1318]: Initialize bridge service manager
    [16/Jul/2009:20:27:47 CEST] WARNING [B2216]: Failed to initialize bridge service manager:
    java.lang.NoClassDefFoundError: com/sun/messaging/bridge/service/BridgeCmdSharedResources
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:677)
         at org.glassfish.internal.api.ConnectorClassFinder.findClass(ConnectorClassFinder.java:53)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:854)
         at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:412)
         at com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:219)
         at com.sun.messaging.jms.ra.EmbeddedBrokerRunner.start(EmbeddedBrokerRunner.java:341)
         at com.sun.messaging.jms.ra.LifecycleManagedBroker.start(LifecycleManagedBroker.java:329)
         at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:300)
         at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter$1.run(ActiveJmsResourceAdapter.java:318)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.startResourceAdapter(ActiveJmsResourceAdapter.java:314)
         at com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:117)
         at com.sun.enterprise.connectors.inbound.ActiveInboundResourceAdapterImpl.init(ActiveInboundResourceAdapterImpl.java:86)
         at com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(ActiveRAFactory.java:130)
         at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:99)
         at com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:282)
         at com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:412)
         at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:351)
         at com.sun.enterprise.connectors.service.ConnectorService.loadDeferredResourceAdapter(ConnectorService.java:226)
         at com.sun.enterprise.connectors.ConnectorRuntime.loadDeferredResourceAdapter(ConnectorRuntime.java:1056)
         at com.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient.getActiveResourceAdapter(ConnectorMessageBeanClient.java:243)
         at com.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:153)
         at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:196)
         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:115)
         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:183)
         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:160)
         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:57)
         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:152)
         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:174)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:282)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:247)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:419)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:434)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:521)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:137)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:208)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.bridge.service.BridgeCmdSharedResources
         at com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:727)
         at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:617)
         at org.glassfish.internal.api.ConnectorClassFinder.findClass(ConnectorClassFinder.java:53)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         ... 62 more

    After copying the files imqbridgemgr.jar, imqjmsbridge.jar and imqstomp.jar to the folder glassfish-v3\glassfish\lib\install\applications\jmsra, the stomp bridge log file says "Starting StompServer TCP transport on port 7672".
    17.07.2009 18:21:58 com.sun.messaging.bridge.service.stomp.StompServer init
    INFO: StompServer log domain: imq.bridge.stomp
    17.07.2009 18:21:58 com.sun.messaging.bridge.service.stomp.StompServer init
    INFO: StompServer log file: E:\Programme\glassfish-v3\glassfish\domains\domain1\config\init.conf\imq\instances\imqbroker\bridges\stomp\stomp%g.log
    17.07.2009 18:21:58 com.sun.messaging.bridge.service.stomp.StompServer start
    INFO: Starting StompServer TCP transport on port 7672
    17.07.2009 18:21:58 com.sun.messaging.bridge.service.stomp.StompServer start
    INFO: StompServer has been started successfully.
    To make sure that the message queue works without Stomp, I used a messagedriven bean, which receives messages sent from a servlet to a queue. (see below). However, a Stomp client can not send messages to this queue. With netstat I found that port 7672 is not open, while the servlet is working fine.
    Maybe something is wrong in my web application test code?
    * Message driven bean
    package de.betabeans;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.MessageDriven;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    @MessageDriven(mappedName = "jms/TOOL.DEFAULT", activationConfig = {
    @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
    public class NewMessageBean implements MessageListener {
    public NewMessageBean() {
    System.out.println("created MessageBean");
    public void onMessage(Message message) {
    System.out.println("reveived message");
    public class NewServlet extends HttpServlet {
    @Resource(mappedName="jms/TOOL.DEFAULTFactory")
    private ConnectionFactory connectionFactory;
    @Resource(mappedName="jms/TOOL.DEFAULT")
    private Queue queue;
    * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    * @throws ServletException if a servlet-specific error occurs
    * @throws IOException if an I/O error occurs
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    try {
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    Connection connection = connectionFactory.createConnection();
    Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
    MessageProducer messageProducer = session.createProducer(queue);
    Message message = session.createTextMessage();
    messageProducer.send(message);
    messageProducer.close();
    connection.close();
    System.out.println("Message sent");
    try {
    /* TODO output your page here*/
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet NewServlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>Servlet NewServlet at " + request.getContextPath() + "</h1>");
    out.println("</body>");
    out.println("</html>");
    } finally {
    out.close();
    } catch (JMSException ex) {
    Logger.getLogger(NewServlet.class.getName()).log(Level.SEVERE, null, ex);
    // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
    * Handles the HTTP <code>GET</code> method.
    * @param request servlet request
    * @param response servlet response
    * @throws ServletException if a servlet-specific error occurs
    * @throws IOException if an I/O error occurs
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    * Handles the HTTP <code>POST</code> method.
    * @param request servlet request
    * @param response servlet response
    * @throws ServletException if a servlet-specific error occurs
    * @throws IOException if an I/O error occurs
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    * Returns a short description of the servlet.
    * @return a String containing servlet description
    @Override
    public String getServletInfo() {
    return "Short description";
    }// </editor-fold>
    }

  • Server 2012 R2 Remote Desktop Connection Broker

    I have installed RDS on a server named PLUTO on which Windows 2012 R2 datacenter is in. There is a domain controller (domain name: AGROSY) running on a Linux server. We have used Samba 3.6.6 to control the file sharing system.
    When I attempt to install RDS in Server Manager, it states as following: could not retrieve the deployment information from RD connection broker server pluto.AGROSY.
    Then, I searched a lot of solutions, e.g.  and tried as following:
    Enter-PSSession -ComputerName pluto   --> which works;
    but Enter-PSSession -ComputerName pluto.AGROSY   --> which gives the error message as: Enter-PSSession : Connecting to remote server pluto.AGROSY failed with the following error message : WinRM cannot process the request. The following
    error with errorcode 0x80090311  occurred while using Kerberos authentication: There are currently no logon servers available to service the logon request.
    If I ping the pluto.AGROSY, it works as well.
    I have no idea how it can be solved, please help me out. Thanks a lot!

    Hi,
    Thanks for your comment. Sorry for late reply.
    Initially please enable the PowerShell remoting in your case. 
    Enable-PSRemoting
    http://technet.microsoft.com/en-us/library/hh849694.aspx
    For FQDN name, please see that RDCB is properly configured and also certificate which you have used for RDS environment must be trusted with its private key and must match the FQDN name of the server. Did you seen the certificate has been properly used and
    configured. You can go through following article for certificate and also for configuring RDCB role.
    Configuring RDS 2012 Certificates and SSO
    Configuring HA for the Remote Desktop Connection Broker in a 2012 RDS Farm
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Server 2012 RTM Remote Desktop Connection Broker Role Won't Install

    Hey guys,
    I have been searching for and trying fixes for this for 3 days, and I've gotten no where.  Thanks in advance for trying to help me out.
    Here's the situation:
    I have a brand new installation of the Windows Server 2012 Datacenter 64-Bit RTM from MSDN.  This is my one and only server (just my personal one for home), so I'm using this single server to run all of the services that I need.  After a fresh
    installation, I added the AD and DNS roles and promoted the server to the PDC.  Then I go to add the Remote Desktop Virtualization Services (the VM virtualization role).  The installation fails, but I can't find any explanation as to why.
    I've wiped out the OS and reinstalled from scratch at leat 15 times, trying various combinations, fixes, approaches, etc.  including powershell, Remote Desktop Services Deployment, standard role-based deployment, etc.
    Using the role-based deployment, I can get every 'Remote Desktop Services' component to install except the Remote Desktop Connection Broker.  I've tried enabling RDMSUI_TRACING, but didn't get any information at all as to why it's failing.  I also
    cannot find RDMSDeploymentUI.txt log.
    I've also tried to deploy this using Powershell using this command:
    New-SessionDeployment [-ConnectionBroker] <string> [-WebAccessServer] <string> [-SessionHost] <string>
    That particular item does provide some error messages, but they seem to complain about the Session Host not being able to install due to not being able to find the connection string key in the registry for the Windows Internal Database.  However, I can
    get the session host and every other component to install using role-based deployment, except the Connection Broker.
    I've run an SFC scan, which found no issues.   I've also tried applying the one update available in Microsoft Update, and tried it without applying that update (reinstalling between attempts of course).
    I'm completely at a loss.  Has anyone encountered this before?  Any suggestions would be greatly appreciated.  Is there a powershell command for just installing the Connection Broker that might provide some additional error information, or any
    information at all?
    I would greatly appreciate any help anyone could offer.  I'm willing to try anything.  Thanks for taking the time to read this.
    Sincerely,
    Dominick

    Also Found this:
    1. You try to install the Remote Desktop Connection Broker (RDCB) on a server that also has the Active Directory Domain Server (domain
    controller) role installed. This configuration is not supported by Microsoft. You need to install the RDCB on a server that does not have this role installed. See: Remote Desktop Services role cannot co-exist with AD DS role on Windows Server 2012 http://support.microsoft.com/kb/2799605
    2. If you don’t have the Active Directory Domain Service install, this issue might be caused by the Windows internal database (WID) that
    the connection broker installs and the Windows Update KB2821895. If you have KB2821895 installed, unfortunately you can not uninstall this KB. Try to install the Remote Desktop Connection Broker (RDBC) role on a server that does not have this Windows update.
    Note: There is currently no official communication from Microsoft that here is an issue with RDBC and KB2821895. However, try the RDBC installation
    without this KB and see what happens.
    For more information, Refer below link...
    http://fabrikam.wordpress.com/2013/07/15/connection-broker-installation-failedremote-desktop-deployment-issues/

  • Connect RD Connection Broker to SQL

    Hello I'm not being able to install RD Connection Broker with High Availability.
    The RDS deployment consists on two servers running win2012
    server1 - RDWA and RDG
    server2 - RDSH and RDCB
    The SQL server 2012 that I'm using is installed on server2 itself and had to be installed after the RDS otherwise the SQL installation failed and had to be done using the RD-install. It's working fine , I've applications that run on it.
    As when configuring RDCB HA "both" RDCB hosts access directly to the SQL DB to create a new database, their accounts need to be authenticated as a SQL login with dbcreator role.
    1 step: I checked a straight forward installation_
    Installing and Configuring RD Connection Broker High Availability in Windows Server 2012
    Failed
    2 step: I checked an installation where my problem happened.
    I checked RD Connection Broker HA – SQL Permissions
    Added the host to a domain group and added the group as an SQL login, SQL authentication failed.
    4 step: Google for how to create SQL login for a computer account and  I added it by executing:
    “CREATE LOGIN [MyDomain\MyComputer$]
    FROM WINDOWS”
    Also tried to use Add-ADcomputerServiceAccount without success.
    3 step: I ended here
    Taking a closer look at RD Connection Broker High Availability in Windows
    Server 2012
    Where I verified that none of the following explanations were correct:
    The SQL Server Native client is not installed
    A firewall is blocking SQL Access from the RD Connection Broker (port 1433)
    The incorrect SQL Server Native Client version is specified
    An incorrect SQL Server name is specified
    I tried several variations of the string to use but this is the one I think it's correct:
    DRIVER=SQL Server Native Client 11.0;SERVER=WIN2012-1;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RDCB
    The error registered on SQL is:
    "Message
    Login failed for user 'RDS\WIN2012-1$'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]"
    I tried to connect via ODBC with an existing username an it succeeded.
    The problem seems to be with the computer account not existing as an SQL login...the thing is that it exists.
    I need to set this up in order to be able to change the RDCB FQDN to a public FQDN.
    How were you guys able to overcome this? Did you faced this at all?
    Thanks,
    David

    Guys,
    I suffered with a very similar problem when setting up an RDS 2012 environment using SQL Server 2014 sitting on a server core VM, and two connection brokers sitting on server core OS as well. 
    My SQL logs were filling with with login failed for the connection brokers computer account even though I had configured the SQL permissions correctly. 
    In the end it was Arjan's post above that got me fixed, rebooting the connection broker VMs. Really annoying, as I let AD propagate over night, just in case that was the issue. After simply rebooting the connection brokers, this worked. For anyone who needs
    it, my SQL databases are stored on a separate D: drive and I used the string below:
    DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=<DB Name>.
    Hope this helps someone else.

Maybe you are looking for