Setup: You have a Moodle installed Problem: You and want to setup https only for entire website. NOTE: You need to enable HTTPS/SSL your website first !. Examples: http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis http://www.apache.com/www/how-to-setup-an-ssl-certificate-on-apache/ Solution: Locate config.php in web folder. Look for the line that shows: Change the http:// to https:// like the following: If you prefer to use […]
Monthly Archives: November 2014
Copy file permissions with PowerShell
Setup: You want to copy all the permissions from one file to another with PowerShell Solution: Move to the folder of the source file Move to the folder of the destination file: This method is very useful for copying the permissions of .vhd files after you move/copy them between different folders/virtual machines. Before attaching a […]
SCCM – System discovery of an untrusted forest fails with 0x8007052E
Setup: You have SCCM 2012 deployed in Forest Alfa but you want to discover machines in forest Beta. Problem: You supply alternative credentials with the correct username and password for forest Beta but kept getting back a error – 0x8007052E – “Logon failure: unknown user name or bad password.” Solution: Use fqdn of Beta forest […]
Deploying a new VM from template fails with “Windows could not parse or process the unattend answer file for pass [specialize]…
Setup: You try to deploy a new virtual machine with Virtual Machine Manager Problem: You receive an error : Windows could not parse or process the unattend answer file for pass [specialize] To automate the provisioning of new VMs from templates, VMM can pass the answer file to Windows during sysprep customization. If you create […]
Upgrade Timer job is exiting due to exception: Microsoft.SharePoint.Upgrade. SPUpgradeException: Action 4.0.14.0
Problem: When trying to upgrade the SharePoint to a higher service pack you encounter this error in the log [OWSTIMER] [SPUpgradeSession] [ERROR] [11/3/2014 2:56:24 PM]: Upgrade Timer job is exiting due to exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Action 4.0.14.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed. —> System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified. One probably cause is the someone […]
Microsoft SharePoint Foundation Web Application service in stopping state
Problem: After stopping the “Microsoft SharePoint Foundation Web Application” service the service remains in stopping state Solution: Run this command with proper permissions:
SharePoint – Add a managed account from one-way trust domain
Setup. A SharePoint farm in a domain. You want to add a managed account from another domain, with one-way trust between domains. Example: DomainB TRUST DomainA. SharePoint instance is in DomainB and you want to add a managed account from DomainA. User AdminA has local admin and farm admin privileges on farm and is used […]