Bagikan melalui


Cara Memodifikasi BTSWebSvcWiz.exe.config

Anda dapat mengaktifkan pelacakan untuk men-debug BizTalk Web Services Publishing Wizard dengan menghapus <> komentar tambahkan simpul dalam file BTSWebSvcWiz.exe.config. Jika simpul pendengar pelacakan tidak terkomentmentasi dan parameter initializeData tidak berubah, BizTalk Server menulis output file pelacakan ke direktori saat ini. Atau, Anda dapat mengatur tingkat pelacakan ApplicationTraceSwitch dan mengatur nama jalur file jejak.

BTSWebSvcWiz.exe.config terletak di direktori yang sama dengan file BTSWebSvcWiz.exe, yang biasanya \Program Files (x86)\Microsoft BizTalk Server <VERSION>.

Berikut ini adalah contoh tambahkan simpul yang tidak berkomentar <> dalam file BTSWebSvcWiz.exe.config:

<system.diagnostics>
  <switches>
    <!-- TraceLevel 0=Off, 1=Error, 2=Warning, 3=Info, 4=Verbose -->
    <add name="ApplicationTraceSwitch" value="4" />
  </switches>
  <trace autoflush="true" indentsize="4">
    <listeners>
      <!--add name="Trace"
       type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
       initializeData="BTSWebSvcWiz.trace.log" /-->
    </listeners>
  </trace>
</system.diagnostics>

Fitur pelacakan ini menggunakan kelas Pelacakan di .NET Framework. Untuk informasi selengkapnya tentang kelas Pelacakan, lihat situs Web Microsoft MSDN di https://go.microsoft.com/fwlink/?LinkId=67886.

Untuk informasi tentang TextWriterTraceListener, lihat "TextWriterTraceListener" di Koleksi Bantuan Visual Studio di https://go.microsoft.com/fwlink/?LinkId=62267.

Lihat juga

Men-debug Layanan Web yang Diterbitkan