Category Archives: Errors

Unable to Access RDS Database from Elastic Beanstalk Application

Hey everyone,

I ran into a bit of an issue today where I was unable to access my RDS SQL Express instance from my .NET Elastic Beanstalk instance. I was receiving the following error:

1
The server was not found or was not accessible.

The solution turned out to be fairly simply thanks to this StackOverflow post: http://stackoverflow.com/a/33207022/522859

Get your server instance security group:
– Log into AWS
– Navigate to elastic beanstalk
– Open your application instance
– Open configuration
– Open instances
– Find “server” on the page and copy the value in the “EC2 security groups” field

Add your server instance security group to your rds rules:
– Navigate to the RDS Dashboard
– Open your RDS instance
– Click on view details (left hand side or top)
– Find Security and Network
– Click on the rds-launch-wizard under security groups
– Click on inbound rules (very bottom currently)
– Add a new inbound rule with the copied security group as the source

Unilateral receiver not allowed in chained payment is restricted – Adaptive Payment DotNet SDK

Hey everyone,

Just an error I ran into today while using the Adaptive Payments SDK for C#/.NET:

Unilateral receiver not allowed in chained payment is restricted

Thankfully this one is fairly simple – one of the receivers hasn’t confirmed their account.

http://stackoverflow.com/a/32816078/522859

Could not find part of the path ‘C:\x\lib’ – Adding new Web API Project

Hey everyone,

I ran into the following error when I tried to add a new Web API project in Visual Studio Express 2015 for Web:

Could not find part of the path ‘C:\x\lib’

The workaround for this was to temporarily unbind the project from TFS: File > Source Control > Advanced > Change Source Control > Click unbind on each of the projects

While not the same problem, this post helped me out: https://github.com/NuGet/Home/issues/1164

This type of fee payer x isn’t recognized by our system – PayPal Adaptive Payments SDK

Hey everyone,

Just another Adaptive Payments SDK error I’ve run into.

Error Id: 560027
This type of fee payer x isn’t recognized by our system

This one is fairly self explanatory, valid values are as follows:

SENDER – Sender pays all fees (for personal, implicit simple/parallel payments; do not use for chained or unilateral payments)
PRIMARYRECEIVER – Primary receiver pays all fees (chained payments only)
EACHRECEIVER – Each receiver pays their own fee (default, personal and unilateral payments)
SECONDARYONLY – Secondary receivers pay all fees (use only for chained payments with one secondary receiver)

This parameter is described in the following documentation: https://developer.paypal.com/docs/classic/api/adaptive-payments/Pay_API_Operation/

Cannot parse *.config file – AdaptivePayments SDK (PayPal)

Hey everyone,

Just working on a small project that uses PayPal’s C# AdaptivePayments SDK. I hit an error while attempting to make the following payment:

var service = new AdaptivePaymentsService();
payResponse = service.Pay(payRequest);
“Cannot parse *.config file. Ensure you have configured the ‘paypal’ section correctly.”

at PayPal.Manager.ConfigManager..ctor()
at PayPal.Manager.ConfigManager.get_Instance()
at PayPal.BasePayPalService..ctor()
at PayPal.AdaptivePayments.AdaptivePaymentsService..ctor()

It turns out that you need to add the following entries to your Web.config:

<!-- Under configuration > configSections. Add the following entry -->
<section name="paypal" type="PayPal.Manager.SDKConfigHandler, PayPalCoreSDK" requirePermission="false"></section>
 
<!-- Under configuration. Add the following entry and modify to suit your app -->
<paypal>    
    <settings>
      <add name="endpoint" value="https://svcs.sandbox.paypal.com/"/>
      <add name="AdaptivePayments" value="https://svcs.sandbox.paypal.com/"/>
      <add name="connectionTimeout" value="360000"/>
      <add name="requestRetries" value="3"/>
      <add name="IPAddress" value="127.0.0.1"/><!-- May need to change this depending on your configuration -->
    </settings>
    <accounts>
      <account apiUsername="xxx" apiPassword="xxx" apiSignature="xxx" applicationId="APP-80W284485P519543T"/>
    </accounts>
  </paypal>

To get the account information you’ll need to do the following:
– Go to developer.paypal.com
– Login to your sandbox account
– Go to the dashboard
– Select accounts (from the list of all your sandbox accounts)
– Create a new one or select an existing business account
– Click profile
– Click API Credentials

Note that the steps required to get this configuration seem to change all the time. Hopefully this will be enough to get you on the right track.

Select Not Showing Selected Values – AngularJs

Hey everyone,

I had a bit of trouble getting a selected option to show up with AngularJs. It turned out that I needed to add an ng-selected attribute:

    {{command.Status}}
    <select ng-model="command.Status">
        <option ng-selected="command.Status == 0" value="0">Enabled</option>
        <option ng-selected="command.Status == 1" value="1">Disabled</option>
        <option ng-selected="command.Status == 2" value="2">Deleted</option>
    </select>

Check out this Stackoverflow post for more info: http://stackoverflow.com/a/18336858/522859

Windows 10 – Search Not Working

Hey everyone,

I’ve just upgraded to windows 10, however the start menu search has been randomly breaking. It just seems to load indefinitely. Thankfully there’s an easy fix:

- Start task manager (ctrl + shift + esc)
- Click more details
- Under the processes heading look for Search (green icon under background processes)
- Click on Search and hit end task

The Search process should now restart and start working. If not you can restart it manually using file > run.

Windows 10 search not working

Windows 10 search not working

angular js calling services twice – Angular JS

Hey everyone,

I had a few of my AngularJS services being called twice. The issue turned out to be that I’d added a controller to both my route and my view:

app.config(function ($routeProvider) {
    $routeProvider
		.when('/', {
		    controller: 'ProjectsController', /* <---- here */
		    templateUrl: '/Home/Home'
		})
<div>
    <ul ng-controller="ProjectsController"><!-- <-- here -->
        <li ng-repeat="project in projects">
            <b>{{project.Name}}</b>
        </li>
    </ul>
</div>

Removing it from the controller resolved the issue. Check out the following StackOverflow post for more info: http://stackoverflow.com/a/15535724/522859

TF30063: You are not authorized to access asxproject – TFS Online/Visual Studio

Hey everyone,

I ran into the following issue while trying to install the HTML Agility Pack via Nuget today:

TF30063: You are not authorized to access asxproject…

This fixed it for me:
– Go to “Team Explorer”
– Up the very top click on the “Connect to Team Projects” button (power cable looking icon next to the home button)
– Right click on the project and then click connect

Once connected, everything seemed to start working for me again. Check out this stackoverflow post more info: http://stackoverflow.com/a/16700451/522859

Unable to Start Apache – Xampp

Hey everyone,

I was mucking around with xampp this morning and ran into the following issue with apache:

3:41:52 PM [main] Initializing Control Panel
3:41:52 PM [main] Windows Version: Windows 8 Pro 64-bit
3:41:52 PM [main] XAMPP Version: 5.6.3
3:41:52 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
3:41:52 PM [main] You are not running with administrator rights! This will work for
3:41:52 PM [main] most application stuff but whenever you do something with services
3:41:52 PM [main] there will be a security dialogue or things will break! So think
3:41:52 PM [main] about running this application with administrator rights!
3:41:52 PM [main] XAMPP Installation Directory: “c:\xampp\”
3:41:52 PM [main] Checking for prerequisites
3:41:52 PM [main] All prerequisites found
3:41:52 PM [main] Initializing Modules
3:41:52 PM [Apache] Problem detected!
3:41:52 PM [Apache] Port 80 in use by “Unable to open process” with PID 7820!
3:41:52 PM [Apache] Apache WILL NOT start without the configured ports free!
3:41:52 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
3:41:52 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
3:41:52 PM [Apache] Problem detected!
3:41:52 PM [Apache] Port 443 in use by “Unable to open process” with PID 7820!
3:41:52 PM [Apache] Apache WILL NOT start without the configured ports free!
3:41:52 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
3:41:52 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port

In order to fix this, you can just kill the process that is blocking the port. Unfortunately I had IIS on this and needed another solution. As always, stackoverflow had the answer:

– In the xampp control panel, click config (same line as apache) and open the httpd.conf file
– Search for listen 80 and change it to list 8080 (or an alternative free port)
– Save and close the file
– In the xampp control panel, click config (top right)
– Click service and port settings and change the main port (and ssl if necessary) to match your httpd.conf file
– Click save and restart apache (note you may also need to run as administrator)

Check out this link for more info: http://stackoverflow.com/a/25113205/522859