Heartland Region SharePoint 2013 Conference – Exploring SharePoint 2013

Leave a comment

I want to thank all who attended my Exploring SharePoint 2013 from an IT Pro Perspective session at the Microsoft Heartland Region SharePoint Conference 2013 on March 21st.

As promised during the session that I would post my presentation on my blog, the presentation is included here and also at slideshare.net.

Thank you again!!

Advertisements

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

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.

SharePoint 2013 and Bing Maps Integration

7 Comments

I was excited to learn that I could use Geolocation and Bing Maps in SharePoint 2013.  So I started down this path,

1. Get Bing Maps Key from here http://www.bingmapsportal.com/. (Note: You don’t need this key, but a bar will display in the middle of your map.)

Bing-Maps-with-Bar

2. Set Bing Maps key at the farm level by running the following PowerShell command:

Set-SPBingMapsKey –BingKey “<Enter a valid Bing Maps key>”

Set-SPBingMapsKey

3. Create a custom list called “Convention Centers”.

4. Add a column called “GPS Location” using the following PowerShell script: (This adds GPS Location to your site columns under Custom Columns.)

Add-PSSnapin Microsoft.SharePoint.PowerShell -EA 0

$weburl = "http://<my-web-site>"

$fieldXml = "<Field Type ='Geolocation' DisplayName='GPS Location'/>"

$web = Get-SPWeb $weburl

$fieldName = $web.Fields.AddFieldAsXml($fieldXml)

$web.Update()

5. Add GPS Location column to Convention Centers custom list.

6. Find longitude and latitude for convention locations.  There are many out there, but I used this one http://www.findlatitudeandlongitude.com/.

7. Edit each location with longitude and latitude from step 6 above or you can use “Use my location”.

Here I used longitude and latitude for Seattle Conference Center:

Seattle Conference Longitude Latitude

After clicking OK. You’ll get this.

Seattle Conference Longitude Latitude-2

8. Test from the geolocation map icon.

Seattle Conference Longitude Latitude-3

9. Create a Map View.

10. Test map view.

Seattle Conference Longitude Latitude-4

Well, everything seems to work as expected.  So far, so good.

11. Create a page with Web parts.

12. Add Convention Centers list to the Web part. Still working.

13. Check in page. Again, still working.

Seattle Conference Longitude Latitude-5

14. Publish page.  It spins and spins and never renders.

Seattle Conference Longitude Latitude-6

I checked all the logs I could think of, but I couldn’t find anything.  I know I’m missing something here.

Anyway, I have to get this resolved, so I took another route.

15. Back to my page, I added the following code using Script Editor Web Part. I added the following code to get one static location (Columbus Convention Center)to display:

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
 <title>Map with initial zoom</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
 <script type="text/javascript">
 var map = null;

function getMap()
 {
 map = new Microsoft.Maps.Map(document.getElementById('myMap'), {credentials: '<Your Bing Map Key>', zoom: 16, center: new Microsoft.Maps.Location(39.9722857, -83.0008507)});
 }

</script>
 </head>
 <body onload="getMap();">
 <div id='myMap' style="position:relative; width:400px; height:400px;"></div>
 </body>
 </html>

16. I published the page and it continues to work.

ColumbusConventionCenterBingMaps

After I find a solution to my issue with Geolocation and Bing Maps, I’ll provide an update.

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.

A Day in a Life for “Buddy” (Dogfood Conference 2012 #DogFoodCon)

Leave a comment

From the lighter side of Dogfood Conference.

8:35 Buddy receives a call from a customer with the system down.

8:42 Buddy works on the down system trying to get it back up.

8:48 Buddy receives a tweet “Are you working on it?” from the customer.

5 minutes later, manager, team, sales rep ask if the problem is solved. ¡Ay, Caramba!

A big thank you to Dan Shultz for the drawings of “Buddy” and Danilo Casino the mastermind behind this.

Dogfood Conference 2012 starts tomorrow, November 8th (8:00 AM – 4: 30 PM) at Microsoft Offices in Polaris (Columbus, OH).

Older Entries