Monday, January 24, 2011

Migrating the Application Configuration

Migrating the Application Configuration

IIS 7 migrates the application by using the AppCmd.exe command line tool to perform the migration. The migration error message contains the command that is executed in the command line window, which you must run with administrator user rights, to instantly migrate your application to Integrated mode.
The basic format of the migration command is as follows:
%windir%\system32\inetsrv\APPCMD.EXE migrate config Where is the virtual path of the application that contains the site name, such as "Default Web Site/app1".
When the migration is complete, your application will run in both Integrated and Classic modes without any problems.
Note: If you change the configuration after migration, the server will not prompt you to migrate again. After the initial migration, you must make sure that your configuration remains in sync between the two modes. You can manually migrate the application again by using the AppCmd.exe command line tool.

No comments:

Post a Comment