Server Tips

alphassl the requested property value is empty Exception for HRESULT 0x80094004

alphassl the requested property value is empty Exception for HRESULT 0x80094004 Problem When completing an Alphassl certificate install on IIS using the “Complete Certificate Request” you receive the error: There was an error while performing this operation.Details: The requested property value is empty. (Exception from HRESULT: 0x80094004) Now this is a Typical Microsoft Error in that it really only has meaning to the person who created the error. For us end users stuck in this weird Microsoft world, the error message is trying to tell us that the Certificate you pointed to for the “Complete Certificate Request function in IIS is pointing to a .CER file that is not valid as a certificate for import.… Read More »alphassl the requested property value is empty Exception for HRESULT 0x80094004

Windows Server 2016 Download Maps Manager Delayed Start

Windows Server 2016 Download Maps Manager Delayed Start Red in Server Manager Dashboard Its kind of annoying to find that after a fresh install of Windows 2016 Server you have a service that fails to behave correctly. When you click on the service, you will see something like this. Even if you attempt to force a start, it does not resolve this issue. The good news is that this service is really not something you want anyway if you have a windows server doing actual server functions. The Fix The simple fix is to disable this service. The easy way to do this is to: Open Windows Powershell Be sure to open this by right… Read More »Windows Server 2016 Download Maps Manager Delayed Start

How Install Disk Cleanup Tools Windows 2012 or Windows 2016

Install Disk Cleanup Tools Windows 2012 or Windows 2016 Server. Installing the function to clean your disk, requires that you install the Desktop Experience module from the Windows Feature list.  1. Open a PowerShell with Administrator rights. 2. Exercute: Import-Module ServerManager Install-WindowsFeature Desktop-Experience     That’s it. A Reboot of the Computer is required.

Windows PowerShell Module you receive NotSpecified: (:) [Import-Module], FileLoadException

Windows PowerShell Module you receive NotSpecified: (:) [Import-Module], FileLoadException This is a typical error for Modules that have been downloaded from the internet and are not given permission to run on the computer. The solution Really Easy.  Open PowerShell Navigate to the directory in the error message that contains the Module you intend to run. Running a command like: cd C:\Users\administrator\Documents\WindowsPowerShell\Modules\ACMESharp\ Then Run the Command:  Get-ChildItem . | Unblock-File This will set the module files to be able to be used by PowerShell That’s it. Now the module should run fine.

Enable TLS 1.2 on Windows 2008 R2

Problem How to enable TLS 1.2 on Windows Server 2008 R2? Resolution QuoVadis recommends enabling and using the TLS 1.2 protocol on your server.  TLS 1.2 has improvements over previous versions of the TLS and SSL protocol which will improve your level of security.  By default, Windows Server 2008 R2 does not have this feature enabled.  This KB article will describe the process to enable this.   Start the registry editor by clicking on Start and Run. Type in “regedit” into the Run field (without quotations).   Highlight Computer at the top of the registry tree.  Backup the registry first by clicking on File and then on Export.  Select a file location to save the registry file. Note:  You will be editing the registry.  This could have detrimental… Read More »Enable TLS 1.2 on Windows 2008 R2

The trust relationship between this workstation and the primary domain failed Hyper-V Server

The trust relationship between this workstation and the primary domain failed When playing around with some Hyper-V servers that have been inactive for some time, we received an error: The cause of this is due to the fact that Active Directory is doing a lot more than simple user name and password storage. We found that a Hyper-V system that remains off for some time, then is turned on again can suffer this. The reason for this has to do with the way that some applications use the Active Directory. Take Exchange Server, for example. Exchange Server stores messages in a mailbox database residing on a mailbox server. However, this is the only significant data… Read More »The trust relationship between this workstation and the primary domain failed Hyper-V Server

CRM 2015 Extend Auto Logout Time in IFD

CRM 2015 and CRM 2016 IFD will Automatically Logout the user with a Message: Your session in Microsoft Dynamics CRM is about to expire. To continue working, you must sin in again. By Default this setting is 60 minutes, and the message will pop up around 20 minutes before logout. Any unsaved changes will be lost as your session ends.   The Fix To extend the automatic logout time in CRM 2015, we must extend the time set in ADFS 3.0 using the PowerShell command. First we need to know the name that was used to set up the Relying Party Trust in ADFS. 1. Open Server Manager and from the Tools menu select ADFS… Read More »CRM 2015 Extend Auto Logout Time in IFD

CRM 2015 IFD Adding a New Organization Additional Steps

Error when attempting to login to a New Organisation in CRM 2015 IFD When attempting to login to a newly configured Organisation you may receive an error looking like this.                An error occurred An error occurred. Contact your administrator for more information.   Activity ID: 00000000-0000-0000-1400-0080010000ff Error time: Sat, 28 Mar 2015 07:37:45 GMT   The Cause Because IFD (Internet Facing Deployment) uses the AD FS Authentication it requires an additional step after using the CRM Deployment Manager to setup a new Organisation to then register at login with the AD FS setup. Basically it is saying that you have set up the org, but not gin figured… Read More »CRM 2015 IFD Adding a New Organization Additional Steps

CRM 2015 Reporting Extension Setup Error The SQL Server Reporting Services account is a local user and is not supported

Error Message installing CRM 2015 Reporting Extensions When installing Microsoft Dynamics CRM Reporting Extension Setup you receive an error message: The SQL Server Reporting Services account is a local user and is not supported. This is during the System Checks. In our instance this was with MS CRM 2015 on SQL 2014 on the same server in a test environment. The Solution The fix is easy. 1. Open the SQL 2014 Reporting service configuration Manager 2. Connect to your Server. 3. Select the Service Account 4. Select the Local System account and apply with the appropriate security levels. That’s about it. Run the setup process again and you should be good to go.

Windows 2012 Turn off Password Complexity

How to disable (turn off) the default Windows 2012 Administrator Complexity 1. Open the Administrative Tool 2. This places you in the Administrative Tools section. Select Local Security Policy. ‘ 3. Change the password Must Meet Complex Requirements option to Disabled. In a Domain Environment, for an Active Directory Domain Server. In the Server Manager click on Tools and from the drop down click Group Policy Management Expand Forrest >> Domains >> Your Domain Controller. NOTE: There are some steps in the comments that some have made, that advise of additional steps at this point. Try without, but if you fail… have a look in the comments. Right click on the Default Domain Policy and click on the Edit from the context menu. Now Expand Computer… Read More »Windows 2012 Turn off Password Complexity

Windows 2012 R2 Remote Desktop Enabled Cannot RDP Connect

Windows 2012 RDP Remote Desktop Enabled but you Cannot Connect You find that after you enable the Windows 2012 RDP or Remote Desktop Connection features to allow you to remote desktop into your new server, you are still unable to connect to the server. The Cause By default on new installs of Windows 2012 R2 the server firewall is enabled for TCP IP on Remote Desktop User Mode In TCP-IP. The Fix Enable the rule that permits access through the Windows Firewall. 1. Search for Firewall and open “Windows Firewall and Advanced Security”. 2. Find the rule “Remote Desktop – User Mode TCP-in” and ENABLE Rule

Enabling Replication Failed The System Cannot Find the Path Specified Hyper-V

Enabling Replication Failed The System Cannot Find the Path Specified Hyper-V While trying to replicate a Hyper-V server you receive the following error: Enabling replication failed Hyper-V failed to enable replication for virtual machine “Machine Name”: The system cannot find the path specified. (I0x80070003). (Virtual machine ID “ID Number”) Cause The likely cause is that you have removed the path that was set under the replication server (or receiving servers) replication settings. Under the Hyper-V Setting on the receiving or replication server, click on the “Replication Configuration Enabled as a Replication server” The Fix Browse to the directory defined under “Specify the default location to store replica files” and ensure that the path is valid. … Read More »Enabling Replication Failed The System Cannot Find the Path Specified Hyper-V

Microsoft CRM 2011 Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry

Error When attempting to login to an IFD (Internet Facing Deployment of CRM) you receive this error: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 10/06/2014 1:54:52 AM Event time (UTC): 9/06/2014 3:54:52 PM Event ID: 6da606a9a6794c2a8f504cc6b8b3be3e Event sequence: 2 Event occurrence: 1 Event detail code: 0  Application information:     Application domain: /LM/W3SVC/2/ROOT-1-130468028783689054     Trust level: Full     Application Virtual Path: /     Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\     Machine name: VSERVER08  Process information:     Process ID: 1540     Process name: w3wp.exe     Account name: NT AUTHORITY\NETWORK SERVICE  Exception information:     Exception type: SecurityTokenException     Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry… Read More »Microsoft CRM 2011 Exception message: ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry

Windows 2008 Server Blocking RDP IP Address Hacks

Find out the IP address of the Prick who is trying to hack your server. Go to the Windows Event Log, and select Security. Look for the Audit Failure event and you will see the IP there. Setup a custom rule in Firewall With Advanced Security to block this incoming IP from attempting a hack. Start -> administrative tools > windows firewall with advanced security. Select Inbound Rules / New Rule Select Custom / Next Select All Programs / Next Leave Default / Next Leave the Local IP set to ANY, but Change the Remote IP to ADD Ensure that you have added the prick who is hacking you, then Next Select Block the Connection… Read More »Windows 2008 Server Blocking RDP IP Address Hacks

Microsoft CRM IFD SSL Certificate Renewal

Following on from our very popular IFD configuration for Microsoft CRM. [gard] http://www.interactivewebs.com/blog/index.php/server-tips/microsoft-crm-2011-how-to-configure-ifd-hosted-setup/ The time will come around where you need to renew the SSL certificate for your CRM IFD configuration. This will include the renewal of the SSL certificate as used by IIS and and ADFS. Couple of steps we followed based exactly on the configuration outlined in our above linked blog post. Generate a new SSL Request. 1. Open IIS Manager and click on server certificates. 2. Create certificate request 3. Fill in the data: Next 4. Change to 2048 Bit 5. Give it a name: Finish and you are done. Now Open the certificate text file and copy the text to your… Read More »Microsoft CRM IFD SSL Certificate Renewal

Font Icons Not Displaying in Internet Explorer IE 9 / 10

With the Bulk Emailer application we have used font icons to improve response and scalability with different devices. So far we have been happy with how they work using some boot strap code that is used for our user interface. What we have noticed, and it’s no big surprise… Internet Explorer 9 and IE 10 will not display font icons correct. What you should see is this: But ends up rendering like this: The Problem is WOFF Fonts on IIS For IIS 6 and later, they do not handle WOFF fonts as icons for Internet Explorer. Most other browsers will support them, however IE like usual will behave like a black sheep. There appears to… Read More »Font Icons Not Displaying in Internet Explorer IE 9 / 10

.zip files from Mac OS show up as green/encrypted

Green files and folders on Windows 7 indicate they are encrypted. Usually this is a function of a program that will make these files encrypted for a reason. Security is usually the reason. But… An interesting little bug in the process of creating a .zip file on a mac and moving it over to a Windows computer. When a .zip file is created according to standards for .zip files found here: http://www.pkware.com/documents/casestudies/APPNOTE.TXT They specify that .zip archives include a tag informing about itself to the program trying to decompress the archive. This tag information is known as the “version made by” and as the name suggest, it would tag information about the program version of… Read More ».zip files from Mac OS show up as green/encrypted

CRM 2011 Email Router Setup and Settings

Often with the setup of CRM 2011. Users experience messages about Pending e-mail warning and sometimes email messages are not sending. [gard] This can be especially frustrating as both the CRM email queuing and tracking system and the Email router application are terrible to help you understand exactly what is going on with your CRM e-mail. We mentioned some of the issues we have experience here: http://www.interactivewebs.com/blog/index.php/server-tips/crm-2011-email-router-problemsshes-a-fickle-bitch/ Here are some basic setup tips for email in Microsoft CRM 2011 1. Out of the box, CRM does not send email messages. You need to configure an application known as CRM 2011 Email Router to have email messages send. 2. You also need a working SMTP (email… Read More »CRM 2011 Email Router Setup and Settings

CRM 2011 Rollup 10 Invalid Argument Error

CRM 2011 Rollup 10 Killed My CRM After installing CRM 2011 Rollup 10 (not 9 as that is MIA) you receive an Invalid Argument messages as per the image above. This happens after you login to an IFD deployment. For all we know it may happen on the CRM on premises but we have not managed to test that. You may also have a CRM Platform Trace Error: Crm Exception: Message: A non valid page number was received: 0, ErrorCode: –2147220989 CRM’s Fetch Throttling abilities have been disabled or modified from the default values. Re-enable CRM’s default Fetch Throttling settings. The solution 1. START | RUN | “regedit” | OK 2. Locate and select the… Read More »CRM 2011 Rollup 10 Invalid Argument Error

Opencart on IIS 7.5 Windows 2008 Server FTP Permissions Changing

Opencart and PHP running on IIS, we found Permissions incorrect on uploaded files After working with IIS server running PHP, we found the files uploaded through the web interface of the opencart CMS failed to inherit the correct permissions. After spending weeks time to resolve this problem, believing that it was a glitch that required file permissions to be reset we found an easy solution. The Problem The problem lies with the PHP system running on IIS. When you use a web interface to upload files to your PHP CMS website, they are initially loaded to the PHP defined temporary folder. The temporary folder is set in the PHP.ini file. To find this file and… Read More »Opencart on IIS 7.5 Windows 2008 Server FTP Permissions Changing

Opencart .php on IIS 7.5 Permission Denied

The Problem We ran into an interesting issue while playing with Opencart on IIS 7.5. The issue was around a common third party module being used called Magic Zoom Plus. The error showed it’s self with the loading of some junk text at the beginning of many pages when loading. The text looked like this: Warning: file_put_contents(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): failed to open stream: Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 171Warning: unlink(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 172Warning: rename(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus .css~backup,C:\inetpub\wwwroot\www.domain.com\admin\controller\module\ magictoolbox/magiczoomplus.css): Access is denied. (code: 5) in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 173Warning: file_put_contents(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): failed to open stream: Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 171Warning: unlink(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/magiczoomplus.css): Permission denied in C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox\module.php on line 172Warning: rename(C:\inetpub\wwwroot\www.domain.com\admin\controller\module\magictoolbox/ magiczoomplus.css~backup,C:\inetpub\wwwroot\www.domain.com\admin\controller\module \magictoolbox/magiczoomplus.css): Access is denied.… Read More »Opencart .php on IIS 7.5 Permission Denied

SmarterMail Autodiscover setup configuration

Setup of SmarterMail Autodiscover configuration A simple understanding of autodiscover is that it is the configuration necessary to allow advanced email programs like macmail and outlook to configure themselves with only an email address and password. No more telling clients all the server settings necessary to get them all setup. At least that is the theory. Exchange server has supported it for some time, but configuration under a multi domain setup is a total pain in the butt. Typical off MS to dream something up, then balls it up in the implementation. SmarterMail does a much better job of it. Configuration is virtually non existent, it basically just works. http://portal.smartertools.com/KB/a2415/set-up-auto-discovery-with-smartermail.aspx But their article is a… Read More »SmarterMail Autodiscover setup configuration

Opencart – HTTP Error 500.50 – URL Rewrite Module Error 0x80070005 Handler StaticFile

Problem 500 – Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.   While working with Opencart shopping cart on an IIS server, we encountered this while browsing to a static image file that was uploaded as a website logo file. Solution The problem turned out to be related to IIS permissions. The folder structure hosting the website needed: IIS_IUSRS(<servername>\IIS_IUSRS) – modify to include Modify permissions. As per this article: http://www.interactivewebs.com/blog/index.php/websites/creating-a-new-opencart-deployment-on-a-windows-server-iis/ Once we fixed that the problems all were solved.

AD FS certificate rollover CRM 2011

You find that you can’t logon to your CRM 2011 IFD deployment that you have configured around 12 months earlier. In the browser you may see: HTTP Error 401 - Unauthorized: Access is denied <html><body><p> An error has occurred. <br/><br/> Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support. </p></body></html>   Looking at the server log may show: SERVER Log Error show: 1309 Event code: 3005 Event message: An unhandled exception has occurred. Event time: 9/07/2012 12:09:59 PM Event time (UTC): 9/07/2012 2:09:59 AM Event ID: 50c7c9d7c3ba4b839bca7c72b9edf410 Event sequence: 51779 Event occurrence: 11 Event… Read More »AD FS certificate rollover CRM 2011

ERROR The terminal server has exceeded the maximum number of allowed connections. RDP Solution

Using RDP from windows to access a remote server of Windows 2003. The problem sometimes appears that you cannot connect with an error reported as: ERROR The terminal server has exceeded the maximum number of allowed connections   The Problem The cause of this is that you have remote sessions that have not exited correctly. Either the connection to the server was lost, or the user simply clicked the close X at the top of the session. AND You have your settings in Terminal Server set to hold dropped or inactive sessions either for a period of time or forever.   To Solution At the Start Button on the computer where you would normally run… Read More »ERROR The terminal server has exceeded the maximum number of allowed connections. RDP Solution

Creating a New OpenCart Deployment on a Windows Server IIS

We are going to cover the deployment of an OpenCart (open source shopping cart) on a Windows 2003 Server, 2008 Server. We are assuming that the server is setup to run IIS websites, and that you have some general idea about running websites in general on IIS. If this is not the case and you are learning from scratch. Better to learn on Linux server. Assuming you want to get OpenCart running on IIS.   Step 1 – Web Platform Installer Install the Microsoft Web Platform Installer on the server from this link. http://www.microsoft.com/web/downloads/platform.aspx In Windows 2003 you need to: Go to the directory on your server: C:\php Find the file: php.ini Edit the file… Read More »Creating a New OpenCart Deployment on a Windows Server IIS

Read more about steps you can take to resolve this problem (error number 0x80072EE7) yourself–solved.

We were receiving this error constantly when trying to run either the Microsoft Update service or Windows update service. Read more about steps you can take to resolve this problem (error number 0x80072EE7) yourself. Solution (fix) As you would expect, there is no help from Microsoft here. We found that the DNS server for the internet connection on this machine was pointing to a local server of ours. We changed this to the Google free DNS service: IP 8.8.8.8 IP 8.8.5.5 And ran the update process again. We found that it worked right away. The likely cause relates to the DNS server we host being unable to look up something Microsoft correctly. We will fix… Read More »Read more about steps you can take to resolve this problem (error number 0x80072EE7) yourself–solved.