Jump to: navigation, search

Changes


Configuration Files/web.config

1,065 bytes added, 19 April
**Verbose: Debug-level tracing for both user code and servicing. Set this level when: You are not sure which method in your code was called when the failure occurred. You have an incorrect endpoint configured and the service failed to start because the entry in the reservation store is locked.
**ActivityTracing: Flow events between processing activities and components.This level allows administrators and developers to correlate applications in the same application domain. Traces for activity boundaries: start/stop. Traces for transfers.
 
== How to configure ==
===Activity Tracing ===
Enabling can be done by simlpy setting the desired log level value of (for e.g. switchValue="Verbose" or higher)
Disabling can be done by simply setting the log level value of all three tracers from (e.g. switchValue="Verbose" to switchValue="Off").
There is the possibility to enable only the Activity Tracing log level and this can be done by simply adding the ActivityTracing after the switchValue value(e.g. switchValue="Off, ActivityTracing"), or both log levels can be enabled at the same time(e.g. switchValue="Verbose, ActivityTracing")
By deafult all switchValues are set to "Off".
 
 
 
=== Example 3.5 ===
</syntaxhighlight>
==Configuration==
See [https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-8.0 Configuring Web.config] for further details.
===Activity Tracing ===
Enabling can be done by simply setting the desired log level value of (e.g. ''''switchValue'="Verbose"''' or higher)
Disabling can be done by simply setting the log level value of all three tracers from (e.g. '''switchValue="Verbose"''' to '''switchValue="Off"''').
There is the possibility to enable only the Activity Tracing log level and this can be done by simply adding the ActivityTracing after the switchValue value(e.g. '''switchValue="Off, ActivityTracing"'''), or both log levels can be enabled at the same time(e.g. '''switchValue="Verbose, ActivityTracing"''')
By default, all switchValues are set to "Off".
===Upload of large files===
For security reasons we allow the upload of files with a size of 65536 KB (64MB), to increase this size the '''maxRequestLength attribute''' in the '''system.web tag''' must be adapted.
 
{{Hint|The '''maxRequestLength''' is handled in KB.}}
 
{{Attention|The [[Configuration_Files/Bindings.config#Upload_of_large_files]] must also be adapted otherwise, the upload will fail.}}
 
{{Attention|If you are using Windows Internet Information Services (IIS) The maximum upload file size must be reconfigured in IIS otherwise the upload will fail [[Configure_Microsoft_IIS_for_UBIK#Configure_Upload_of_large_files]]}}
 
==== Example Upload of files with 300MB Size ====
<source lang="XML">
<system.web>
<customErrors mode="Off"/>
<httpRuntime maxRequestLength="302700" />
<compilation debug="true" defaultLanguage="c#" targetFramework="4.0" />
</system.web>
</source>
== See also ==
415
edits