开发者

how to run asp.net website from iis7.5 and in windows7

开发者 https://www.devze.com 2023-01-08 10:58 出处:网络
I am trying to run my website from iis7.5 and i am using windows7 OS. after browsing the website, it gives error like this..开发者_开发百科.

I am trying to run my website from iis7.5 and i am using windows7 OS.

after browsing the website, it gives error like this..开发者_开发百科.

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

how can i resolve this... please tell me


C:\Windows\system32\inetsrv\config\applicationHost.config -> <configSections> -> <sectionGroup name="system.webServer">:

Change the attributes <... overrideModeDefault="Deny" ...> to Allow where needed (handlers, modules, ...).

or use the Microsoft Web Platform Installer 2.0 that will do it for you.

There are some command line tools for that as well I think.

0

精彩评论

暂无评论...
验证码 换一张
取 消