ASP.NET MVC deployment site to IIS, Web site directories list only

Solution:

1. Restart IIS

Open CMD run the following code: 

ps: enter the corresponding directory based on .NET Framework version of the release site

     4.0 C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319

     3.5 version of C: \ Windows \ Microsoft.NET \ Framework \ v3.5

     Version 2.0 C: \ Windows \ Microsoft.NET \ Framework \ v2.0.50727

As shown, in Example 4.0:

Restart IIS, as shown:

Enter the command iisreset / stop stop IIS

Enter the command iisreset / start to start IIS

 

 

2.web.config CI
<system.webServer>

<modules runAllManagedModulesForAllRequests="true" />

</system.webServer>

 

Guess you like

Origin www.cnblogs.com/xy0710/p/11106169.html