title: Windows Azure Connection String
body: <p>probably a simple question here but here we go:</p>
  
  <p>I'm trying to publish a sample application to windows azure. I entered the connection string for my blob storage account in the ServiceConfiguration and Service Definition files. </p>
  
  <p>However, if I check out the properties of the web role, in 'Settings', my connection string has changed to a 'String' type, and there is a red exclamation mark which says </p>
  
  <blockquote>
    <p>"the Storage account credentials entered are invalid"</p>
  </blockquote>
  
  <p>Obviously this error is self explanatory - however I just can't see what I'm doing wrong. Here is my connection string - if someone could take a look and ensure it is right, I'd be grateful.</p>
  
  <pre><code>&lt;Setting name="DataConnectionString" value="DefaultEndpointsProtocal=http;AccountName=userdevelopment;AccountKey=accKey" /&gt;
  
  &lt;Setting name="DiagnosticsConnectionString" value="DefaultEndpointsProtocal=http;AccountName=userdevelopment;AccountKey=accKey" /&gt;
  </code></pre>
  
  <p>Thanks</p>
  
  <p>EDIT:</p>
  
  <p>Here is my ServiceDef file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ServiceDefinition name="SilverlightUpload" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"&gt;
    &lt;WebRole name="SilverlightUpload_WebRole"&gt;
      &lt;Sites&gt;
        &lt;Site name="Web"&gt;
          &lt;Bindings&gt;
            &lt;Binding name="HttpIn" endpointName="HttpIn" /&gt;
          &lt;/Bindings&gt;
        &lt;/Site&gt;
      &lt;/Sites&gt;
      &lt;ConfigurationSettings&gt;
        &lt;Setting name="DiagnosticsConnectionString" /&gt;
        &lt;Setting name="DataConnectionString" /&gt;
      &lt;/ConfigurationSettings&gt;
      &lt;Endpoints&gt;
        &lt;InputEndpoint name="HttpIn" protocol="http" port="80" /&gt;
      &lt;/Endpoints&gt;
    &lt;/WebRole&gt;
  &lt;/ServiceDefinition&gt;
  </code></pre>