Tag: windows
-
Mysql db backup batch script for windows
This is an example of very simple mysql database backup batch script for windows machines: @echo off REM “MySql Backup Initiated” REM “Mysql username/password” SET mysqlUsername=”root” SET mysqlPassword=”root” REM “Creating folder with date stamp” set datestamp=%date:~-4,4%%date:~-10,2%%date:~7,2% mkdir D:\backup\dbBackup\mysql_%datestamp% SET backupDir=”D:\backup\dbBackup\mysql_%datestamp%” REM “Database backup Started” SET mysqlCmdDir=”c:\Program Files\MySQL\MySQL Server 5.5\bin” cd %mysqlCmdDir% mysqldump -uroot -proot exampledb…
-
HTTP Error 500.21 – Internal Server Error
Problem: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list Detailed Error Information Module IIS Web Core Notification ExecuteRequestHandler Handler PageHandlerFactory-Integrated Error Code 0x8007000d Requested URL http://Demo.com/index.aspx Physical Path C:\Demo\index.aspx Logon Method Anonymous Logon User Anonymous Most likely causes: Managed handler is used; however, ASP.NET is not installed or is not installed completely.…
-
Setting up SMTP on IIS 7
Note – To send email form server 2008 /2012 using SMTP Server over IIS Step 1. – Install smtp server Start -> Administrative Tools -> Server Manager Go to Features -> Select Add Feature Check smtp server and Choose install (let install all the belongings) Step 2. – Make sure following services are running 1.…