Notes: Vista Business ar IIS7 un ASP.NET

Publicēts: 15:04:53 01/08/09
Autors: hQuse

Piezīmes priekš sevis un tiem, kam tas var noderēt.

Lai uz biznesa "Vistas" strādātu IIS7 kopā ar ASP.NET, nepietiek vien uzinstalēt web serveri. Lai no Visual Studio varētu publicēt saitus, nepieciešams izveikt sekojošas darbības (šeit nav runa par saitu debugošanu "studijā"):


1) Change all of the following values located in section <configSections> --> <sectionGroup name="system.webServer">

<section name="handlers" overrideModeDefault="Deny" /> <--- change this value from "Deny" to "Allow"
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> <--- change this value from "Deny" to "Allow"

2) Simply register asp.net with IIS.

Go to the VS command prompt and run this:

aspnet_regiis.exe -i

3) iekš IIS managera konkrēto web projekta mapi konvertējam uz aplikāciju:
MRB -> Convert to Application