mardi 2 août 2016

IIS tips

 Step-by-step IIS configuration guide

  •  If the following error occurs, go to applicationHost.config file in C:\Windows\System32\inetsrv\config  and set overrideModeDefault properties to "Allow" for handlers section :
  <section name="handlers" overrideModeDefault="Allow" />

  • If the following error occurs, 
proceed to ASP.Net component set up:
  • Launch :  c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –i to register the previous ASP.NET installation with IIS
  • If authorization are not set yet, activate them :
    1. Open IIS Manager and navigate to the site to manage.
    2. In Features View, double-click Directory Browsing.
In the Actions pane, click Enable to enable the Directory Browsing feature .
  •  If the following error occurs : 
    Error Message : Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
    Installation of CGI and ISAPI extensions is required  :
  • The following errors requires addition of the folder permission
    Error Message : The current identity does not have write access to ‘C:\Windows\Microsoft.NET\v4.0.30319\Temporary ASP.NET Files’

 
  1. Problem with HTTPPost request in IIS7
    1- ASP.NET MVC4 not handling POST requests in IIS7 integrated mode
    The default configuration inserts this in the web.config:
    The problem is the "*." path, If you change this to "*", then all requests will be handled by the ExtensionlessUrlHandler, including those to static files which will not be served anymore. So the solution is: Remove the POST verb from the handler entries and add new entries for the ExtensionlessUrlHandler with the path set to "*" and only for POST requests:
    Ideally remove the ones you don't need (x86 and x64 in classic vs. integrated pipeline).
    2- IIS 7  allow POST requests to html files
    Maybe 7  routing is different in respect to handing off a POST to an action that has no argument that can accept the post form data.
     ==> For this Reason I prefer working with Windows Azure

Related Posts:

  • Visual Studio 2015 Et enfin que Microsoft a dévoilé la grille  pour la prochaine version majeure de son environnement de développement intégré Visual Studio 2015. Visual Studio 2015 est un environnement très riche , de dévelop… Read More
  • Quand on commence à penser SPA AngularJs - outils nécessaires Quand j'ai décidé de commencer le travail avec AngularJS, il fallait effectuer des recherches sur les outils nécessaires qui peuvent m'aider à part la documentation technique d’AngularJs. Est-ce que c'est nécessaire qu'on … Read More
  • Historique ASP.NET MVC 1.     ASP.NET MVC1 Sortie le 13 Mai 2009 Fonctionne sur .NET 3.5 et avec Visual Studio 2008 et Visual Studio 2008 SP1. Modèle d'architecture  MVC avec le moteur  WebForm. Html Help… Read More
  • De retour Bonjour, Six ans d'expérience dans le domaine .NET, promis de fournir des articles de formation mais faute de temps et du boulot je n'ai pas pu vous aider. Aujourd'hui, je vais mettre des articles qui vous aide à avoir u… Read More
  • Routage dans AngularJS Le routage dans  un site web est la  correspondance d'une URL donnée à une page bien déterminé ayant  des caractéristiques bien spécifiques . Dans AngularJS, une page doit y avoir ces caractéristiques : L… Read More

1 commentaire:

  1. Erreur HTTP 500.19 - Internal Server Error The asp.net account not appear in the IIS manager because you didn't check its check Box in IIS to do this in windows 7 follow the steps



    Open control panel
    Click on” program” link (not uninstall programs)
    Click” turn windows features on/off” link
    locate” Internet Information services IIS” in the pop up window and expand its node
    Expand the” World Wide Web Service” node
    Expand “Application Development Features” node
    check the check box of”ASP.NET”
    Then click ok button

    RépondreSupprimer