Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. The problem of usng IIS for publishing ASP.net website

The problem of usng IIS for publishing ASP.net website

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestionvisual-studio
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Seraph_summer
    wrote on last edited by
    #1

    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"/>

    A 1 Reply Last reply
    0
    • S Seraph_summer

      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"/>

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      How did you hosted your site on IIS ? Did you create virtual directory properly ? Where is your web.config file located ?

      Seraph_summer wrote:

      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.

      1. Create Web site using Visual Studio. Note : During creation of web site if you select File Location as HTTP, then it will also create the Virtual Directory at IIS. 2. After creation of Web site just published the site. 3. Goto Published folder. Then you can use Folder Web sharing option for create the virtual Directory or Open IIS manager to to create Virtaul Directory. Here is one of my beginners article on IIS. It may help you to move ahead. Beginner's Guide : Exploring IIS 6.0 With ASP.NET [^] Let me know if you have any further issue.

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      S 2 Replies Last reply
      0
      • A Abhijit Jana

        How did you hosted your site on IIS ? Did you create virtual directory properly ? Where is your web.config file located ?

        Seraph_summer wrote:

        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.

        1. Create Web site using Visual Studio. Note : During creation of web site if you select File Location as HTTP, then it will also create the Virtual Directory at IIS. 2. After creation of Web site just published the site. 3. Goto Published folder. Then you can use Folder Web sharing option for create the virtual Directory or Open IIS manager to to create Virtaul Directory. Here is one of my beginners article on IIS. It may help you to move ahead. Beginner's Guide : Exploring IIS 6.0 With ASP.NET [^] Let me know if you have any further issue.

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        S Offline
        S Offline
        Seraph_summer
        wrote on last edited by
        #3

        HI, thank you very much! I just repeat exactly as what you have introduced in your article "Deploying ASP.NET Websites on IIS 7.0" , the same error gives, that is to say, the web.config has problem, I can not understand at all. because I just create a default website based on ASP.net without doing anything. frankly speaking, my website has been ready several months ago, I just want to publish it, but I do not how to publish it. I really have no idea why it is not succeful. Could you please help me? what could be the reason? I really hate IIS. I am looking forward to your reply. thanks again.

        1 Reply Last reply
        0
        • A Abhijit Jana

          How did you hosted your site on IIS ? Did you create virtual directory properly ? Where is your web.config file located ?

          Seraph_summer wrote:

          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.

          1. Create Web site using Visual Studio. Note : During creation of web site if you select File Location as HTTP, then it will also create the Virtual Directory at IIS. 2. After creation of Web site just published the site. 3. Goto Published folder. Then you can use Folder Web sharing option for create the virtual Directory or Open IIS manager to to create Virtaul Directory. Here is one of my beginners article on IIS. It may help you to move ahead. Beginner's Guide : Exploring IIS 6.0 With ASP.NET [^] Let me know if you have any further issue.

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          S Offline
          S Offline
          Seraph_summer
          wrote on last edited by
          #4

          Hi, again me, I found one potential prolem to check the authorize, it displays the folloiwng informaitn, "The server is configured to be used to access the specified physical path pass-through authentication with a predefined account. IIS Manager can not verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If the server is connected to a domain, and the identity of the application pool "Network Service" or "Local System" is to make sure that has <domain> \ $ <computername> read access to the physical path. Try these settings again." Do you think is this cause the problem? if so, then what does it mean exactly?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups