Web Deploy (msdeploy) simplifies deployment of web applications và Web sites lớn IIS servers. Administrators can use website Deploy to lớn synchronize IIS servers or to lớn migrate lớn newer versions of IIS. Web Deploy Tool also enables administrators & delegated users to use IIS Manager to deploy ASP.NET & PHP applications lớn an IIS server.

Bạn đang xem: Cài đặt nopcommerce 1

Package, archive và deploy web applications more easily

Web Deploy empowers Visual Studio to lớn help developers streamline the deployment of website applications khổng lồ Microsoft IIS website servers or khổng lồ Microsoft Azure Websites. In addition, integration with web Platform Installer allows developers to simply và easily install community website applications.

Web Deploy enables you khổng lồ package your website application content, configuration, databases & any other artifacts lượt thích registry, GAC assemblies etc., which can be used for storage or redeployment. If the package needs to be redeployed to a different environment, configuration values within the package can be parameterized during deployment without requiring modifications to lớn the packages themselves. Once created, these packages can be deployed using website Deploy cmdline or IIS Manager without requiring administrative privileges.

Migrate web servers from IIS 6 to lớn IIS7, IIS8, IIS8.5, & IIS 10 with ease

Simplify the planning of your IIS6/IIS7/IIS8/IIS10 migrations by determining incompatibilities và previewing the proposed changes before starting the process. Learning about any potential issues in advance gives you the chance lớn take corrective measures và simplifies migration.

Synchronize your server farm efficiently

Web Deploy allows you to efficiently synchronize sites, applications or servers across your IIS hệ thống farm by detecting differences between the source and destination content and transferring only those changes which need synchronization. The tool simplifies the synchronization process by automatically determining the configuration, nội dung and certificates to be synchronized for a specific site. In addition lớn the default behavior, you still have the option lớn specify additional artifacts for the synchronization, including databases, COM objects, GAC assemblies & registry settings.


Seamless integration with IIS Manager (IIS7 & above), Visual Studio (2010 và above) for creating packages & deploying them onto a machine, both locally and remotely. Seamless integration with the website Platform Installer khổng lồ install community web applications simply and easily. Web application packaging: Ability lớn package a web application or an entire site, including the associated databases. Ability khổng lồ package ACLs, COM, GAC & registry settings. Supports both live servers và zipped packages as a source or destination. web application deployment: Administrative privileges are not required in order lớn deploy website applications. Ability to địa chỉ powerful parameters khổng lồ change text in files when they are deployed (such as prompting lớn replace a connection string when deploying from QA to staging environments). Integration with the IIS web Management Service (WMSVC) for remote deployment by non-administrators. Server administrators have granular control over the operations that can be performed và can delegate tasks to lớn non-administrators. Web hệ thống migration & synchronization: Ability to lớn synchronize or migrate the entire website server, a web site or application. Synchronizes only the data that has changed. Ability to lớn detect missing dependencies during synchronization. Automatically gathers content, IIS configuration, SSL certificates và ASP.NET configuration when you sync a web site. Automatic backup of web Sites before making any changes. Administrator can configure web Deploy such that it creates & store backup of websites on the server. Over users can directly restore their websites without admins involvement. In addition lớn the IIS Manager & Visual Studio, tasks can be performed using the command-line, PowerShell Cmdlets or public APIs.

Download website Deploy

Data Access has been discontinued. Please refer to this page for more information.

This topic describes the steps you must perform to lớn deploy your ASP.NET application to lớn a web server.

Confirm that the .NET Framework Platform is Installed on the website Server

The .NET Framework must be installed on the Web vps for an ASP.NET application to work. Cảnh báo that you have to install the same version (or later) as the version used by your application. In this example, .NET Framework version 4.5 is used.

Xem thêm: Hướng Dẫn Cài Đặt Máy In Trong Windows 8, Cài Đặt Và In Thử Máy In Trong Windows 8

Deploying ASP.NET web Applications with Telerik Data Access

You are not required to install Telerik Data Access on your website server. You can just deploy the runtime assemblies in the in folder of your web application. For example, in order to lớn deploy the SofiaCarRentalWebApp application khổng lồ a web server (e.g. IIS), you need lớn ensure that the following Telerik Data Access assemblies are copied in the in folder:

Telerik.OpenAccess.dll Telerik.OpenAccess.35.Extensions.dll Telerik.OpenAccess.40.Extensions.dllTelerik.OpenAccess.Config.dll Telerik.OpenAccess.Web.40.dll Telerik.OpenAccess.Runtime.dll

If any of the assemblies are not copied in the in folder, you have to lớn deploy them manually, e.g. Copy+paste from the Telerik Data Access installation folder. If you use any additional third các buổi party libraries, you need lớn ensure that they are also deployed in the in folder. In this example, RadControls for ASP.NET AJAX are used. That"s why, the Telerik.Web.UI.dll assembly should be deployed in the in thư mục (it is deployed by default).

To deploy the SofiaCarRentalWebApp to lớn IIS you can perform the following procedure:

xuất hiện the IIS Manager. In the Connections pane, expand the Sites node. Right-click the site (e.g., mặc định Web Site) for which you want khổng lồ create the application, and click Add Application. In the Alias text field, type a value for the application URL, e.g. SofiaCarRentalWebApp. This value is used to lớn access the application in a URL. If you want to lớn select a different application pool than the one listed in the Application pool box, click the Select button. In case of this example, the default application pool is used.

In the Physical path text box, type the physical path of the application"s folder, or click the browse button to lớn navigate the tệp tin system khổng lồ find the folder.


Click OK.

To kiểm tra the application:

Ensure that the Database is Deployed on the web Server

The next step is to ensure that the database (e.g. SofiaCarRental) is deployed on the web server. Also you may need to adjust the connection string in the configuration file.

Fixing Error "Cannot read configuration tệp tin due khổng lồ insufficient permissions"

By default, the worker process identity (your application pool user) and/or the IIS_IUSRS group requires at least Read access lớn the application directory as well as the web.config file. You need to địa chỉ cửa hàng rights for this user to lớn the application directory:

In Windows Explorer, locate the application directory. Right-click it & select Properties. Navigate to the Security tab, and then click Edit. In the Permissions for SofiaCarRentalWebApp dialog, click Add. In the Enter the object names lớn select box, type ComputerNameIIS_IUSRS, click Check Names, and then click OK. Lưu ý "ComputerName" is a placeholder for the computer name. Ensure that the Read check box is selected, và then click OK. In the "Application Folder" Properties dialog box, click OK.

Test your application again. If you still experience the same "access denied" error, perform the procedure for the web.config file và try again. If the problem persists, you can run the Process Monitor Tool khổng lồ trace the "Access Denied" error & see when and who is trying to access config file.

Fixing Error "Unrecognized attribute "targetFramework". Lưu ý that attribute names are case-sensitive."

This error typically occurs when you have an attribute of targetFramework="4.0" (or 4.5), but the Application Pool for your site is configured for .NET Framework Version = v2.0.XXXXX. Khổng lồ fix this error, you need to switch your Application Pool to lớn .NET 4.0. Cảnh báo that there is no 4.5 application pool. You can use any .NET 4.5 application in the 4.0 phầm mềm pool, just ensure that .NET Framework 4.5 is installed on the vps machine. If you use the mặc định Application Pool like in this example:

open the IIS Manager. In the Connections pane, select Application Pools. Right-click DefaultAppPool and select Basic Settings.... In the Edit Application Pool dialog, select .NET Framework v4.0.XXXXX. Click OK và test your application again.

If you are using "Integrated Security=True" in your connection string for your "LocalSqlServer" connection (the connection lớn the database that your authentication service is using), then it is possible khổng lồ have security issues when deploying your ASP.NET application. When you are running the ASP.NET application under Visual Studio 2010/2012, the personated user is you, i.e. The current windows login user. But when you deploy the ASP.NET application to IIS, unless you phối a valid windows user as the user that your Application connects as, the personated user is the Network Service. In this situation there are two possible solutions:

showroom login for the "IIS APPPOOLDefaultAppPool" lớn your server. After that give read/write permissions for "IIS APPPOOLDefaultAppPool" lớn the target database. Lưu ý that "DefaultAppPool" is the Application Pool for your web application. In this example, this is the mặc định Application Pool. Change the connection string to lớn use SQL authentication instead of Windows authentication.

Fixing Problem with CSS/Script Redirection with HTTP 302

If the deployed ASP.NET Application cannot load css và script files, you need khổng lồ exclude them from getting authenticated as follow:

In the IIS Manager, click on your application, then double-click the Authentication button. Click on Anonymous Authentication, then click the Edit... links on the right side. Make sure the Application pool identity option is selected.
hotlive |