Tech in the 603, The Granite State Hacker

AppStudio gotcha

Recently, I upgraded the Granite State (NH) SharePoint Users Group’s website from WSS 3 (MOSS 2007 generation) to SharePoint Foundation 2013.  The upgrade itself went as well as a 2007 to 2010 to 2013 upgrade could go, in general.

The only real “problem” I ran into was the Windows Phone app I wrote for the group years ago.  It was coming up with a 401 error trying to grab content from lists.asmx.  

I spent some time digging in the dirt, trying to resolve the 401, and hit a few common settings known to have an impact, but no good.  

Rather than struggle with it in my not so copious amounts of spare time, I decided to trash the old app, and build a new one with AppStudio.  

The app loads content from the #NHSPUG web site (http://granitestatesharepoint.org), mostly via RSS feeds.  I put a little extra effort into this.  Using AppStudio (http://appstudio.windows.com), I found a couple hours…  after that, I had not only a much prettier v3 of the Windows Phone app, but a Windows 8.1 (tablet style) publishing package as well.

One thing that caught me off guard though… the Gotcha:

The Windows 8.1 edition of the app wouldn’t load the content from the users group website. 

With some debugging, I found that attempts to load the content were coming up with “Unable to connect to the remote server. hresult=   -2146233088”.

Turns out the error had to do with the fact that I had not enabled Capability “Private Networks (Client & Server” in the Package.appxmanifest.   Ironically, the app works fine anywhere except where I was trying to test it:  on the same network as the content source server. So, to be fair, this is an environmental/configuration issue, not AppStudio, but it was worth mentioning, since my original assumption led me down that path. Maybe this will help someone else.

Oh… Here’s the Windows Phone app:
http://www.windowsphone.com/s?appid=8c1ce3ea-9ffd-46a0-80bd-6b45d1019b32

And here’s the Windows 8.1 (tablet style) app:
http://apps.microsoft.com/windows/app/granite-state-sharepoint-users/01ea0a83-f3af-4be6-abb0-268587072686

And here’s my moment of shame recording the incident and solution in the forums:
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/be7b02cf-25d0-4aa2-8850-e0e2dce21fd2/appstudio-windows-81-apps-not-loading-external-content?forum=wpappstudio&prof=required

Tech in the 603, The Granite State Hacker

Feb 2014 Meetings for the Granite State NH Users Groups

Two things for the Granite State Users Groups for February 2014…

  1. The Granite State SharePoint Users Group will be meeting on a special night in a special place for a special speaker. Monday, Feb 10th, Daniel Webster College, Eaton Richmond Room 100, Joel Oleson will be presenting “Your Enterprise Social Journey”.  Alexander Technology Group will have the pizza hot at 6 PM, the presentation will begin at about 6:30.  Please RSVP (FREE) Here:  http://granitestatesharepoint.eventbrite.com
  2. The Granite State Windows Phone Users Group will be meeting at its regular date & location (6 PM, Microsoft Store in Salem, NH on February 20th), but our format will be a bit different from the normal.  Instead of a feature presentation, we’ll have an exercise in community app reviewing & rating.  This semi-dynamic RSS feed represents the list of apps known community published apps:  http://www.kataire.com/gswpug/gswpugservices.svc/getdata .  Please, bring your friends, phone(s), and RSVP for the meeting here:  http://granitestatewinphone.eventbrite.com

Hope to see you there!

Tech in the 603, The Granite State Hacker

SharePoint Saturday NH

I’m psyched to be a part of the founding and building of SharePoint Saturday for New Hampshire. It’s a part of the Granite State SharePoint Users Group (follow twitter @NHSharePointUG ) or check us out on Linked-IN.

Stay tuned for more info…. lots of exciting stuff happening for the SharePoint community in NH.

Edit: May have jumped the gun on this a bit… the site may not be publicly accessible… yet. I’ll update this post when it’s made public.