none
Getting Error during creation of Queue

    Question

  • Hello Friends,

    I am getting the following error during the creation of Queue.

    "one of the request inputs is out of range."

    My code is

     

     

    var cloudStorageAccount = CloudStorageAccount.FromConfigurationSetting("LocalDevConnectionString");

     

     

    CloudQueueClient cloudQueueClient = cloudStorageAccount.CreateCloudQueueClient();

     

     

    CloudQueue customerQueue = cloudQueueClient.GetQueueReference("CustomerQueue");

    customerQueue.CreateIfNotExist();

    I am not getting where I have done mistake. Because similar way I have followed during the creation of container.

    So Please let know if you do have any solution.

    Thanks in Advance.

    Regards,

    Chiranjibi Das

    Tuesday, August 17, 2010 12:40 PM

Answers

  • Hi,

    I think the error is occuring because you have upper case letters in the queue name.

    The queue name restrictions are described here:

    http://msdn.microsoft.com/en-us/library/dd179349.aspx

    The queue name must be a valid DNS name, conforming to the following naming rules:

    1. A queue name must start with a letter or number, and may contain only letters, numbers, and the dash (-) character.
    2. The first and last letters in the queue name must be alphanumeric. The dash (-) character may not be the first or last letter.
    3. All letters in a queue name must be lowercase.
    4. A queue name must be from 3 through 63 characters long.

    Try using customerqueue as the name.

    Regards,

    Alan

     

     


    www.CloudCasts.net - Community Webcasts Powered by Azure
    Tuesday, August 17, 2010 1:02 PM

All replies

  • Hi,

    I think the error is occuring because you have upper case letters in the queue name.

    The queue name restrictions are described here:

    http://msdn.microsoft.com/en-us/library/dd179349.aspx

    The queue name must be a valid DNS name, conforming to the following naming rules:

    1. A queue name must start with a letter or number, and may contain only letters, numbers, and the dash (-) character.
    2. The first and last letters in the queue name must be alphanumeric. The dash (-) character may not be the first or last letter.
    3. All letters in a queue name must be lowercase.
    4. A queue name must be from 3 through 63 characters long.

    Try using customerqueue as the name.

    Regards,

    Alan

     

     


    www.CloudCasts.net - Community Webcasts Powered by Azure
    Tuesday, August 17, 2010 1:02 PM
  • Thanks
    Tuesday, August 17, 2010 1:30 PM