“The underlying provider failed on Open” error message

January 20th, 2012

I recently had this common error message while working with WCF, entity frame work and SQL server.

Experienced asp.net developers maybe recognise this straight away as a connection string problem, but to me it wasn’t that obvious. On my travels I can across a great resource about connection strings, that is worth checking out if you’re new to microsoft development, or of you’re stuck on a possible connection string problem.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

Git bash folder navigation

January 6th, 2012

Wondering how to navigate folders and more in the Git bash tool?

I was too. I could do basic commands, but couldn’t figure out how to go up a folder. In windows it’d be “cd..”, but that didn’t work.

Turns out that Git follows standard unix commands. Here’s  a quick reference that contains all you need to know…

The answer how to navigate up a folder:

“cd ..” – slaps forehead :)

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

Classic ASP – ActiveX component can’t create object

June 16th, 2011

Today I’ve been trying to instantiate an asp.net component from classic ASP using a Server.CreateObject, but I kept getting an error:

Microsoft VBScript runtime error ‘800a01ad’

ActiveX component can’t create object

This ranks up there with some of my most frustrating times, so I have to share this in case anyone else has this problem. I’m running iis 7 and the solution is to select advanced properties of your application pool and set Enable 32-Bit Applications to True. Some people had suggested that Managed Pipeline might need to be changed to ‘Classic’, so that might be another thing to try should your problem persist.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

Add a contact form to a sidebar in Wordpress 3

May 4th, 2011

I recently wanted to add a contact form to a sidebar in wordpress as quicly as possible and I think the solution I found was great, so here you go.

First install this great Wordpress contact form. Then create a new text widget and add your text/html and then [contact-form].

One gotcha, I came across is that Wordpress didn’t parse the short codes, but thanks to this thread about short codes broken in text widgets, I just added:

add_filter('widget_text', 'do_shortcode'); 
I just added...to the functions.php file and was in business.
Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

Toilet Usability – Not designed by Apple!

March 31st, 2011

On my last day at work, I decided to finally find out about something that had been bugging me for a while.

Which button was the big flush and which was the small flush. The size of each seemed indistinguishable, so I reasoned that I mustn’t be the only person who’s unsure about this.

Sure enough everyone was sure they knew the right answer, but not everybody agreed on what that answer was.

Anyway, here’s the poll.

And here’s the results after 72 responses:

Now if I understand correctly the purpose of this is to save water, but if people don’t know which button they should be pressing, it kinda defeats the purpose?

I declare this toilet “Not designed by Apple”.

For more random fun, please follow me on twitter.

If you enjoyed this, please share it.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

Programs I use everyday

March 26th, 2011

I just bought a new computer, and have installed windows 7 (having to write ASP and ASP.net code). So I’m in the process of putting all the software on, that I need to use for my daily work. As a result I thought I’d keep track of the software I have to use on a daily basis to do my job as a web designer / web developer.

Dropbox
I have to say, I absolutely love it. I can’t wait until cloud storage is so cheap that we can store everything there. Until then, we have Dropbox.

Chrome
Because it’s fast and it translates French websites into English for me automatically.

Firefox
To developer Javascript and CSS, I’m not one of those who have dropped FF for Chrome yet ;)

Smart FTP
To connect to servers and give and get things.

Eclipse
For PHP, Java, Javascript.

Visual Studio
For ASP, ASP.net

Photoshop
For photos / buttons, visual drafts / prototyping etc.

Notepad ++ (notepad on steroids)
For code, keeping notes and reading files.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

Radiation kits

March 24th, 2011

As a wise man once said:

During a gold rush you should be selling shovels.

A few days ago a friend of mine left me a voice mail saying that the French government is down playing the risks of radiation on our health.

Apparently this information comes from criirad.

I’m still not quite sure what to make of reports like this but I’m sure that washing with bottled water would be inconvenient at least.

I think that this plus the fact that my french isn’t strong enough to understand all the material has meant that I’ve chosen to ignore

My logic is that people would be reporting dangerous Geiger detector readings, especially in places much closer to Japan.

Anyway, it occured to me that it might pose a couple of opportunities (not sure if this is the bad kind of opportunistic, please let me know what you think).

So I toddled over to Google trends to check out some stats:

As you can see people are suddenly searching for the phrase Geiger Detector nearly 400 times more than a couple weeks ago.

After some research I realised that the phrase ‘geiger detector‘ is searched for ?33,000 times a month. So I decided as an experiment on online marketing, to buy the domain name geigerdetector.com and set up a blog on it, and keep track of some of the latest nuclear news.

I’ll let you know the results.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

A beautiful site design

March 18th, 2011

I came across this website the other day while looking for design inspiration.

I really love the photography, the feel and the emotion behind this design. It’s really worth checking out Keren Ann’s website.

Oh and her music is pretty cool too:

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

links for 2011-03-15

March 16th, 2011
Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis

links for 2011-03-05

March 6th, 2011
Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Reddit
  • DZone
  • LinkedIn
  • StumbleUpon
  • TwitThis