Email PHP 

How to enable domain to send mail through PHP mail() script in CPanel

Yes! we faced this problem many times because previously in CPanel through PHP mail() function you could send mail within a domain. for example, using mail() script you could have sent mail from [email protected] to [email protected] but now if your hosting company has enabled third-party mail delivery through PHP mail() script then you have to follow one simple step to send emails from your PHP mail script to third-party mail services like Gmail, Yahoo or outlook. After creating your email with your domain name you have to register the email which…

Read More
MS SQL Server 

How to Auto Restart SQL SERVER when its crashed?

The possible reasons for SQL server crash are listed below 1 . What to do if the operating system crashed? For this, the solution is very simple. i. In PC start -> open Run,  type “services.msc“.       ii. In this find the SQL Services name (ex: SQL Server (MSSQLSERVER)) of the instance and then click Properties. iii. In properties window, select start type to Automatic as shown below 2. There could be situations where SQLServer is shutting down automatically due to a crash or an unexpected behaviour with SQL…

Read More
MS SQL Server MS SQL Server 

How to Fix SQL Server Error – Restore Operation Failed for Database Due to Insufficient Memory in the Resource Pool ‘Default’

one fine day when working with SQL server we faced this error. the error states like below ************************************************************************************************* Msg 41379, Level 16, State 0, Line 0 Restore operation failed for database ‘InMemoryDB’ due to insufficient memory in the resource pool ‘default’. Close other applications to increase the available memory, ensure that both SQL Server memory configuration and resource pool memory limits are correct and try again. See ‘http://go.microsoft.com/fwlink/?LinkID=507574’ for more information. Msg 3167, Level 16, State 1, Line 2 RESTORE could not start database ‘InMemoryDB’. Msg 3013, Level 16, State…

Read More
Ajax ASP.net C#(cSharp) Javascript 

How to upload file to ftp using C#(C-Sharp) – aspx,ashx and ajax

In this article, we are going to explain how to upload the file to FTP using C# Generic handler(.ashx), HTML and Ajax. Please follow the steps below In visual studio create a solution with empty web app with aspx project solution. Create a file called index.aspx by adding a new item to the solution, in aspx page add the below code Add jquery plugin to <head> tag section Add HTML form fields to upload a file At bottom add the ajax file upload ajax script. After this create a File…

Read More