How to change password in roundcube?

There is no change password option in roundcube mail. But you can change password outside your roundcube. Select change password option on the same screen you are given the option to select the them, that is gives the option of “Horde”, “RoundCube” and “SquirrelMail”.   In some versions of RoundCube, the option of changing password might be available inside the theme itself but you can also change it outside if it is not there.  

Read More

How to troubleshoot PHP critical code using die()

If you are complex issue in PHP and you do not have debugger install or do not want to use debugger, there is an easy way to troubleshoot your code. Place die(); function right at the point where you want to troublesheet/example values. The program will stop at that point and you see your values. Example of Using Die You have a query that is returning unsuspected result. There is no way you can debug the code directly or you can’t output the content because the page redirects. In this case use die();

The execution will stop at this…

Read More

Cannot start service W3SVC on computer

My IIS was working perfectly on Windows 7 fine but I after I ran some manual command stopping http service, I began to get this error Cannot start service W3SVC on computer When I restared the PC, ISS started perfectly fine. The problem was gone. Note that logging the user outdid not fix the problem, restart was required.

Read More

connection string to local aspnetdb.mdf

This is connection string to your local database in visual studio

Note that this .mdf file does not have a database inside. It is simply data inside the mdf file. Copy the above connection as it is in web.config file.

Read More

Install Ajax in Visual Studio 2008

Visual Studio 2008 still rocks which comes bundled with Crystal Reports and Site Configuration if you really want to build an application with roles. Visual Studio 2015 is out and Visual Studio 2013 is commonly used every but both do not have Crystal Reports and they do not come with site configuration. It is hard to find AjaxToolKit for Visual Studio 2008 so I will provide the links here and provide a quick tutorial so it goes smoothly for you. Download Ajax for Visual studio 2008 from Codeplex. This will download AjaxControlToolkit-Framework3.5 Unzip it. I had to build this locally…

Read More

How to remove horizontal separator in MailChimp Template

If you added horizontal separator in your template and then saved it, it might be trouble removing or deleting it. The backspace will not remove the horizontal separator (HR line). The trick is Insert a line before the HR line if no prior line exists Similarly insert a line after the HR line Select the first line and the second line so that it encompasses the HR line. Then delete. This is just not intuitive and can give trouble to some users, hence documenting here.

Read More

Quartz.Net JobListener Example

Download Code – > Quartz_Net_Example JobListeners in Quartz.NET are kind of event listeners but in t his case they listen to the JOB. They are executed when the job is about to be executed or when the JOB has executed. The following is a simple C# Console Application that demonstrates the concept. The main JOB simply prints a msg that says “Hello, this message is from the JOB”. The listeners also print messages to the console when the job is about to be executed and when the JOB has finished executing.

Note that you will need to download Quartz.NET…

Read More

Login timeout expired LinkedServer SQL

I had a database crash, after restoring it my linked queries which were working perfectly fine started to give this error Login timeout expired An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. I spent quite a bit of time on it but couldn’t find the cure. Eventually found this stackexchange post ¬†which sort of put me in right direction. The answer says SQL Agent will use Shared Memory to connect to…

Read More

How to setup WAMP virtual hosts

In this tutorial, I will be showing how to install WAMP or port 8080 (default port is 80) and how to setup WAMP. For me basically everything went fine. The problem I encountered was when setting up the virtual hosts. Download WAMP here and Install. Use a good text editor such as Sublime Text 1. Navigate to C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf and edit lined no 513, simply remove # sign in front of the line. This will enable virtual hosts Include conf/extra/httpd-vhosts.conf 2. Navigate to line 240 and change the code as follows (change denied to granted). This will fix the issues you…

Read More