Archive for the Windows Category

Processing single domains statistics on Plesk Windows

Running statistics on Windows Plesk Servers will take huge time to complete.

What, If you wanted to know the current usage of one domains ?
What If you wanted to  once domains stats immediately ?

Well, you dont have to run the statistics.exe command of plesk and wait for long time.

I have searched the Internet a lot for processing only one domains statistics on the Plesk Windows Platform. I cant fine one.

So, this is for some one who wanted.

Once you logged into the server through RDP, open a cmd prompt and type >>  cd %plesk_bin%
C:\Program Files (x86)\Parallels\Plesk\admin\bin>
Type the below command, and change the earneasy.net domain to your domain name

statistics --disk-usage --process-domains=earneasy.net

ASP.NET tab on IIS Manager does not show while you check the properties of a website configured

While you check the properties for a website in Internet Information Services (IIS), ASP.NET tab does not appear.

The cause of the issue is that the IIS on 64Bit OS is running on 32Bit.

so. you should configure Windows 2003 64 Bit to load the IIS in 64Bit mode.

To enable IIS 6.0 to run 32-bit applications on 64-bit Windows

Open a command prompt change the directory to admins script

1. cd %systemdrive%\Inetpub\AdminScripts

2. Type >> cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”

3. Press ENTER.

And restard the Webserver by typing iisreset /restart

It should work for  your.

else

Just do a OS restart.

enabling time zone on your website

Some host, does not enable the timezone globally,

dont worry, There is a work account.

You can simply enable it bycreating a php.ini file on the current working directory

And put the below line and save it

date.timezone = “US/Central”
or
what ever the time zone which you want to be enabled on the website.

Some very usefull windows plesk hosting controlpanel commands

Some very usefull windows plesk hosting controlpanel commands

websrvmng –reconfigure-vhost –vhost-name=yourdomain.com

Run Statistics Manually:

%plesk_bin%/statistics.exe

Re-build MailEnable according to Plesk DB:

mchk.exe –all –fix=all

Remove site from IIS:
websrvmng –remove-vhost –vhost-name=domainname.com

Re-create Domain in IIS according to Plesk DB:
websrvmng –reconfigure-vhost –vhost-name=domainname.com
or
websrvmng –reconfigure-all

Reset IUSR passwords (if sites are prompting for password)
websrvmng –update-anon-passwords-all

webmail (404s) issues Fix
“%plesk_bin%\defpackagemng.exe” –fix –type=webmail

For dnsmng related errors:
“%plesk_bin%\defpackagemng.exe” –fix –type=dnsserver

“%plesk_bin%\DNSMng.exe” update *

issue on suspending & unsuspending the hosting accounts in Windows Plesk

When you try suspending an account in windows plesk, you would get the below error message

ERROR: PleskUserException
Unable to activate/deactivate domain: Execute ftpmng --remove-vhost "--vhost-name=yourdomain.com" failed:
Execute ftpmng --reconfigure-all failed:

Additionally, an exception has occurred while trying to report this error: PleskFatalException
Execute ftpmng --remove-vhost "--vhost-name=yourdomain.com" failed:
Execute ftpmng --reconfigure-all failed:

0: DomainToggleUIPointer.php:28
DomainToggleUIPointer->disableDomain(object of type BsDomain)
1: client.domain.toggle.php:44
plesk__client__domain__toggle->accessItem(string 'GET', NULL null)
2: UIPointer.php:601
UIPointer->access(string 'GET')
3: plesk.php:43