Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


the element system webserver has invalid child element rewrite


the element system webserver has invalid child element rewrite  using -'asp.net,url-rewriting'


  Warning   1   The element
  'system.webServer' has invalid child
  element 'rewrite'. List of possible
  elements expected: 'asp, caching, cgi,
  defaultDocument, directoryBrowse,
  globalModules, handlers,
  httpCompression, httpErrors,
  httpLogging, httpProtocol,
  httpRedirect, httpTracing,
  isapiFilters, modules, odbcLogging,
  security, serverRuntime,
  serverSideInclude, staticContent,
  tracing, urlCompression, validation,
  management'.  D:\PROJEKTI\FoodOrder\FoodOrder\Web.config  185 4   FoodOrder


code:

system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
            <remove name="ScriptModule" />
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated" />
            <remove name="ScriptHandlerFactory" />
            <remove name="ScriptHandlerFactoryAppServices" />
            <remove name="ScriptResource" />
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </handlers>
        <rewrite>
            <rewriteMaps>
                <rewriteMap name="StaticRewrites">
                    <!--<add key="/Default.aspx" value="/Default.aspx" />-->
                </rewriteMap>
            </rewriteMaps>
            <rules>


page works but i always get warning of this and when i publish page i get publish error becouse of this...
    

asked Oct 6, 2015 by shegokar.anjeet
0 votes
3 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...