AmazonServiceException: Unable to find credentials

0 votes

I have an application which I have created using Visual Studio 2010 AWS SDK toolkit which connects to AWS SNS Service. It works fine when I directly run from VS 2010 Development studio, but when i try to publish web service to Local IIS or dedicated web server it fails with following error Messages.

Amazon.Runtime.AmazonServiceException: Unable to find credentials

I have no idea what is the problem. Any ideas?

Feb 12 in AWS by datageek
• 2,940 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

It should be a problem with AWS credentials. Create a credentials file at any path where you want to access this path from the web service application. Make sure not to include any extensions. The credentials file should contain only the below data:


After this you need to set the path in app settings  in the Web.config file:

<add key="AWSProfilesLocation" value="C:\awsfile\credentials" />
<add key="AWSRegion" value="us-east-1" />

Hope this helped!

answered Feb 12 by Archana
• 5,360 points

Related Questions In AWS

+1 vote
3 answers

Unable to login to parse dashboard on AWS

I had the same issue, which I ...READ MORE

answered Aug 28, 2018 in AWS by eatcodesleeprepeat
• 4,670 points
0 votes
1 answer

How to find unused Amazon EC2 security groups?

Select all and delete there you can ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 56,140 points
0 votes
2 answers
0 votes
1 answer

Amazon EC2 instance unable to resolve host.

Here is my checklist of things you ...READ MORE

answered Aug 23, 2018 in AWS by Archana
• 4,090 points
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to set up AWS credentials in AWS Powershell?

First, of all the tools installed to ...READ MORE

answered Nov 22, 2018 in AWS by Archana
• 5,360 points
0 votes
1 answer

Unable to send email from Amazon EC2 Server in Java

It mostly could be due to two ...READ MORE

answered Nov 30, 2018 in AWS by Archana
• 5,360 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.