Sunday, August 21, 2011

Texture is too large: 2048x2048, maximum supported size: 1024x1024

The Error:
Texture is too large: 2048x2048, maximum supported size: 1024x1024

I was receiving this error when I tried to start the Angry Birds game on Windows 7 Ultimate x64 and x86 versions. I don't know about other versions of Windows OSes.

I don't exactly know what could be the problem but from the error it is clear that the problem is related with graphics. As Windows 7 versions are mostly automatically install the required drivers for hardware, most of people do not install the graphics and other drivers. That could be one problem. But from some sources on internet, I came to know that Angry Bird is using OpenGL for graphics instead of DirectX; and OpenGL is not pre-configured/installed with Windows 7 installation.

I have a graphics card: nVidia GeForce 9400 GT (1 GB Graphics RAM and 4 GB DDR2 RAM, and LG W1953T 18.5in LCD monitor), and I had installed the drivers from the CD came with the graphics card and monitor. But still I was receiving the error. So, I thought installing OpenGL would work, but didn't found any setup of OpenGL on the internet. On some forums I had also found that downloading and installing latest graphics drivers will solve the problem.

So I just downloaded and installed the latest drivers from nVidia's website and it worked perfectly. And the same may apply to you, go to your vendor's website and download and install latest drivers.

If you have graphics card then go to the website of the graphics card's vendor.
If your motherboard has on-board graphics, then go to the website of motherboard's manufacturer.
You may also need to update the driver of your monitor.

Wednesday, August 10, 2011

Send Email using WAMP Server

This article is also available at Please visit it for the latest updates on this article.

When building professional web applications, it is very necessary to test email functionality before deploying the website. It is therefore a requirement for web developers to send emails from their development machine during development process.

After tweaking with the Apache and PHP's INIs, I succeeded in sending email from my WAMP server.

So, to use PHP Mailer with GMail, ensure the following:
  • IMAP Access is enabled in your GMail's Settings -> Forwarding and POP/IMAP -> IMAP Access:

  • "ssl_module" module in Apache server is enabled:

  • "php_openssl", "php_smtp" and "php_sockets" extensions for PHP compiler are enabled:

I used the following code in PHP file:

require 'class.phpmailer.php';
$mail = new PHPMailer();
$mail->PluginDir = './PHPMailer_5.2.0'; // relative path to the folder where PHPMailer's files are located
$mail->Port = 465;
$mail->Host = ''; // "ssl://" didn't worked
$mail->IsHTML(true); // if you are going to send HTML formatted emails
$mail->Mailer = 'smtp';
$mail->SMTPSecure = 'ssl';

$mail->SMTPAuth = true;
$mail->Username = "";
$mail->Password = "your_gmail_password";

$mail->SingleTo = true; // if you want to send mail to the users individually so that no recipients can see that who has got the same email.

$mail->From = "";
$mail->FromName = "Your Name";

$mail->addAddress("","User 1");
$mail->addAddress("","User 2");

$mail->addCC("","User 3");
$mail->addBCC("","User 4");

$mail->Subject = "Testing PHP Mailer with localhost";
$mail->Body = "Hi,<br /><br />This system is working perfectly.";

    echo "Message was not sent <br />PHP Mailer Error: " . $mail->ErrorInfo;
    echo "Message has been sent";

To use PHP Mailer on actual online server, you will need to change some of the configurations of PHP Mailer as described on the cPanel like control panel on your actual online server. These configurations would be:
  • $mail->Port
  • $mail->Host
  • $mail->Mailer
  • $mail->SMTPSecure
  • $mail->Username
  • $mail->Password
  • $mail->From
  • $mail->FromName

Tuesday, August 9, 2011

The breakpoint will not currently be hit. The source code is different from the original version.

This was an old error which I was receiving when building an application. At that time I had not started this blog and therefore I hadn't took screen shot of the error. But I had posted this error on forums to get help from others. Here is more detail about the error and solution which worked for me.

I was getting this error in Visual Studio 2005 when starting the debugging (running) a project:

The breakpoint will not currently be hit. The source code is different from the original version.

Because of this error I wasn't able to edit the source code while the application was running in debugging mode.

I tried almost everything suggested at :
And also looked and tried other threads on the above site and other forums, but at last solved it by manually removing the files in debug directory and then also removing the solution's .SUO file.

I have windows 7 64-bit with Visual Studio 2005, and my project was containing Crystal Reports. I had to set the target CPU type to x86 from solution property and from project property for Crystal Reports to work.

The problem could have been occurred because of target CPU type and/or opening (just opening, not edited) the .SUO file in Notepad to solve the Crystal Reports problem. I had to set the CPU type to x86 because my OS is x64 and Visual Studio will, I think, create an x64 exe, but the Crystal Reports installed on my computer is not for x64 and thus while compiling/running the project, a runtime error regarding Crystal Reports was generated

Monday, August 8, 2011

Exception in module wampmanager.exe at 000F15A0

I was using Windows 7 64-bit OS.  Because of some hardware problem, I had to reinstall the OS. I had then Windows 7 32-bit OS DVD so I decided to test and install 32-bit version. I was using the WAMP Server version 2.1d x64 and it was installed on D: drive and therefore it was safe when I formatted the Windows 7 64-bit. I had previously several times formatted and used the old same WAMP installation without re-installing WAMP server in the freshly installed OS; it was working fine.

But after installing Windows 7 32-bit, time I was receiving this error message:

Problem signature:
  Problem Event Name:          APPCRASH
  Application Name:            wampmanager.exe
  Application Version:
  Application Timestamp:       2a425e19
  Fault Module Name:           KERNELBASE.dll
  Fault Module Version:        6.1.7600.16385
  Fault Module Timestamp:      4a5bdaae
  Exception Code:              0eedfade
  Exception Offset:            00009617
  OS Version:                  6.1.7600.
  Locale ID:                   1033
  Additional Information 1:    891f
  Additional Information 2:    891f8ecaa4636eab9d64e12e7ca2b7c4
  Additional Information 3:    fd5c
  Additional Information 4:    fd5c21723f3b200d9ca391af2a52aa45

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:

After choosing the "Close the program" button from the dialog box, another message box was displayed:

Application Error
Exception Exception in module wampmanager.exe at 000F15A0.
Could not execute run action:

So, I think this happens because I had previously downloaded and installed the 64-bit version of WAMP Server for my Windows 7 64-bit and now I have installed it on Windows 7 32-bit.

  1. Install the 64-bit Windows OS and keep the WAMP Server's 64-bit installation as it is. --OR--
  2. Install the 32-bit version of WAMP Server on the current Windows 32-bit OS.