My contemplations and diurnal novelties are publicized here

Archive for February, 2012

Could not load file or assembly ‘CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304’ or one of its dependencies.

I do receive this error on a usual basis.

Its pretty simple i am missing some file of crystal report.

Here is a list of installer (Choose one that match you configuration)

Crystal Report Some import links and resources

For Visual Studio 2008


Crystal Reports Runtime Packages


For Visual Studio 2010



Best WordPress themes

  1. Mystique by digitalnature
  2. Choco by CSSMayo

Using Firebug in IE, Opera, Chrome, Safari or any other browser

Firebug is one of the widely used Firefox plug-in for web development but using it in IE some time become difficult. Here is an easy way to use it in IE without referencing any code in your web-page.

Step #1 Add a favourite (I prefer to add to Favourite Bar so we can use it on a single click)

Step #2 Once your favourite is added right click on it and chose properties and place all the code below in URL field

javascript:var firebug=document.createElement(‘script’);firebug.setAttribute(‘src’,’’);document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);

All of the above code should be pasted in URL of the favorite link and should be in one line

Step #3

Above idea is fetch from “Firebug 1.5: Editing, Debugging, and Monitoring Web Pages

If you have any issues using Firebug in any browser let me know via comment box below.

Open Source Blog

Here is  a list of open source Blogs

  1. WordPess (PHP Based)
  2. Blog Engine (Dotnet Based)

reCAPTCHA Could not open socket (Behind a proxy)

Recaptcha provides a php library for integration into web applications. Unfortunately, it depends on the web server having full outgoing access to the internet. In a situation where you are forcing outgoing connections to go via proxy,  the following modifications should work.

The new _recaptcha_http_post() function:

 * Submits an HTTP POST to a reCAPTCHA server
 * @param string $host
 * @param string $path
 * @param array $data
 * @param int port
 * @return array response
function _recaptcha_http_post($host, $path, $data, $port = 80) {

        $proxy_host = '@@YOUR_WEB_PROXY_HERE';

        $req = _recaptcha_qsencode ($data);

        $http_request  = "POST http://$host$path HTTP/1.0\r\n";
        $http_request .= "Host: $host\r\n";
        $http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n";
        $http_request .= "Content-Length: " . strlen($req) . "\r\n";
        $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
        $http_request .= "\r\n";
        $http_request .= $req;

        $response = '';
        if( false == ( $fs = @fsockopen($proxy_host, $proxy_port, $errno, $errstr, 10) ) ) {
                die ('Could not open socket');

        fwrite($fs, $http_request);

        while ( !feof($fs) )
                $response .= fgets($fs, 1160); // One TCP-IP packet
        $response = explode("\r\n\r\n", $response, 2);

        return $response;
You can find the modified code here recaptchalib.php
Copied and edited from :-

Connection reset while using DOMPDF on production server

Here is the solution (I am using XAMPP 1.7.1) :-

In httpd.conf located in apache/conf/ search

#LoadModule rewrite_module modules/

if its commented using # do UN-comment it

then open file


if it set to auto change it to smth like below

define(“DOMPDF_PDF_BACKEND”, “auto”);   –>  define(“DOMPDF_PDF_BACKEND”, “smth”);

For further information read below:-

%d bloggers like this: