Deploy MVC (nopcommerce 3.4) Web site on Windows Server 2008

Source: Internet
Author: User
Tags nopcommerce

Own open source framework made a mall, the framework is based on MVC4, local compilation through, run Everything normal, about the release encountered several problems.

Local:

IIS7.5. VS2013

After summing up and finding that only two questions need to be set, there are no odd questions: what Nop.services.dll can't find?

One, 1.1 follow the release instructions of NOP to be set to release

1.2 If your system is 64-bit, it should be set to X86.

If your system is 32-bit, it should be set to x64.

Because some of the items he will quote are 32-bit, don't ask me why I don't know.

Second, the next release to IIS.

You also need to set a reference on IIS that can use a 32-bit program.

Iis-> Reference Program Pool-"Default pool-" Advanced Settings-"Enable 32-bit reference program

Test, success.

Third, put on the server. Tools: TeamViewer, Server system Windows server2008 database SQL Server R2

3.1 After building IIS, look at version 7.5, and then put the project release file in, a little browsing.

Forbidden. Can not find anything, specifically do not remember, only remember the error code is 403.1

So, Google, Google

Summarized as follows:

3.1 To install the. NET Framework 4, MVC4

3.2 Most crucially, the CLR to set the program pool Defaultpool is. NET 4.0. Then none of the others need to be set. What System.webservice set the model runallmanagedmodulesforallrequests to True Ah, nothing.

Deploy MVC (nopcommerce 3.4) Web site on Windows Server 2008

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.