Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one quite simple website made by ASP.net, visual studio 2005, the website is nothing but just display 'hi'.

I just want to know how to us IIS for it. however, it gives the following error message:

This configuration section can not be used in this path. This is the case when the section is locked at a higher level. The closure takes place by default (overrideModeDefault = "Deny") is explicitly or with a location tag with overrideMode = "Deny" or the Legacyeinstellung allowOverride = "false" set.

anyone can tell me what is the problem? thanks!!

I have translated from German, the original information is as follows:


HTTP-Fehler 500.19 - Internal Server Error
Auf die angeforderte Seite kann nicht zugegriffen werden, da die zugehörigen Konfigurationsdaten für die Seite ungültig sind. Ausführliche Fehlerinformationen
Modul IIS Web Core
Benachrichtigung BeginRequest
Handler Noch unbestimmt
Fehlercode 0x80070021

Konfigurationsfehler Dieser Konfigurationsabschnitt kann in diesem Pfad nicht verwendet werden. Dies ist der Fall, wenn der Abschnitt auf übergeordneter Ebene gesperrt ist. Die Sperrung erfolgt standardmäßig (overrideModeDefault="Deny") oder wird explizit mit einem location-Tag mit overrideMode="Deny" oder der Legacyeinstellung allowOverride="false" festgelegt.

Konfigurationsdatei \\?\D:\publish_webtest\web.config
Angeforderte URL http://192.168.2.100:8080/
Physikalischer Pfad D:\publish_webtest
Anmeldemethode Noch unbestimmt
Angemeldeter Benutzer Noch unbestimmt

Konfigurationsquelle
97: </modules>
98: <handlers>
99: <remove name="WebServiceHandlerFactory-Integrated"/>
Posted

1 solution

well firstly check if your IIS is installed
then go to control panel and administrator tools
then to internet information services
then right click on default web site
go to home directory and change the local path to a folder
then save all your asp.net pages in that folder
then go to default documents
then select the asp.net page you want for your default page.

in your browser type http:\\localhost then it should display your page
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900