Ask a questionAsk a question
 

LockedVS08 Express Web Dev and IIS 7.0 error 500.19

Locked

  • Saturday, August 23, 2008 12:23 AMSpillicus Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I must be missing some step in the process here....
    When I create a web site using VS08webdev, then use the build tool, then would like to copy the site over to my web server directory that IIS 7.0 is serving out to the rest of the world.  When I try I get an error code...like

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070021
    Config Error 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".
    Config File \\?\C:\Users\Public\Web\web.config
    Requested URL http://localhost:80/
    Physical Path C:\Users\Public\Web
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
      112:       <validation validateIntegratedModeConfiguration="true"/>
      113:       <modules>
      114:         <remove name="ScriptModule" />
    
    Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

    View more information »


    I've made sure that IIS_IUSRS has read access to web.config and applicationhost.config.  The IIS server puts up a simple html page no problem, but when I copy the website from web dev (and with it the web.config file it builds), it causes the error. 
    Any suggestions?  Does the lack of a publish feature in VS Web Dev Express make it impossible to create a website for IIS?  Any help would be appreciated.

Answers

  • Saturday, August 23, 2008 1:07 AMJohn SaundersMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    This forum is for the ASMX Web Services technology. You should post your question at http://forums.asp.net.

    John Saunders | Use File->New Project to create Web Service Projects

All Replies

  • Saturday, August 23, 2008 1:07 AMJohn SaundersMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    This forum is for the ASMX Web Services technology. You should post your question at http://forums.asp.net.

    John Saunders | Use File->New Project to create Web Service Projects
  • Thursday, November 05, 2009 1:03 AMNandaStupid Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    HI,
    I tired sample page using webservice but still the problem exists.
  • Thursday, November 05, 2009 3:48 AMJohn SaundersMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    If you are working with a page, then you are using ASP.NET. See the announcement at the top of the forum to learn where to post ASP.NET questions.
    John Saunders
    WCF is Web Services. They are not two separate things.
    Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
    Use File->New Project to create Web Service Projects