C
C#3mo ago
AideedSS

Error 500.9 when I expand httpRuntime size

I have a error problem, and how do I solve it..I got error I tried to allowing website to upload more than 10mb..so I put
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.7.2" />
<httpRuntime targetFramework="4.7.2" /
<!-- Increase the max request length if you expect larger files -->
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
</system.web>
</configuration
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.7.2" />
<httpRuntime targetFramework="4.7.2" /
<!-- Increase the max request length if you expect larger files -->
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
</system.web>
</configuration
When I run it, it response error 500.19 The following is its response...how do I solve this? ___
The requested page cannot be accessed because the related configuration data for the page is invalid.
The requested page cannot be accessed because the related configuration data for the page is invalid.
Config error
Config section 'system.web/httpRuntime' already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
Config section 'system.web/httpRuntime' already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
Config Source:
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
1 Reply
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server