You face problems with Control Center (on-premises installation) or Web Printing, which you can't resolve with the standard methods. Our development team can identify and resolve such issues by analyzing trace log files.
Tracing is not enabled by default. You can enable tracing for Control Center and Web Printing events by editing Control Center configuration files.
Note
Tracing can slow down your Control Center and Web Printing. Trace log files take disc space which can be critical if tracing is running for a longer time. After you reproduce the issue, disable the tracing.
NiceLabel Control Center Proxy Service 2019 tracing
To trace the activity of NiceLabel Control Center Proxy Service 2019:
-
Edit the
<Tracing>
tag in "c:\ProgramData\NiceLabel\NiceLabel Control Center\system.net\product.config" on the server where you installed Control Center. -
Connect to the server where Control Center is installed.
-
With text or XML editor open the file "c:\ProgramData\NiceLabel\NiceLabel Control Center\system.net\product.config".
-
Edit the
<Tracing>
tag by setting<Enabled>
value to True:<?xml version="1.0" encoding="utf-8"?> <configuration> <Common> <Diagnostics> <Tracing> <Enabled>True</Enabled> </Tracing> </Diagnostics> ...
Trace log files will be created in the folder "c:\ProgramData\NiceLabel\NiceLabel Control Center\system.net\".
Note
This method enables tracing only for NiceLabel Control Center Proxy Service 2019, To enable tracing in applications, see NiceLabel, WebDav and Web Printing tracing.
NiceLabel Web Printing Proxy Service 2019 tracing
To trace the activity of NiceLabel Web Printing Proxy Service 2019:
-
Connect to the server where Control Center is installed.
-
With text or XML editor open the file "c:\ProgramData\NiceLabel\NiceLabel Web Printing\product.config".
-
Edit the
<Tracing>
tag by setting<Enabled>
value to True:<?xml version="1.0" encoding="utf-8"?> <configuration> <Common> <Diagnostics> <Tracing> <Enabled>True</Enabled> </Tracing> </Diagnostics> ...
Trace log files will be created in the folder: "c:\ProgramData\NiceLabel\NiceLabel Web Printing\".
Note
This method enables tracing only for NiceLabel Web Printing Proxy Service 2019. To enable tracing in applications, see Control Center, WebDav and Web Printing tracing..
Control Center, WebDav, and Web Printing tracing
You can trace activities in the following applications:
Warning
Applications tracing are possible only with builds 19.2.1.5450 and newer. Tracing with older builds may cause applications to crash.
-
Control Center application tracing:
-
Navigate to the file "c:\Program Files\NiceLabel\NiceLabel Control Center\WEB\web.config" and make a backup of the file.
-
Open "web.config" with XML or text editor.
-
Search for the tag
<add key="TracingEnabled" value="true" />
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
Log files will be saved to the folder "c:\Program Files\NiceLabel\NiceLabel Control Center\WEB\".
-
Search for the tag
<add name="FileTraceListener" type="System.Diagnostics.TextWriterTraceListener"
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
Log files will be saved to the folder specified in the uncommented XML tag, defined in "initializeData" parameter.
-
-
-
Navigate to the file "c:\Program Files\NiceLabel\NiceLabel Control Center\WebDAV\web.config" and make a backup of the file.
-
Open "web.config" with XML or text editor.
-
Search for the tag
<add key="TracingEnabled" value="true" />
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
Log files will be saved to the folder "c:\Program Files\NiceLabel\NiceLabel Control Center\WebDAV\".
-
Search for the tag
<add name="FileTraceListener" type="System.Diagnostics.TextWriterTraceListener"
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
Log files will be saved to the folder specified in the uncommented XML tag, defined in "initializeData" parameter.
-
-
-
Navigate to the file "c:\Program Files\NiceLabel\NiceLabel Web Printing\Web\web.config" and make a backup of the file.
-
Open "web.config" with XML or text editor.
-
Search for the string
<add key="TracingEnabled" value="true" />
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
Log files will be saved to the folder "c:\Program Files\NiceLabel\NiceLabel Web Printing\Web\".
-
Search for the tag
<add name="FileTraceListener" type="System.Diagnostics.TextWriterTraceListener"
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
Log files will be saved to the folder specified in the uncommented XML tag, defined in "initializeData" parameter.
-
trace.axd website tracing
You can enable trace.axd website tracing in:
-
Control Center.
Edit "c:\Program Files\NiceLabel\NiceLabel Control Center\WEB\web.config" file.
-
WebDav.
Edit "c:\Program Files\NiceLabel\NiceLabel Control Center\WebDAV\web.config" file
-
WebPrinting.
Edit "c:\Program Files\NiceLabel\NiceLabel Web Printing\Web\web.config" file
Edit the following XML tags in "product.config" files:
-
Search for the string
<trace enabled="true" requestLimit="1000" traceMode="SortByTime" />
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment. XML tag for tracing becomes active.
-
Search for the string
<add name="WebPageTraceListener" type="System.Web.WebPageTraceListener,
-
Remove the comment in XML code.
-
Add the comment sign to the end of the upper comment.
XML tag for tracing becomes active.
You can check tracing activity on URL: http://<server_name>/EPM/trace.axd
Failed Requests Tracing in Control Center, WebDav and Web Printing websites
To enable Failed Requests Tracing:
-
On your server with Control Center installation open Turn Windows Features on or off. Navigate to Internet Information Services > World Wide Web Services > Health and Diagnostics, and enable Tracing.
-
Open Internet Information Services (IIS) Manager. Navigate to Sites > Default Web Site > EPM, and double-click Failed Request Tracing Rules.
Note
If Failed Request Tracing Rules is not enabled for Default Web Site, an alert displays in the top right corner of the window.
Click on the message to enable Failed Request Tracing Rules, then select the option Enable.
-
Click Add.
-
Select All content (*), then click Next.
-
Enter your preferred codes in the Status code(s) edit field, then click Next.
-
Select all Trace Providers and click Finish.
Failed Requests Tracing is now enabled. Log files will be created in the default folder "%SystemDrive%\inetpub\logs\FailedReqLogFiles" (unless you specified the different path when enabling the tracing).