Tuesday, October 20, 2009

Random tweets on SharePoint 2010

Some thinks I just picked up from Twitter:

  • SharePoint Online 2010 will allow Anonymous Access, so can be used for Internet solutions! Thats great! #spc09
  • Anyone planning a #SharePoint deployment for DM and RM should seriously consider going to Server 2008 R2 http://tinyurl.com/yghje9c #SPC09
  • SPC09 One key takeaway is that the "2,000" item limit is simply gone. We shall never speak of it again.
  • Resources & Links slide from Word Automation OpenXML session. #SPC09 SPC349 http://twitpic.com/m9kye
  • They just clarified. SharePoint Online Dedicated will be april 2010, Shared will be 2nd half of 2010
  • New content query web part finally allows choosing columns you want 2 display. (via @ToniFrankola) #spc09 --> woo hoo!
  • Word Automation services has built in conversion outputs including PDF. I wonder if Adobe had to license this
  • #SPC09 Speaker says (more or less), "Powershell is the future of SharePoint administration."
  • VERY cool 'employee morale' example data visualization #inetium #spc09 http://twitpic.com/m92kz
  • Viso Services: sales org chart/status report. COOL! #inetium #spc09 http://twitpic.com/m927n
  • @andrewconnell: If u're into ECM and u missed Ryan's "ECM for the Masses" session @SPConf, make sure u watch recording. GREAT overview
  • woutervugt First SharePoint 2010 developer session outside #sp09 is starting in one hour #sdc2009
  • Creating Custom SharePoint 2010 Cmdlets using Visua.. http://bit.ly/R9tyY
  • SharePoint 2010: STSADM and PowerShell: Tags: share.. http://bit.ly/3UtKjk
  • Part 1 - Improvements to the Core SharePoint Platform & How the Benefit Sh.. http://bit.ly/2A599Z
  • Part 2 – What’s Improved with SharePoint Server 2010 Web Content Managemen.. http://bit.ly/19MLri
Technorati Tags: ,,

BIWUG - Interview user groups TechDays Belux 2009

Something which got stuck in my mailbox – BIWUG – Interview user groups TechDays Belux 2009.

Monday, October 05, 2009

Moving PageFile.Sys to other drive in Windows Server 2008

Open command prompt and use the following commands

  • wmic computersystem where name=”MyCoreServer” set AutomaticManagedPagefile=False
  • wmic pagefileset where name=”d:\\pagefile.sys” set InitialSize=2500,MaximumSize=10240
  • The second command creates a new pagefile.sys on d: drive with an initial size of 2,5 GB and a maximumsize of 10,24 GB

    Afterwards – reboot.

    Source: http://blog.mpecsinc.ca/2008/04/server-core-move-that-swappage-file-wmi.html

    [MVP] Congratulations ! You have received the Microsoft MVP Award

    5 in a row… yes my title as MVP Windows SharePoint Services is renewed again. Thanks to everyone who in one way or another contributed to my (re)nomination.

    Things you can expect in the coming months:

    • Lots of posts about SharePoint 2010 once the NDA gets lifted
    • A number of BIWUG sessions about SharePoint 2010
    • Information about integration scenario’s – the next coming months I will focus on integrating Microsoft CRM and SharePoint
    • Some more Codeplex goodies for SharePoint – both 2007 and 2010.

    Thanks again for all the support.

    Saturday, October 03, 2009

    BIWUG is back – SharePoint workflow and OCS.

    Update: description added for the OCS session

    BIWUG (Belux Information Worker User Group) is back with another series of sessions about information worker productivity. Our next session is on the 15th of october.

    • 18:00 – Welcome
    • 18:30-18:45: Introduction [Joris Poelmans]
    • 18:45-19:45: Demo Session - Enhanced productivity with Microsoft Office Communication Server (OCS) and  Polycom CX200/CX700[Orbit One] - See for yourself how Office Communicator 2007 R2 can replace your office phone system, and help you collaborate more effectively with your colleagues and customers. We will demo telephony, Instant Messaging, presence, conferencing, desktop sharing, call forwarding, videoconference, team-call groups, voicemail, Outlook integration, iPhone client, …
      You will have the opportunity to see different phones and devices optimized for OCS: Polycom CX series, Plantronics Savi Go.   
    • 19:45-20:00: Break
    • 20:00-21:00: Developing flexible workflows in SharePoint Server 2007 [Peter Plessers] - Besides adding custom workflows through SharePoint Designer, Microsoft Office SharePoint Server 2007 offers the possibility to host custom-developed workflows based on Windows Workflow Foundation to support a company’s business processes. It might however be a challenge to develop these workflows in such a way that they can be easily adapted to the evolving business processes it supports. This session presents a number of techniques to develop workflows that are easy to adapt. We start off with a simple workflow example and let it evolve into a flexible workflow that can even be changed at runtime.

    Please register on the BIWUG site. I would also like to thanks Combell for providing the location - Combell - Skaldenstraat 121 - 9042 Gent.

    You should also bookmark these dates in your calendar – the 19th of november and the 17th of december. You can expect some SharePoint 2010 sessions on the agenda by then …

    Wednesday, September 23, 2009

    Recovering files from blue screened Windows XP

    Today my Windows XP showed me a very unwelcome BSOD… booting in safe mode, last known configuration, nothing helped. Unfortunately I still had some files on the machine which I definitely needed to recover – Hirens Boot CD to the rescue – amazing tool… definitely a lifesaver.

    Wednesday, September 09, 2009

    Dynamics CRM and SharePoint – birds of a feather?

    Microsoft Dynamics CRM is increasingly becoming an application platform for decidedly non-marketing uses. In this way it is moving away from it’s core platform functionality – Customer Relationship Management. Microsoft likes to talk about xRM applications (check out Developing ISV applications using Microsoft Dynamics CRM ) which are basically line of business (LOB) applications that use the Dynamics CRM database, extend the basic CRM web interface and add in extra logic using CRM workflows.

    While Dynamics CRM and Microsoft SharePoint are definitely  complimentary platforms, this evolution allows you to probably build solutions on top of both SharePoint and MS CRM. Think about the following scenario’s:

    • Project management framework
    • Service desk and call follow up
    • Sales dashboards
    • Bid management – RFP process automation
    • Recruitment process automation
    • Citizen Service Platform (e-Government)

    You can probably start from both SharePoint and CRM as a foundation and from there on build in the required functionality for your solution. Interesting choices … but who is making this choice?

    From a development perspective you will also see some similarities.

      Dynamics CRM SharePoint
    Encapsulate data CRM entities  Content Types
    Adding business logic Plug in framework Event handlers
    Workflow development Builds upon Workflow Foundation Builds upon Workflow Foundation
    User interface extensions Embedded IFrames within CRM Forms Web Parts and SharePoint application pages

    Related links:

    Tags van Technorati: ,,,

    SharePoint and Http 400 error – Bad Request – header field too long

    After enabling Kerberos on our SharePoint Server 2007 acceptance environment I suddenly could not access the environment anymore. The only thing I got was an error stating “Bad Request – header field too long”. Since changing the authentication method to Kerberos was the only change it had to be related with this. Apparently the solution was making changes both on the client  and the server level:

    Related links:

    64bit iFilters for SharePoint Server 2007

    There are currently 2 PDF iFilters available for 64-bit SharePoint Server setups:

    So basically you have a choice free but slower …

    PS Foxit PDF IFilter can be used for free on desktop environment. However, users need to purchase licenses when they use Foxit PDF IFilter on server environments -http://www.foxitsoftware.com/pdf/ifilter/priceinfo.html

    Tags van Technorati: ,,,

    Monday, September 07, 2009

    [LOL] SharePoint is nice nice baby BPC09 Remix

    Tags van Technorati: ,

    Usage analysis reports and SharePoint Server features

    Did you ever wonder why on some SharePoint sites you will see these rather limited usage statistics page (depicted below) when you click on Site Usage Reports reports in the Site Settings page


    While on other SharePoint sites you will get quite a lot more information in graphical format?


    If you have SharePoint Server installed you will be able to see the extensive statistics when you activate Office SharePoint Server Standard Site features or Office SharePoint Server Enterprise Site features. The feature responsible for updating the link is a CustomAction feature called AnalyticsLinks  (56DD7FE7-A155-4283-B5E6-6147560601EE).

    Wednesday, September 02, 2009

    SharePoint Governance and best practices, some thoughts

    I just finished a number of SharePoint governance workshops and so I wanted to share a number of thoughts on the subject.

    1. The terms SharePoint governance and best practices are hugely overhyped.

    I think this quote from Governance Man – has fallen into my trap ;-) sums it up quite nicely:

    I have had a couple of experiences now, where I have been called in by clients who have the typical SharePoint chaos. Things have gotten out of hand and as a result, key stakeholders started to lose faith, and the project team really felt the pressure from the powers to be. There were strong undercurrents of desperation to get things sorted, like… yesterday. Under these circumstances, they asked for help on “governance”. They needed “governance”, they must have “governance”  and they spoke about governance as if it was something that a pizza driver can deliver to their door (and if it was not there in 30 minutes, it was free).

    2. SharePoint is not a silver bullet and if you use it wrongly no governance plan can save you.

    Project managers which are assigned the task of managing a project implementation which uses SharePoint will typically ask questions like “What do you mean SharePoint is not a BPM platform?”, or “How do I integrate SAP and SharePoint?” or “How do I do contract management in SharePoint?”. As you see the questions can be quite diverse. And the problem is, that the are answers will be quite diverse as well. There are a lot of design decisions you need to make  - all with certain tradeoffs. You can start with out-of-the-box, add a layer of customization or even proceed to some serious SharePoint development. And then there is a huge amount of third party tools out there.

    SharePoint is not targetted at a specific vertical or horizontal and if your company’s strategy is to always choose for best of breed and is able to support an enormous variety of platforms and applications – SharePoint is probably not a good solution. If your business really needs a 99% percent match for all of their requirements and can’t live with trade-offs – there is no other choice then greenfield development.

    SharePoint is all about reuse and platform capabilities. Aim at leveraging the out-of-the-box functionality and when there is not match with the requirements try talking about the processes which created the requirement in the first place.

    3. When talking about SharePoint governance and best practices make sure that your audience has a basic (to intermediate) understanding of SharePoint fundamentals

    There is a lot of best practices regarding SharePoint infrastructure setup on TechNet and MSDN. So you can always point to those as a reference. It is however necessary that people understand concepts such as WFE’s, SharePoint web applications, site collections, etc … It is not that because you know SQL Server inside out that you also understand SharePoint inside out (allthough a thorough understanding of SQL is definitely a good thing). You really need adequate resources within your company which are sufficiently trained to support a SharePoint implementation.

    4. Yes, … you will probably need some third party tools

    People are always amazed by the fact that they will actually need some third party tools to make SharePoint meet the requirements of their users. Also when you look at SharePoint from a manageability and operations standpoint you will notice that there are some gaps that are filled in with third party tools (or other Microsoft products) – some questions you should probably ask yourself:

    • Did you think about antivirus when doing a SharePoint implementation?
    • What about backup and restore?
    • Did you take a look at the standard usage statistics. Are they sufficient for your needs? Remember that you need a feedback cycle to measure the success of your deployment so you will probably need some more elaborate statistics then the ones which are provided by SharePoint.
    • What about monitoring?

    5. Keep the organizational culture in mind when thinking about governance

    One of the best postings I read about this  is Make SharePoint governance plans plain and simple which talks about companies which are considered icons and examples within their industry (or even accross industries). In his posting he translated some internal guidelines from PCL Construction – called Pool’s rules into relevant SharePoint specific statements – here are my 2 favourites:

    • Give encouragement and show appreciation 
      …  Providing encouragement and showing appreciation is especially important for fledgling SharePoint environments; participation and adoption are paramount to success.  It’s also critical for ongoing success; consider your own population and develop a program that continuously provides encouragement and support to all communities involved.
      Make sure that you actually encourage Knowledge Sharing – for some thoughts on this topic – see Knowledge is power! So why share knowledge …
    • If you don’t have the funding, time, human resources or the budget to effectively create, deploy and maintain a SharePoint solution, don’t start one.

    And on that bombshell :-) …

    Related postings:

    Thursday, August 27, 2009

    4th release of the SharePoint administration kit

    A new release of the SharePoint administration kit is now available – some very cool new stuff in there:

    • Update to the SharePoint diagnostics tool – check out SharePoint Diagnostics Tool (SPDiag) details on Technet.
    • A number of Security Reporting tools added to report on broken security inheritance, check effective permissions and permission set inheritance
    • Updates to stsadm to enhance quota management
    • Security configuration wizard manifests for SharePoint Server 2007 and Windows SharePoint Services 3.0

    Downloads:

    SharePoint as a development platform - 7 reasons why I like it ...

    I already talked about why some people don't like SharePoint. Now let's talk about why I like it:

    1. 1. SharePoint is a great site templating engine - you can built a certain template once and next kick it off to your end users so that they can built thousands of sites/workspaces with it. Remember to take a look at SharePoint – it’s all about making the right design choices – when to use custom site definitions before you start clicking around creating templates though.
    2. 2. It's all about Features - Once you grasp the concept of SharePoint features you can go ahead and built whatever you want on SharePoint. SharePoint is both a product and an application platform. The modularity of these features and the possibility to activate them later on in a project make SharePoint an interesting platform for agile development. Check out Features in MOSS 2007 and WSS 3.0 for additional details.
    3. 3. SharePoint solutions to make your admin your friend – From time to time, you will see some friciton between developers and operations people. Developing something is not that hard but then you need to get it deployed. In custom development this is one of the tasks which is quite often hugely underestimated. For SharePoint developers it is kind of mandatory to think about how to deploy stuff since there are a lot of files going in a lot of different places on your server. Once you get the hang of building SharePoint solution file for your customizations, everything will get deployed quite nicely on your whole farm.  Take a look at the ten commandments for SharePoint development – SharePoint solution deployment is mentionned twice and not in vain.
    4. 4. InfoPath 2007 and Forms Services are great - it is amazing how easy it is to build electronic forms using InfoPath 2007 and then distribute them to your end users using browser-enabled forms. Quick warning though: deployment may be tricky and some manual steps will be required from your admin. Let’s hope that the story gets better in SharePoint 2010.
    5. 5. Strong integration with Office 2003/2007 - the things which you get for free in SharePoint are amazing. Integrated editing of Office documents, easy exports of SharePoint lists to Excel, taking documents offline in Outlook (2007 version only ...), two way sync of contacts and tasks in Outlook (again 2007 version only …). Remember Office is one of the most used applications worldwide so think about the integration story.
    6. 6. Easy branding and custom layouting  - yes, there are some obstacles with regards to SharePoint branding –the master pages built in are not a good starting point and the CSS files might seem a bit bloated. But still – changing the look&feel is still quite easy.  Learn to Know your master pages inside out.
    7. 7. I don’t have to write code for everything – when building something in SharePoint you don’t need write code for everything. This might seem shocking to some devs … take a look at Demo: a six-part series on getting the most out of SharePoint Designer. …  I expect quite a lot of improvement in this area with SharePoint Designer 2010.

    Tuesday, August 25, 2009

    Removing hiberfil.sys on Windows Server 2008

    One of the things I found out when using Spacesniffer was that there existed a big hidden file on my Windows Server 2008 system drive called hiberfil.sys. Apparently when you hibernate your computer, Windows saves the contents of the system's memory to the hiberfil.sys file. As a result, the size of the file is as big as the amount of physical memory present. Since I allocated 6 GB RAM to my virtual Windows Server 2008 – the file was a whopping 6GB big ….

    Now to remove it – open command prompt (remember to use the run as administrator option) and type powercfg.exe /h off.

    For some background info check out KB920730 – How to disable and re-enable hibernation on a computer that is running Windows Vista.

    Analyzing disk space with Spacesniffer

    Virtual disks seem to have a tendency to fill up faster then expected sometimes. So today I found myself without disk space on my system disk of one of my virtual machines. Since I was not really sure what was occupying so much space I searched the web for some analysis tool and I downloaded Spacesniffer – this is definitely the coolest little utility I have seen for quite a while…and it works like a charm even on Windows Server 2008. Completely free…

    Monday, August 24, 2009

    Changes in Workflow Foundation 4.0

    If you plan to start writing workflows using Workflow Foundation 3.5 (or 3.0 for that matter) definitely take a look at the following links. There are quite a few architectural changes in Workflow Foundation 4.0 so beware:

    3 interesting facts about SharePoint user profiles

    1. If you need to import user profiles from Active Directory – read this Support KB -How to import user profile information of enabled user accounts from Active Directory to SharePoint Portal Server 2003 or Office SharePoint Server 2007To import user profile information of only user accounts that are enabled, use the (&(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2))) LDAP search filter.

    2. Users which are disabled will be added to the “Profiles missing from import” view after the import has run again. Here you can manually delete them, you can also wait for three full imports – see http://www.gilham.org/Blog/Lists/Posts/Post.aspx?ID=488 for more details.

    3. There is an interesting tool which allows you to populate your SharePoint Server user profile database using basic XML files as source on Codeplex  MOSS 2007 utility for import/export of user profiles. Also check out the codesample about how you can automatically create my sites as well as the information about using powershell to set up SharePoint user profiles

    Tuesday, August 18, 2009

    Troubleshooting WCF on Windows Server 2008

    Recently I had to check some webparts which are using WCF services and which were deployed on Windows Server 2008. The only thing to check was this nice cryptic error message:

    TCP error code 10061: No connection could be made because the target machine actively refused it 10.16.1.25:32845.

    I finally got this working … but still the troubleshooting steps might be interesting:

    • First thing to notice – the WCF service installed under port 32845 and when I looked at the bindings in IIS it was using net.tcp.
    • Check if the necessary Windows Server 2008 features are installed using the Server Manager:
      • WCF activation
        • HTTP activation
        • Non-http activation
    • Next check – the IIS 7.0 website hosting the WCF services – if you look at the UI – you will notice this strange “?” icon on top of the site. Unfortunately this does not mean that there is something wrong with the site hosting– in this case it just points to the fact that you have multiple bindings for different protocols.






      If you look at the status screen (Click on sites) you will probably see “Unknown” for the net.tcp protocol. This is not a problem – just check that the web site is started.

    • Right click the website which is hosting the WCF services and select Manage website> Advanced settings and check if tcp is an enabled protocol.




      For some info about how to do this in Vista check out see How to: Install and Configure WCF Activation Components - On Windows Server 2008 you can everything through the UI – so you don’t need the command line scripts – as outlined before
    • Take a look at  Checklist: Use TCP Port Sharing to Allow Multiple WCF Applications to Use the Same TCP Port
    • Check the firewall settings on Windows Server 2008 – Go to Server Manager > Configuration, here you will see Windows Firewall with advanced properties. Make sure that you have the correct and inbound rules… (or disable them just to troubleshoot)
    • Make sure that the Net.TCP listener adapter and Net.TCP Port Sharing Services are running (Server Manager > Server Roles > Application Manager)



      As a matter of fact, it was this last setting in combination with the firewall settings which caused my WCF services to fail

    Related reading: