You may refer to the step below to set Windows Server ASP.NET medium trust level.
By default installation :
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
1. Create a copy of web_mediumtrust.config and rename it to web_mymediumtrust.config
2. Open the newly copy file web_mymediumtrust.config
Add the following Below the tag :
Note: Please note that this setting was refer to ASP.Net default setting in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG but not your virtual hosting web.config.
Sample Code:
- 0 gebruikers vonden dit artikel nuttig