Error in publishing in Azure

Grace L asked on June 3, 2014 03:52

Can you assist me in publishing in Azure.

I have set the temp folder permissions to everyone but I'm still getting this error. Access to the path 'C:\Users\xxx\AppData\Local\Temp\pmlytrdy.1cq\roles\CMSApp\approot\bin\Microsoft.WindowsAzure.CloudDrive.dll' is denied. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.2\Microsoft.WindowsAzure.targets 2879 5 CMSAzure

Recent Answers


Grace L answered on June 3, 2014 04:00

Im publishing kentico 8.

0 votesVote for this answer Mark as a Correct answer

Filip Ligač answered on June 5, 2014 07:41

Hello Grace,

To resolve the error and complete deployment successfully, you just need to modify one of the build properties of all Microsoft.WindowsAzure.* DLL files in a CMSApp project – change their Copy local setting to False. After that, publishing should be finished without any more build errors being thrown.

1 votesVote for this answer Mark as a Correct answer

Grace L answered on June 6, 2014 00:10

@filip

Now I encountered an error in deployment

12:19:06 PM - Error: A security token validation error occured for the received JWT token.

0 votesVote for this answer Mark as a Correct answer

Filip Ligač answered on June 6, 2014 07:04

Hello Grace,

Could you please check if you only reference Azure SDK v2.2 in your ServiceConfiguration.Cloud.cscfg and ServiceDefinition.csdef files which are included in CMSAzure project?

You should find it on the following line: <ServiceConfiguration serviceName="CMSAzure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2013-10.2.2">

0 votesVote for this answer Mark as a Correct answer

Brendon McCarthy answered on June 26, 2014 10:56

Same issue in Azure project. Also required setting Copy local to False for all Microsoft.WindowsAzure.* DLL files in SmartSearchWorker project as well.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.