visual studio - Web deployment task failed when using checksum -


the following error appears in visual studio professional 2013 update 1 when attempt publish project release webserver.

error 2 web deployment task failed. ((2/27/2014 9:21:20 am) error occurred when request processed on remote computer.)

(2/27/2014 9:21:20 am) error occurred when request processed on remote computer.

the method or operation not implemented.

at microsoft.web.deployment.incompleteparameterreplacementprovider.getfilteredstream()

at microsoft.web.deployment.deploymentobjectprovider.get_checksum()

at microsoft.web.deployment.deploymentsynccontext.syncequals(deploymentobject destobject, deploymentobject sourceobject, boolean skipkey)

at microsoft.web.deployment.deploymentsynccontext.syncdirpathchildren(deploymentobject destroot, deploymentobject sourceroot)

at microsoft.web.deployment.deploymentsynccontext.syncdirpathchildren(deploymentobject destroot, deploymentobject sourceroot)

at microsoft.web.deployment.deploymentsynccontext.syncchildrennoorder(deploymentobject dest, deploymentobject source)

at microsoft.web.deployment.deploymentsynccontext.syncchildrennoorder(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, nullable'1 syncpassid, string syncsessionid)

at microsoft.web.deployment.deploymentagent.handlesync(deploymentagentasyncdata asyncdata, nullable1 passid) 0 0 mywebsiteproject

here background information.

  1. publish used succeed on release environment until month ago. @ time using visual studio 2010. upgrading vs 2013 did not fix problem.

  2. publish succeeds on other 2 non-release environments and, note this, 1 of them is on same iis/windows server release.

  3. publish using checksums using "set these properties every profile in given project" option described here.

  4. publish succeeds on release environment if switch file time stamp option. sadly, time stamps not solution since project supported multiple developers using version control software.

  5. i working around problem manually copying changed files release server.

any ideas on how publish working again?

update on 2014-03-19

i tried work around problem adding new web site in iis intention of replacing existing, problematic 1 new one. first publish worked same old error returned on second publish. apparently problem somewhere in source code being deployed – perhaps in web.config xml transformation being done on release server.

publish once again working on release webserver. follows steps may have fixed problem. (disclaimer: had not tried publish several weeks -- had been deploying manually -- possible previous, unknown change fixed publish.)

  1. use visual studio's publish preview generated transformed web.config (found in project folder @ ...\obj\release\transformwebconfig\transformed\web.config on computer).
  2. use diff tool (i used winmerge) compare publish preview web.config release webserver's web.config.
  3. manually edit web.config, web.release.config, , webserver's web.config eliminate differences identified diff tool.
  4. repeat steps 1 through 3 until all differences (even white space) eliminated.
  5. publish works.

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -