Windows Azure VM Role - Handling Error : The expiry time is invalid. A parameter was incorrect. Details: The expiry time is invalid
Once
you have VM role enabled with your subscription, you can start working on VM
Role using the step by step guide provided as below:
https://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_VMRoleLab
After
finished creating your VHD for VMRole, and uploading using CSUPLOAD script, you
may encounter following error:
C:\Program Files\Windows Azure SDK\v1.3>csupload add-vmimage -Connection "SubscriptionID=*********************************************;CertificateThumbprint=********************************************" -LiteralPath C:\Applications\Azure\baseimage.vhd -Name baseimage.vhd Windows(R) Azure(TM) Upload Tool 1.3.0.0 for Microsoft(R) .NET Framework 3.5 Copyright (c) Microsoft Corporation. All rights reserved. Using temporary directory C:\Applications\Azure... Found previously prepared data for VHD C:\Applications\Azure\baseimage.vhd. Found previously created VM image. Name : baseimage.vhd Label : baseimage.vhd Description : baseimage.vhd Status : Pending Uuid : 8fd4e45a-3245-1789-ae34-2gf634a235c2 Timestamp : 2011-01-03T11:12:21Z MountSizeInBytes : 32212254720 CompressedSizeInBytes : 5517869568 Recovering from an unexpected error: A parameter was incorrect. Details: The expiry time is invalid. Waiting before continuing with upload... Waiting before continuing with upload... Waiting before continuing with upload... Waiting before continuing with upload... |
Reason:
It is possible that your machine time clock is not synchronized
correctly. A wrong time on your host machine where CSUPLOAD tool is executing, could
cause this error.
Solution:
To solve this problem, please update your machine clock
time correctly depend on your geographical location and then rerun the CSUPLOAD
tool.
Comments
Anonymous
January 30, 2011
The suggested solution to change the time does not work.Anonymous
January 31, 2011
Hello Avkash Still no luck. I've changed the Time Zone to half a dozen different ones including the time zone I am in and then the one that I am trying to upload to "North Central US" and no option seems to work. I can't find anything on Google about it and have opened a Support Incident with Microsoft.