02 February, 2009

Solved: Unable to create the specified connection

If you tried to a make a connection on your Windows XP machine and your admirable PC -- which has a large pool of memory and several gigs of bytes of free space on it's mighty hard disc -- responded this "insult" of yours with these very reasonable and thoughtful words:


Unable to create the specified connection. This can be caused by insufficient memory or not enough disk space.


What do you do? Well, don't panic. You can solve this by one of the following methods:


  1. Restart your windows machine and try again. Still have problems? Well, you may find this page "helpful"!! Or you may always google some more.

  2. Replace your windows machine with a Mac or Linux machine and get rid of this problem and many others ;-) (recommended)


I hope these would help you to solve the problem.

13 September, 2008

Enabling administrator account in Windows Vista

Sometimes you need to log on into your administrator account on your vista machine. The default setting on the vista hides (disables) administrator user, so it doesn't show up on your log on screen. You can claim back your beloved administrator account by following this procedure:
  1. Open up the vista menu by clicking on the windows orb
  2. Right click on "Computer"
  3. Click on "Manage" and click on "Continue" when windows asks for your permission
  4. In the "Computer Management" window, navigate to "System Tools > Local Users and Groups > Users"
  5. Right click on "Administrator" and click on "Properties"
  6. In "General" tab uncheck "Account is disabled" item
  7. Click "OK"
  8. Close the “Computer Management” window
Now the administrator account is shown up in the log on screen.

22 August, 2008

Vista and SQLite Database Browser problem



I was playing with Adobe AIR today and needed to use SQLite Database Browser for the first time. So downloaded it and double clicked on it. An error message showed that SQLite Database Browser couldn't find msvcr71.dll on my computer. msvcr71.dll is a runtime dll (Microsoft Visual C Runtime). You may download the dll from here. If you ever needed msvcp71.dll (VC++) you can download it from here.
Copying the dlls to c:\windows\system32 was the only step needed to make the database browser work.

04 August, 2008

Firefox Add-ons To Live With



You can live without them, but your Firefox life will be much easier with this cool add-ons.

  • Foxmarks
    Keep your bookmarks synchronised and access them from everywhere.
    Learn more
    .

  • Hide menubar
    If you are annoyed by menu bars (I do hate them) you can use this add-on to hide them. You can always unhide them by pressing Alt.
    Learn more.

  • IE Tab
    Yeah, there are still some idiotic sites which are designed to work only on IE and can not be shown correctly on standard browsers; Or you may like to check how does a particular web page looks like in IE, then this add-on is for you, you can switch between IE and Firefox in your current tab just by clicking an icon, and no you don't need to open IE. This is for windows users only.
    Learn more.

  • PicLens
    You like to check out your image search results on google in a very elegant way? Flickr too? Well you are in for a shock. This add-on is a jaw dropping one. Just try it, you never live without it afterwards, ever.
    Learn more
    .

  • Firebug
    If you are a web developer you'll be puzzled how could you live without it before. Check out your HTML, debug your JavaScript, touch up CSS on the fly and much more with this UBERCOOL add-on.
    Learn more
    .

  • Fission
    Yeah, yeah, I saw safari too, you like that progress bar in the address bar? Well this give you almost the same effect. It's not a must, but it's nice.
    Learn more.

  • Flashgot
    Use your perfect download manager with Firefox. Flashgot helps you to pass the task of downloading to your favorite download manager. Lots of major download managers are supported. It can do lots of other things too.
    Learn more.

  • Thumbstrips
    On of the best firefox add-ons which I won't use the browser without it anymore. It's some kind of time machine for firefox. It records the track of all the web pages which you visit and assigns a snapshot of the page with it. So when you need to get back to a page which you have visited recently, for example the result of a good search which you made 15 minutes ago and is deeply burried in your browser's back button, you just fire up Thumbstrips and locate it visually in your recorded history. That's cool! and much much easier to use than the firefox history of recently visited pages.
    Learn more.

06 July, 2008

solved: symfoclipse sync doesn't work!

Using eclipse pdt for working on my php projects is quite fun (well, somehow). I became a fan of symfony framework recently and also learned that there is a plug-in for pdt supporting symfony commands and other thingies called symfoclipse which is cool, but when i tried to sync my project using symfoclipse's sync command, it freezed!! Why? Well, rsync connects to production server through ssh, when the production server asks for credentials rsync needs user to input the credentials but it doesn't show up in the eclipse console. So, it stands still waiting for the user input which is never going to happen. So it freezes!

As always googling around finally paid off.

To fix that problem find the following file
pear/data/symfony/tasks/sfPakeEnvironment.php

in your installation.
Almost at the end of the file you find this line:
echo pake_sh($cmd);

change it to:
echo pake_sh('start ' . $cmd);

that will fix the problem (hopefully). The next time you run the sync a command prompt window will appear asking for credentials.
And it shuts as soon as it's done. What?! Hang on a minute. I need that command prompt to stay open afterward, so I can check if everything went well or not!
Well you can change that line to
echo pake_sh('start cmd /k ' . $cmd);

that will keep the command prompt window open just for you :-)