ms release management - Base-64 error when trying to execute vNext deployment script -


release management 2013 writes "the input not valid base-64 string" error message application event log when tries execute power shell dsc deployment script. know causing error?

ps dsc script:

$configdata = @{     allnodes = @(         @{             nodename = $env:computername          }    ) }  configuration webappserver {     node $allnodes.nodename      {         file webapplicationfiles         {             ensure = "present"             type = "directory"             recurse = $true             sourcepath = $applicationpath             destinationpath = "c:\inetpub\wwwroot\test"         }     } }  webappserver -configurationdata $configdata 

error message application log:

timestamp: 9/29/2015 5:19:32 pm message: input not valid base-64 string contains non-base 64 character, more 2 padding characters, or illegal character among padding characters. : \r\n\r\n   @ system.convert.frombase64_decode(char* startinputptr, int32 inputlength, byte* startdestptr, int32 destlength)    @ system.convert.frombase64charptr(char* inputptr, int32 inputlength)    @ system.convert.frombase64string(string s)    @ microsoft.teamfoundation.release.data.helpers.cryptohelper.getdecryptedvalue(string str, string containername)    @ microsoft.teamfoundation.release.data.helpers.cryptohelper.decryptstring(string str, string cryptocontainername, string key, encryption encryption)    @ microsoft.teamfoundation.release.deploymentagent.services.deployer.componentprocessor.replaceconfigurationvariable(string content, boolean ishideencryptedvariable, string value, string token, boolean ispassword)    @ microsoft.teamfoundation.release.deploymentagent.services.deployer.componentprocessor.replaceconfigurationvariablesimplementation(string content, boolean ishideencryptedvariable)    @ microsoft.teamfoundation.release.deploymentagent.services.deployer.componentprocessor.installcomponentimplementation(func`3 replaceconfigurationvariables, idictionary`2 installers)    @ microsoft.teamfoundation.release.deploymentagent.services.deployer.componentprocessor.deploycomponent() category: general priority: -1 eventid: 0 severity: error title: machine: cae-atx-tfs01 application domain: releasemanagementmonitor.exe process id: 1932 process name: d:\program files (x86)\microsoft visual studio 12.0\release management\bin\releasemanagementmonitor.exe win32 thread id: 10148 thread name:  extended properties:  

i've seen in past. when enter password, make sure password asterisks (*****) changes in length long value. that's indication encrypted password. i've seen cases encryption event doesn't fire whatever reason.

you can work around saving template, closing it, reopening it, typing password again.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -