title: amazon web services cannot find credentials exception
body: <p>When I run the following program, an exception occurs that cannot find the credentials</p>
  
  <pre><code>using (IAmazonS3 s3Client = new AmazonS3Client(RegionEndpoint.USWest2)) 
  {                  
      PutObjectRequest request = new PutObjectRequest
      {
          BucketName = bucketName,
          Key = ps1,
          FilePath = path
      };
  
      PutObjectResponse response = s3Client.PutObject(request);
      richTextBox1.Text = response.ToString();
  }
  </code></pre>
  
  <p>Also I have already configured the app.config like this:</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;appSettings&gt;
        &lt;add key="AWSProfileName" value="ashu"/&gt;
        &lt;add key="AWSProfilesLocation" value="C:\service_credential\credentials"/&gt;
        &lt;add key="AWSRegion" value="us-west-2" /&gt;
     &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>