Using Startup Task with command line redirection in Windows Azure Role

Recently while working on an incident I found that if you use Windows Azure Startup task with launch some application along with command line redirection (to collect log) directly as below, it may not launch the startup task: ServiceDefinition.csdef: 1: <Task commandLine="Startup\Application.exe >> C:\temp\logfilename.log 2>&1" executionContext="elevated" taskType="background" relativePath="approot\bin" />   As startup task will not…

1

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: http://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…

2

Windows Azure : How to define Virtual Directories in Service Definition (CSDEF) for your site?

In Windows Azure SDK 1.3 you have ability to setup multiple sites within your full IIS role as well as Virtual directories. When you are developing your application and needed to setup Virtual Directories, here I will explain how you can configure VirtualDirectory for specified Site in ServiceDefinition.csdef file. So if you have your VS2010…

1

Windows Azure : Handling exception - No valid combination of account information found

When you deploy your Windows Azure SDK 1.2 or 1.3 based application you might experience your application status is still stuck in “Starting” or cycling between “busy and starting”.   If you have decided to use Windows Azure SDK 1.3 then you can confiugre and use RDP Connection to access your Windows Azure VM through…

0

Handling issue: Csmanage cannot establish secure connection to management.core.windows.net

CSMANAGE tool is developed using Azure Service Management API and located at: http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=windowsazuresamples&ReleaseId=3233 It is possible that you may encounter the following error when using this tool:   c:>csmanage.exe /list-hosted-services Could not establish secure connection for SSL/TLS with authority ‘management.core.windows.net   Based on above problem details, it is possible that the certificate you are using…

0

Windows Azure VM Role: Unable to Login your VM even with correct credentials

If you have passed the CSUPLOAD script successfully and then you could also successfully published your VM Role based application on Windows Azure, the next step is to RDP your VM role. The detailed steps to get VM Role working are described here:   http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_VMRoleLab   When you RDP to your VM Role, it is…

0

Windows Azure VM Role - Handling Error : A parameter was incorrect. Details: The subscription is not authorized for this feature

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:   http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_VMRoleLab     After finished creating your VHD for VMRole, and uploading using CSUPLOAD script, you may following error:   Error: A parameter was incorrect. Details: The subscription is…

0

Windows Azure VM Role - Handling Error : The sector size of the physical disk on which the virtual disk resides is not supported

  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: http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_VMRoleLab     After finished creating your VHD for VMRole, and uploading using CSUPLOAD script, you may following error:   Error:  An error occurred trying to attach to the…

0

Windows Azure VM Role - Handling Error : An unexpected error occurred: The requested operation requires elevation

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: http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_VMRoleLab   After finished creating your VHD for VMRole, and uploading using CSUPLOAD script, you may following error:   Error:  An unexpected error occurred: The requested operation requires elevation.  …

0

Windows Azure VM Role - Handling Error : The file yourvhdname.vhd is not a valid VHD

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: http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_VMRoleLab     After finished creating your VHD for VMRole, and uploading using CSUPLOAD script, you may following error: Error: The file <yourvhdname.vhd> is not a valid VHD   Reason:…

0