When using. NET 2.0, after the project is completed, you want to browse in IIS, but sometimes "server applicationsProgramThis problem is also encountered after the system is reinstalled today. There are three common solutions:
Method 1Re-register. NET 2.0:
C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I (generally the first method can be used)
Method 2Create an application pool:
To create an application pool
1. Click Start, point to program, and click Control Panel ".
2. Double-click "Administrative Tools" and double-click "inte. Net Information Service (IIS )".
3. Right-click application pool, point to new, and click application pool ".
4. Type apppool1 in the application pool ID text box.
5. Click OK ".
Allocate applications to the application pool
1. Click Start, point to program, and click Control Panel ".
2. Double-click "Administrative Tools" and double-click "inte. Net Information Service (IIS )".
3. Double-click "web site ".
4. Double-click "Default web site ".
5. Right-click debugapp1 and click Properties ".
6. In the "main directory" tab, select "apppool1" in the "application pool" list box, and click "OK ".
Solution 3To modify the access permission of the folder where the website directory is located:
Right-click the current website directory and choose Properties> Security> Add> advanced> Search now> select users user> OK