Server Environment Requirements:
Windows 2003 Server + IIS6.0
1. The. NET Framework 4.0 must be installed, MVC
2. It is best to install the. NET Framework SP1, our servers are loaded with the. NET Framework 3.5 SP1 and MVC3.
IIS Site Configuration
1. Add a site, right-click on the Site "Properties", select the "Home Directory" tab, click the "Configure" button, pop up a window. Directory browsing is not possible.
2. Pop up a window, select the "Mappings" tab, first look at the "Application Extensions" list, if there is an extension ". Mvc", if not, then click the "Add" button. Executable file Selection
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll, with the extension ". Mvc", remove the "Check for file existence" tick. See Settings.
3. Click the "Insert" button in the window below to add a wildcard mapping. The executable file is "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll", uncheck "Confirm file exists" click OK
4. Select Application pool, right-click the application pool specified by the Web site, select Properties, pop-up window, select the Identity tab, and choose Local System from the drop-down list.
5. In IIS Manager, click on "Web Service extensions" to see that the "ASP. v4.0.30319" service must be "allow".
The above information is from the blog: http://www.cnblogs.com/anny-1980/articles/2616657.html
If you have a Silverlight project, the following actions are required:
1. Select the HTTP Headers tab, as shown below, and click the MIME Type button.
2. Create a new MIME type for the PDI extension again, as shown in.
3. After completing the creation of the MIME type, click OK to complete the configuration of the Web platform as shown in.
NHibernate Connectivity Issues:
You may encounter System.Data.OracleClient that require Oracle client software 8.1.7 or later
Solution:
I use Windows Server 2008 as an example Windows Server 2003 is the same
1. Open the computer with the Oracle client installed, and on the install Directory C:\oracle\ora90\BIN folder, right-click on "Security tab-Edit---" to add.
2. Click "Look in", select "Ntwork SERVICE" in the account shown below----Assign the "Read and execute" permission to him (if not, give him full control, this is not safe), subfolders inherit this permission, OK.
3. Open "Server Manager"-"configuration-Local Users and Groups-" group-"adminisgrators-" Add the network Service in
4. Restart IIS and enter "IISRESET" in "Run".
Solution Reference is: http://www.cnblogs.com/TerryFeng/archive/2009/02/23/1396625.html
Deploy an MVC site on IIS6, nhiernate database underlying