Installing Workflow Manager for SharePoint 2013 on Domain Controller – Worked!

7 Comments

Many posts out there state that either Workflow Manager cannot be installed on a Domain Controller or is not supported. I know it’s not best practice to run applications on the Domain Controller or SQL Server, but I just had to try.

I have one server (my VM) with the following components installed:
1. Windows Server 2012
2. Domain Controller
3. SQL Server 2012
4. SharePoint Server 2013
5. Workflow Manager
6. Workflow Client
7. Workflow Manager Tools Preview for Visual Studio 2012
8. SharePoint Designer 2013

The workflow components were downloaded from http://www.microsoft.com/en-my/download/details.aspx?id=35375

I’m only going to run through steps I took for installing and configuring Workflow Manager here.
Installing Workflow Manager was pretty straight forward. I accepted the default settings and followed the wizard.

WorkflowManagerInstall

After I finished configuring Workflow Manager, I noticed that Workflow Client was installed as well.

WorkflowManagerInstall-Complete

I chose ‘Configure Workflow Manager with Custom Settings’ when the Workflow Manager Configuration Wizard launched.  I chose this option to name my databases instead of using default ones the wizard creates during the configuration.

WFMgrCustomSettings

I installed Workflow Manager Tools Preview for Visual Studio 2012.

Launched SharePoint 2013 Management Shell (I used Windows PowerShell, too), run as Administrator.

Here’s where things didn’t work using either SharePoint 2013 Management Shell or Windows PowerShell:

Register-SPWorkflowService -SPSite http://veeintranet -WorkflowHostUri "http://sp2013.vee.local:12291" -AllowOAuthHttp

I got this error:
Register-SPWorkflowService : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Looking at Workflow Service Application Proxy, I saw this:

WorkflowServiceStatusFailed

After digging through log files, uninstalling Workflow Manager and its dependencies, deleting the databases several times, and searching all over, I’ve finally found a solution.

I uninstalled Workflow Manager Tools Preview for Visual Studio 2012 (downloaded from the link above).

I downloaded and installed Workflow Manager Tools for Visual Studio 2012 Preview 2 from here http://go.microsoft.com/fwlink/?LinkId=250946&CLCID=0x409.

Re-ran the Register-SPWorkflowService command again.

No errors:

Register-SPWorkflowService

I checked Workflow Service Application Proxy again. Woo hoo!

WorkflowServiceStatus

Checked my SharePoint Designer, and there it is, SharePoint 2013 Workflow.

SPD2013Workflow

Advertisements

Adding Start Menu Back on Windows 8 or Windows Server 2012

4 Comments

Do you miss the classic start menu on your Windows 8 or Windows Server 2012?  Some of us do and some of us don’t.  If you do miss it, you can add it back in.  It’s pretty close to what you’ve experienced in previous versions of Windows.  It can be downloaded from SourceForge.Net.

If you’re not allowed to install software on your Windows 8, you can create a shortcut to your programs by following these instructions:

1. Right click on the taskbar

2. Select Toolbars

3. Select New toolbar…

4. Navigate to C:\ProgramData\Microsoft\Windows\Start Menu

ProgramData is a hidden folder. You can choose to show hidden files from File Explorer or type in the above path in the Folder dialog box.

5. Select Programs Folder and click Select Folder

You should now see a similar image on your taskbar

Shortcuts

Install SMTP Server (Not Exchange Server) on Your SharePoint 2013 Virtual Server

4 Comments

If you have a need to test SharePoint alerts or workflows from your virtual server and you don’t have access to an SMTP server, the following provides instructions on how to install and configure an SMTP server to test e-mail integration with SharePoint 2013 or previous versions of SharePoint.

1. Download Mail Enable Standard Edition (Free Edition)

2. Launch Mail Enable Standard Edition

3. Click OK on the Installation Note dialog box

4. Click Next on the Welcome dialog box

5. In Get Installation Settings dialog box, provide Name and Company, then click Next          

6. Click Next in the Terms and Conditions dialog box

7. Select Web Mail Service (Server) under MailEnable Messaging Services for Microsoft Windows, then click Next

8. Accept the default Destination Folder for Program Files Location or change location, then click Next

9. Click Next under Select Program Manager Group dialog box

10. Accept the default Destination Folder for MailEnable Repository Location or change location, then click Next

11. In Get Postoffice Details dialog box, type the domain name of your server or a meaningful name, and password

PostOfficeDetails

12. In SMTP Connector Configuration, type the domain name, DNS Host(s), and SMTP Port

SMTPConnectorConfiguration

13. Click Next to start the installation

14. During the installation process, you’ll be prompted to provide the Web site for MailEnable to use

15. In the Select WebMail Web Root dialog box, keep the Default Web Site setting, then click Next

16.   After the installation process completes, the application automatically launches its ReadMe, click OK or Cancel

17.   The Installation Complete dialog box appears, click Finish

18. If you’re running Windows Server 2012, click on Windows Charm –> Search

19. Type MailEnable, you should see the MailEnable Administrator tile, launch it

20. In MailEnable Management Console, expand Post Offices, locate the Post Office Name you created in step 11

21.   Right click on Mailboxes, select New –> Mailbox…

NewMailbox

22.   In the Mailbox Properties dialog box, under the General tab, provide Mailbox Name and Password

MailboxSetup

23. Click on the Addresses tab, provide Reply To Address information (ex: vmaximiuk@vee.local)

Mailbox Properties

24. If you have Microsoft Office client installed on your VM, launch Outlook

25. Provide account information in the Add Account dialog box, then click Next

26. You can ignore the encryption error since this runs on your VM, then click Next

27. Complete the configuration and click Finish

That’s it! Now you should be able to send and receive e-mail message to and from your virtual server to your corporate e-mail account or any external (gmail, live, or yahoo) accounts.

Enabling Hyper-V on Windows 8

1 Comment

In my previous post, I walked through the process of ensuring that your PC can run Hyper-V on Windows 8.  This post is the next step, enabling Hyper-V.

The following assumes that you have already installed Windows 8 Pro or Enterprise on your PC.

Let’s get started.

1. Press Windows + R keys to open the Run box and type appwiz.cpl
appwiz-cpl

or, from Control Panel, select Programs and Features

2. Select Turn Windows features on or off

TurnFeaturesOnorOff

3. Select Hyper-V, and click OK

SelectHyper-V

The Hyper-V binaries is now added to your Windows installation.

Hyper-VApplyingChanges

4. Once Hyper-V feature is enabled, you must reboot your PC to complete the installation.

Restart

After your PC is restarted, Hyper-V Manager is added to your start screen.

Windows8-Start-Screen-Hyper-V

I use Hyper-V Manager often, so I chose to pin it to my taskbar. Here’s my Hyper-V Manager.

Hyper-V-Manager

Next post, I’ll walkthrough setting up networking on your PC (host) and your VMs (guests) with Ethernet and wireless.

Making Sure that Your PC Can Run Hyper-V

2 Comments

For those who wonder if they could use Hyper-V with Windows 8 by re-purposing their old PCs, here are some helpful hints.

Hardware Requirements:

  • 64-bit system with Second Level Address Translation (SLAT)
  • 4 GB RAM (minimum)

You’ll need either Windows 8 Pro or Windows 8 Enterprise

To check and see if your PC supports SLAT

1. Download Coreinfo

2. Extract coreinfo.zip to your location choice

3. Open Command Prompt window and Run as administrator

cmd-administrator

4. Navigate to the coreinfo extracted location, and type coreinfo.exe –v

Since I already have Hyper-V enabled, the results produced as captured in the screenshot below

coreinfo-v
On PCs with Intel processors, without Hyper-V already enabled, the EPT line would have an * indicator.
“*” means the feature is present
“-“ means it is missing

In my next post, I will walkthrough how to enable Hyper-V on Windows 8.

SharePoint 2013 and MAXDOP

2 Comments

I started installing SharePoint  2013 on Windows Server 2012 and SQL Server 2012.  I used PowerShell to configure SharePoint Configuration and Central Administration Databases.

I used SPService account which has dbcreator and securityadmin rights to the SQL Server.  Normally, this would prompt me for SPService’s password and create SharePoint Configuration and Central Administration databases without any issues.

SharePoint 2013 now has intelligence, or whatever you want to call it, built in to detect whether SQL is set to perform at its maximum performance potential.

If you just install SQL without taking advantage of its performance settings, you’d get an error similar to this.

Open SQL Server Management Studio and right click on the SQL Server properties

Navigate to Advanced and change Max Degree of Parallelism (MAXDOP) from 0 to 1

After fixing what SharePoint and SQL are looking for, my PowerShell script ran with expected results.

Here’s how the databases (no GUIDs) look from SQL Server Management Studio.

I still have to finish configuring the Service Applications.  I’ll post my learning experience in my next post.