Install the binary component of LastPass
To be able to download attached files from LastPass, you need to install the binary component for LastPass in your web browser. Navigate to https://lastpass.com/misc_download2.php Install the LastPass for Chrome (full version) plugin
Create a new server image for a RightScale server template
The RightScale server templates publish server images to launch. It is advisable to create your own server image because the cloud providers can remove their published images anytime. If you generate your own image, you control the lifecycle of those.…
windows_task, ArgumentError: invalid date
When the windows_task resource is called to “create” a Windows Scheduled Task that already exists, an error message is returned. In the past, the “modify” action was responsible for the modification of the scheduled tasks, since…
Application error codes
When an application execution fails, it usually returns an error code to specify the cause of the problem. Windows error codes Application Error code Cause Workaround Visual Studio -2147205120 The computer has a pending restart and must be rebooted…
.NET Framework Detection in the Windows Registry
To determine which .NET framework is installed on the Windows computer check the values in the registry. The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full key contains two values you can check: Release Version You can use InSpec,…
Chef exit codes
Chef uses the standard RFC 062 exit codes. In your .kitchen.yml file, you can supply an array of exit codes in the “retry_on_exit_code” option to retry the operation in case the Chef script execution is interrupted. The usual values are…
FATAL: Chef::Exceptions::Reboot: Rebooting server at a recipe’s request.
When your Chef recipe requests a reboot using the “reboot” Chef resource, the output window shows an error message: Chef Client finished, …/… resources updated in … seconds […] WARN: Rebooting server at a…
Unable to satisfy constraints on package
When you make a change to the version restrictions in the metadata.rb file and execute berks install in your Chef cookbook directory, you may get the error message: Unable to satisfy constraints on package … due to solution constraint (…).…
amazon-ebs: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
When you launch a Linux AWS EC2 instance with Terraform or create a Linux AWS image with Packer, one of the following errors are displayed: amazon-ebs: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none…
Block comment in ASP.NET MVC Razor file
To comment out a block of lines in the ASP.NET MVC Razor file, enclose them in @* and *@ @* Commented out instructions, including HTML and Extension methods *@