I'm going to be upgrading my development pc so I wanted to move all of my IIS 7 website applications to a Windows 8 pc. I want to make sure I have a working environment on the Windows 8 box before I upgrade my current PC to Windows 8.
I have never copied the metadata from IIS 7 to IIS 8 so I'm not sure if I'm going about it in the correct manner. I copied all of the websites directories and their subfolders via Windows Explorer to the IIS 8 PC. From what I read when I tried to find out how to copy the metadata I thought I should be doing an IIS deploy instead of the older method of exporting the metadata. Since I didn't succeed I'm not sure if I went about this in the correct manner.
Here are the steps that I tried without success:
In IIS 7 Manager I clicked on "Default Web Site"
I chose "Deploy/Export Application..."
From this point, I tried the export from two different places but both with the same result
first I left "Web Application (Default Web Site) highlighted and clicked "Next"
second I highlighted the folder "Default Web Site" and clicked "Next"
I took all of the default settings in "Manage Components..." and "Advanced Settings..."
I didn't change anything in Select Parameters
clicked "Next"
In Save Package, I tried saving the resulting .zip file in various places all with the same result - a 7,540,959 KB zip file
On the IIS 8 PC, I opened IIS Manager
Clicked/highlighted "Default Web Site"
Chose "Deploy/Import Application..."
Browsed to the location of the zip file and clicked "Open"
in Import Application Package I click "Next"
None of my web applications are copied and I get the following error:
Site '.' does not exist.
Microsoft.Web.Deployment.DeploymentDetailedException: Site '.' does not exist.
at Microsoft.Web.Deployment.AppHostHelper.GetSiteFromAdminManager(IAppHostAdminManager manager, String siteName)
at Microsoft.Web.Deployment.AppHostHelper.GetIIS7PhysicalPath(IAppHostAdminManager manager, String siteName, String virtualPath)
at Microsoft.Web.Deployment.IISPathHelper.GetAbsolutePhysicalPath(String inputPath, DeploymentBaseContext baseContext)
at Microsoft.Web.Deployment.ContentPathProvider.Add(DeploymentObject source, Boolean whatIf)
at Microsoft.Web.Deployment.DeploymentObject.Add(DeploymentObject source, DeploymentSyncContext syncContext)
at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAdd(DeploymentObject destObject, DeploymentObject sourceObject)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject source)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)
at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable)
at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
at Microsoft.Web.Deployment.UI.InstallProgressWizardPage.OnWorkerDoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Any suggestions or corrections to what I am doing would be GREATLY appreciated. As I said, I'm not even sure if I should be doing an export application to move my web applications to a new development pc - from IIS 7 to IIS 8.
Thanks for taking the time to read this.