Error In config

Hello Mates,

Can someone please guide me that whats wrong with my config. Below is output once i launch casparcg 2.1.12 NRK.

Type "q" to close application.
Logging [info] or higher severity to log/

[2021-01-09 02:26:12.317] [8624] [info]    process started
[2021-01-09 02:26:12.335] [8624] [warning] Element thumbnails-path in casparcg.config has been deprecated. Use thumbnail-path instead.
[2021-01-09 02:26:12.340] [8624] [info]    ############################################################################
[2021-01-09 02:26:12.340] [8624] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2021-01-09 02:26:12.340] [8624] [info]    under the GNU General Public License GPLv3 or higher.
[2021-01-09 02:26:12.340] [8624] [info]    Please see LICENSE.TXT for details.
[2021-01-09 02:26:12.340] [8624] [info]    http://www.casparcg.com/
[2021-01-09 02:26:12.340] [8624] [info]    ############################################################################
[2021-01-09 02:26:12.340] [8624] [info]    Starting CasparCG Video and Graphics Playout Server 2.1.12.12436 11fdd364e NRK
[2021-01-09 02:26:12.340] [8624] [info]    on Windows 10 Enterprise
[2021-01-09 02:26:12.340] [8624] [info]    Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80GHz Physical Threads: 4
[2021-01-09 02:26:12.340] [8624] [info]    HP Z420 Workstation
[2021-01-09 02:26:12.341] [8624] [info]    Initialized reroute module.
[2021-01-09 02:26:12.343] [8624] [info]    Initialized ffmpeg module.
[2021-01-09 02:26:12.343] [8624] [info]    Initialized oal module.
[2021-01-09 02:26:12.617] [8624] [info]    Initialized bluefish module.
[2021-01-09 02:26:12.617] [8624] [info]    Initialized decklink module.
[2021-01-09 02:26:12.617] [8624] [info]    Initialized screen module.
[0109/022612.639:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.
[2021-01-09 02:26:12.665] [8624] [info]    Initialized html module.
[2021-01-09 02:26:12.666] [8624] [info]    Initialized psd module.
[2021-01-09 02:26:12.768] [8624] [info]    Initialized flash module.
[2021-01-09 02:26:12.769] [8624] [info]    Initialized newtek module.
[2021-01-09 02:26:12.769] [8624] [info]    Initialized image module.
[2021-01-09 02:26:12.789] [8624] [info]    ffmpeg.avcodec 58.11.101
[2021-01-09 02:26:12.789] [8624] [info]    ffmpeg.avformat 58.9.100
[2021-01-09 02:26:12.789] [8624] [info]    ffmpeg.avfilter 7.12.100
[2021-01-09 02:26:12.789] [8624] [info]    ffmpeg.avutil 56.7.101
[2021-01-09 02:26:12.789] [8624] [info]    ffmpeg.swscale 5.0.101
[2021-01-09 02:26:12.790] [8624] [info]    bluefish.version Not found
[2021-01-09 02:26:12.790] [8624] [info]    decklink.version 11.7
[2021-01-09 02:26:12.790] [8624] [info]    decklink.device DeckLink SDI 4K [1]
[2021-01-09 02:26:12.790] [8624] [info]    cef.version 3.3578.1870
[2021-01-09 02:26:12.790] [8624] [info]    cef.chromeversion 71.0.3578.98
[2021-01-09 02:26:12.790] [8624] [info]    flash 32.0.0.387
[2021-01-09 02:26:12.790] [8624] [info]    newtek-ivga.version unavailable (Processing.AirSend.x64.dll)
[2021-01-09 02:26:12.790] [8624] [info]    freeimage 3.16.0
[2021-01-09 02:26:12.790] [8624] [info]    casparcg.config:
[2021-01-09 02:26:12.790] [8624] [info]    -----------------------------------------
[2021-01-09 02:26:12.790] [8624] [info]    <?xml version="1.0" encoding="utf-8"?>
[2021-01-09 02:26:12.790] [8624] [info]    <configuration>
[2021-01-09 02:26:12.790] [8624] [info]       <log-level>info</log-level>
[2021-01-09 02:26:12.790] [8624] [info]       <paths>
[2021-01-09 02:26:12.790] [8624] [info]          <media-path>\\172.18.51.201\2200_av\01_MEDIA\</media-path>
[2021-01-09 02:26:12.790] [8624] [info]          <log-path>log\</log-path>
[2021-01-09 02:26:12.790] [8624] [info]          <data-path>data\</data-path>
[2021-01-09 02:26:12.790] [8624] [info]          <template-path>templates\</template-path>
[2021-01-09 02:26:12.790] [8624] [info]          <thumbnails-path>thumbnails\</thumbnails-path>
[2021-01-09 02:26:12.790] [8624] [info]       </paths>
[2021-01-09 02:26:12.790] [8624] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2021-01-09 02:26:12.790] [8624] [info]       <thumbnails>
[2021-01-09 02:26:12.790] [8624] [info]          <generate-thumbnails>false</generate-thumbnails>
[2021-01-09 02:26:12.790] [8624] [info]          <width>1024</width>
[2021-01-09 02:26:12.790] [8624] [info]          <height>576</height>
[2021-01-09 02:26:12.790] [8624] [info]          <video-grid>2</video-grid>
[2021-01-09 02:26:12.790] [8624] [info]          <scan-interval-millis>5000</scan-interval-millis>
[2021-01-09 02:26:12.790] [8624] [info]          <generate-delay-millis>2000</generate-delay-millis>
[2021-01-09 02:26:12.790] [8624] [info]          <video-mode>720p2500</video-mode>
[2021-01-09 02:26:12.790] [8624] [info]       </thumbnails>
[2021-01-09 02:26:12.790] [8624] [info]       <channels>
[2021-01-09 02:26:12.790] [8624] [info]          <channel>
[2021-01-09 02:26:12.790] [8624] [info]             <video-mode>1080i5000</video-mode>
[2021-01-09 02:26:12.790] [8624] [info]             <channel-layout>16ch</channel-layout>
[2021-01-09 02:26:12.790] [8624] [info]             <consumers>
[2021-01-09 02:26:12.790] [8624] [info]                <decklink>
[2021-01-09 02:26:12.790] [8624] [info]                   <device>1</device>
[2021-01-09 02:26:12.790] [8624] [info]                   <embedded-audio>true</embedded-audio>
[2021-01-09 02:26:12.790] [8624] [info]                   <channel-layout>16ch</channel-layout>
[2021-01-09 02:26:12.790] [8624] [info]                   <keyer>default</keyer>
[2021-01-09 02:26:12.790] [8624] [info]                   <latency>normal</latency>
[2021-01-09 02:26:12.790] [8624] [info]                   <buffer-depth>4</buffer-depth>
[2021-01-09 02:26:12.790] [8624] [info]                   <custom-allocator>true</custom-allocator>
[2021-01-09 02:26:12.790] [8624] [info]                </decklink>
[2021-01-09 02:26:12.790] [8624] [info]             </consumers>
[2021-01-09 02:26:12.790] [8624] [info]             <timecode>layer</timecode>
[2021-01-09 02:26:12.790] [8624] [info]             <timecode_layer>10</timecode_layer>
[2021-01-09 02:26:12.790] [8624] [info]          </channel>
[2021-01-09 02:26:12.790] [8624] [info]       </channels>
[2021-01-09 02:26:12.790] [8624] [info]       <controllers>
[2021-01-09 02:26:12.790] [8624] [info]          <tcp>
[2021-01-09 02:26:12.790] [8624] [info]             <port>5250</port>
[2021-01-09 02:26:12.790] [8624] [info]             <protocol>AMCP</protocol>
[2021-01-09 02:26:12.790] [8624] [info]          </tcp>
[2021-01-09 02:26:12.790] [8624] [info]       </controllers>
[2021-01-09 02:26:12.790] [8624] [info]       <amcp>
[2021-01-09 02:26:12.790] [8624] [info]          <media-server>
[2021-01-09 02:26:12.790] [8624] [info]             <host>localhost</host>
[2021-01-09 02:26:12.790] [8624] [info]             <port>8000</port>
[2021-01-09 02:26:12.790] [8624] [info]          </media-server>
[2021-01-09 02:26:12.790] [8624] [info]       </amcp>
[2021-01-09 02:26:12.790] [8624] [info]       <osc>
[2021-01-09 02:26:12.790] [8624] [info]          <default-port>6250</default-port>
[2021-01-09 02:26:12.790] [8624] [info]       </osc>
[2021-01-09 02:26:12.790] [8624] [info]       <audio>
[2021-01-09 02:26:12.790] [8624] [info]          <channel-layouts>
[2021-01-09 02:26:12.790] [8624] [info]             <channel-layout>
[2021-01-09 02:26:12.790] [8624] [info]                <name>passthru</name>
[2021-01-09 02:26:12.790] [8624] [info]                <type>16ch</type>
[2021-01-09 02:26:12.790] [8624] [info]                <num-channels>16</num-channels>
[2021-01-09 02:26:12.790] [8624] [info]             </channel-layout>
[2021-01-09 02:26:12.790] [8624] [info]          </channel-layouts>
[2021-01-09 02:26:12.790] [8624] [info]       </audio>
[2021-01-09 02:26:12.790] [8624] [info]    </configuration>
[2021-01-09 02:26:12.790] [8624] [info]    -----------------------------------------
[2021-01-09 02:26:12.790] [8624] [info]    Initialized video modes.
[2021-01-09 02:26:12.860] [8624] [info]    [asio] Shutting down global io_service.
[2021-01-09 02:26:12.860] [4696] [info]    [asio] Global io_service uninitialized.
[2021-01-09 02:26:13.802] [8624] [fatal]   No such element: /@name (casparcg.config: /configuration/audio/channel-layouts/channel-layout[1]). Please check the configuration file (casparcg.config) for errors.
Press any key to continue . . .Preformatted text






CONFIG FILE

<configuration>
  <log-level>info</log-level>
  <paths>
    <media-path>\\172.18.51.201\2200_av\01_MEDIA\</media-path>
    <log-path>log\</log-path>
    <data-path>data\</data-path>
    <template-path>templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <lock-clear-phrase>secret</lock-clear-phrase>
  <thumbnails>
    <generate-thumbnails>false</generate-thumbnails>
    <width>1024</width>
    <height>576</height>
    <video-grid>2</video-grid>
    <scan-interval-millis>5000</scan-interval-millis>
    <generate-delay-millis>2000</generate-delay-millis>
    <video-mode>720p2500</video-mode>
  </thumbnails>
  <channels>
    <channel>
      <video-mode>1080i5000</video-mode>
      <channel-layout>16ch</channel-layout>
      <consumers>
        <decklink>
            <device>1</device>
            <embedded-audio>true</embedded-audio>
            <channel-layout>16ch</channel-layout>
            <keyer>default</keyer>
            <latency>normal</latency>
            <buffer-depth>4</buffer-depth>
			<custom-allocator>true</custom-allocator>
        </decklink>
      </consumers>
	  <timecode>layer</timecode>
	  <timecode_layer>10</timecode_layer>
	  <!--
	  <producers>
		<producer id="0">AMB LOOP</producer>
		<producer id="10">DECKLINK 1 FORMAT 1080i5000</producer>
		<producer id="20">http:localhpost:3000/overlay.html</producer> 
	  </producers>
	  -->
    </channel>
  </channels>

  <controllers>
    <tcp>
        <port>5250</port>
        <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
        <media-server>
            <host>localhost</host>
            <port>8000</port>
        </media-server>
    </amcp>
	<osc>
    <default-port>6250</default-port>
  </osc>

  

 <audio>
  <channel-layouts>
    <channel-layout>
      <name>passthru</name>
      <type>16ch</type>
      <num-channels>16</num-channels>
	</channel-layout>
   </channel-layouts>
  </audio>
</configuration>
    <channel-layout>
      <name>passthru</name>
      <type>16ch</type>
      <num-channels>16</num-channels>
	</channel-layout>

Is wrong. Should be something like:

    <channel-layout name="passthru" type="16ch" num-channels="16" />