Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 565

WebDeploy error trying to build an IIS 6 package

$
0
0

Hello - We are attemting to migrate from our Win 2003 IIs 6 [source server] to a newly built Win 2012 R2 IIs8.5 server and attempting to use the following article as our guideline.

http://www.iis.net/learn/publish/using-web-deploy/migrate-a-web-site-from-iis-60-to-iis-7-or-above

PART 3 – MIGRATE YOUR SITE TO THE TARGET BY USING A PACKAGE FILE

msdeploy -verb:sync -source:metakey=lm/w3svc/1-dest:package=c:\Site1.zip >WebDeployPackage.log

When I execute this command on the IIs6 server, the command runs [ for a good 10 -15 minutes] but ends with the following error:

Error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
Error count: 1.

Thank you in advance for any consideration given to my problem here.

There is an associated event viewer error - event id 1

Event Type: Error
Event Source: Web Deploy
Event Category: None
Event ID: 1
Date: 11/20/2013
Time: 1:12:53 PM
User: XXXXX
Computer: XXXXX
Description:
The description for Event ID ( 1 ) in Source ( Web Deploy ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:
Content-Type:
Version: 8.0.0.0
MSDeploy.VersionMin: 7.1.600.0
MSDeploy.VersionMax: 7.1.1070.1
MSDeploy.Method: GetPackage
MSDeploy.RequestId: 70610b1c-3f14-4ee3-b4fb-cb9bcb839bed
MSDeploy.RequestCulture: en-US
MSDeploy.RequestUICulture: en-US
Skip: objectName="^configProtectedData$"
Provider: metaKey, Path: lm/w3svc/1
Tracing deployment agent exception. Request ID '70610b1c-3f14-4ee3-b4fb-cb9bcb839bed'. Request Timestamp: '11/20/2013 1:12:48 PM'. Error Details:
System.Net.HttpListenerException (0x80004005): An operation was attempted on a nonexistent network connection
at System.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.BufferedStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.BinaryWriter.Dispose(Boolean disposing)
at System.IO.BinaryWriter.Close()
at Microsoft.Web.Deployment.PackageSerializer.Dispose()
at Microsoft.Web.Deployment.DeploymentAgent.HandleGetPackage(DeploymentAgentWorkerRequest workerRequest)
at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData)
at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)


Viewing all articles
Browse latest Browse all 565

Trending Articles