Posts Tagged ‘quick tip’

C#: Value does not fall within the expected range

To save anybody from a fruitless internet search, the default message for ArgumentException is the phrase “Value does not fall within the expected range”. This error may be returned from various sources, but in my case it was an explicit throw:


if (someInvalidValue)
{
throw new ArgumentException();
}

So if this error is bubbling up, it’s an ArgumentException.

Comments

Quick Tip: “Permissions” Issue with Adobe Extension Manager

If you receive an error while installing an extension to the CS5 (or CS4) suite like “You do not have appropriate permissions” to install the extension, do the following:

  1. Close Adobe Extension Manager
  2. Through the Windows programs menu, find Adobe Extension Manager and right-click it
  3. Select “Run as Administrator”
  4. Install your extension by double-clicking the .zxp file
Comments