PDA

View Full Version : سوال: پیکربندی processModel در web.config



midavam
سه شنبه 26 خرداد 1394, 13:42 عصر
با عرض سلام و خسته نباشید
من کد زیر را در web.config ام در قسمت system.web اضافه کردم.

<processModel maxWorkerThreads="100" maxIoThreads="100"/>

ولی بهم خطای زیر رو میدهد.

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineOnly' beyond machine.config.
Source Error:
Line 33: </compilation>
Line 34: <httpRuntime targetFramework="4.5.1"/>
Line 35: <processModel maxWorkerThreads="100" maxIoThreads="100"/>
Line 36: </system.web>
Line 37: <system.webServer>
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212



می خواستم بپرسم چطور باید این تگ رو در machine.config پیکربندی کنم. آیا باید حتما در machine.config پیکربندی کنم؟
متشکرم