We need to change the config section applicationHost file
First Open folder path based on this
C:\Windows\System32\inetsrv\config
After open this path we will find applicationHost file.
Now select applicationHost file and right click on applicationHost file and open with Notepad to modify config section.
After open applicationHost file with Notepad
Go to <configSections> under that go to <sectionGroup name="system.webServer">
<section name="handlers" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
After change those values save your applicationhost file and run your application it will work for you.
First Open folder path based on this
C:\Windows\System32\inetsrv\config
After open this path we will find applicationHost file.
Now select applicationHost file and right click on applicationHost file and open with Notepad to modify config section.
After open applicationHost file with Notepad
Go to <configSections> under that go to <sectionGroup name="system.webServer">
<section name="handlers" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
After change those values save your applicationhost file and run your application it will work for you.
0 comments:
Post a Comment