Categories
How To...

DNS Flush…

So if you’re running into an issue where you need to flush DNS on your machine, there are a couple ways to do so… the two most common ways for me at least (long live the command line interface!) are to either pop open a run dialog in elevated permissions mode on a Windows box or open up a term shell on OSX.

For Windows, open an elevated permissions run dialog and then type:

ipconfig /flushdns

For Mac OSX, open a term shell and then type:

sudo killall -HUP mDNSResponder

Happy flushing and hope that your DNS records start resolving soon.

Categories
Documentation How To... Troubleshooting

Recycle Bin Misperceptions

I have to say that it boggles my mind on a regular basis when I start talking to end users during a session or when interviewing users in client engagements to find out that they don’t quite understand how the end user and site collection administrator recycle bins work. Most of the time I find that users have the perception that it’s a serial process where once they delete a file, they have thirty days until the file is then moved to a secondary recycle bin where a new timer kicks off – unfortunately this is wrong.

“By default, items in the Recycle Bin are deleted automatically after 30 days. Regardless of whether or not an item is sent to the users’ Recycle Bin or to the Site Collection Recycle Bin, items are deleted automatically after the number of days that the server administrator specified in Central Administration.”

As you can see, it’s plain and simple, 30 days is 30 days, no less no more.

Source: http://office.microsoft.com/en-us/sharepoint-foundation-help/manage-the-recycle-bin-of-a-site-HA010380088.aspx

Categories
Administration How To...

Recycle an Application Pool – #ITProTip

So you’ve deployed an updated solution to your SharePoint 2007 or 2010 farm and you need to recycle the application pool associated with the web application that the solution is deployed to but you don’t want to take down the entire SharePoint farm? No problem, just recycle the single application pool that’s associated with that web application using a quick little command from command shell.

For those running SharePoint 2007 on Windows Server 2003 / 2003 R2:

cscript c:windowssystem32iisapp.vbs /a "%SharePointApplicationPool%" /r

where %SharePointApplicationPool% is the application pool that needs to be recycled. Note that iisapp.vbs resides within %systemroot%system32

For those running SharePoint 2007 or SharePoint 2010 on Windows Server 2008 / 2008 R2:

appcmd recycle apppool /apppool.name:%SharePointApplicationPool%

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

where %SharePointApplicationPool% is the application pool that needs to be recycled.  Note that appcmd resides within %systemroot%system32inetsrv

The alternative for this of course is just to go in IIS Manager 6 or 7, select the application pool associated with the web application that requires recycling and recycle the pool manually through the UI.

References:

Categories
Adoption How To...

Productivity Hub for SharePoint 2010 – Update

Back in June 2010, Microsoft released what was known as the Productivity Hub for SharePoint 2010. It was a site collection that Microsoft provided that could be extended out for end users to visit to acquire knowledge on how to use SharePoint.  Great resource if you were short on training components and looking for assistance but weren’t able to find their IT Pro (who was probably hiding somewhere no doubt, fearing for their lives). Further for those that are looking to engage and foster adoption of the Information Worker’s in your business, the productivity hub is key to gaining their buy in and helping them to truly dive into the SharePoint platform to make it their tool set.

The best part of the hub in my opinion is the ability to customize it and add additional modules that meet your organization or business unit’s needs to ensure that your implementation is actually serving them from a business perspective rather than just humming away as another file share replacement.

Well, like most technology solutions, there are updates and enhancements.  On 17 January 2011, Microsoft released such an update for the Productivity Hub for SharePoint 2010. So, if you’re looking to just download and implement with the content packs – fear not, it’s simply and easy by just heading over to the Microsoft Download Center at:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4aaa9862-e420-4331-8bc3-469d7bae0ff1

However, if you’re feeling crafty and are looking to customize this product, it’s available on CodePlex from the team that created it (thanks RedTech!) at:

http://productivityhub.codeplex.com/

The key enhancement to the Productivity hub in this case is that of the customization documentation to provide guidance when crafting the Hub for your implementation’s UX.

Categories
How To... SharePoint Solutions

Visio Stencils Update for SharePoint / Search / Office

Just in case you didn’t hear, Microsoft has published a new set of Visio templates for SharePoint Server 2010, Project Server 2010, Search Server 2010 and other Office Products.

They’re available now on the Microsoft Download Center at:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=88e03d22-8f42-4c9d-94ef-d8e48322d677

Just drop them in your My Documents > My Shapes folder and they’ll show up in Visio in My Shapes within the Visio Application.

For the IT Pro Stencils, check out this article for more information:

http://www.sharepointdan.com/2010/11/01/visio-stencil-for-office-it-pros/

Categories
Administration How To...

No, don’t pull that cord out of the wall…

Are you ever working on a server and you wander away for a few minutes only to come back and find that you’ve been disconnected and your session terminated? Never something fun to work through, especially if you’re installing and configuring a software product.

In most enterprise settings this is something that you’d find in a global policy object enforcing a particular amount of time that you’re able to be Idle prior to being booted from the server. Also there’s another setting regarding the maximum connection timeout – basically how long until your session gets trashed because you decided after you’d been booted for being idle you weren’t going to log back in.

If you’re searching around for these settings, they can be found through your friendly neighborhood group policy object at:

Console RootLocal Computer PolicyComputer ConfigurationAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop SessionSession Time Limits

Specifically you’re looking to see what the settings for the following policies are:

  • Set time limit for disconnected sessions
  • Set time limit for active but idle Remote Desktop Services sessions
  • Set time limit for active Remote Desktop Services sessions
  • Terminate session when time limits are reached

While they may all seem friendly, upon closer examination you’re likely to find that one of these policies is your culprit (more than like the second and third in conjunction with the fourth).

However, oddly enough some folks still use security templates to tighten the policies on their servers.  In which case, there’s also a Registry edit required and a reboot.  Note you should always backup your registry before you make any changes – not for the squeamish of heart.

You’ll find this information along with other helpful information for allowing and disallowing things like the use of the Clipboard (fDisableClip) in the registry branch of:

ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services

Note that it’s still called Windows NT and also Terminal Services – I guess that some things never change 🙂

Specifically you’re looking for the following registry strings to modify:

  • MaxDisconnectionTime
  • MaxIdleTime

The decimal values that correspond to these are counted in milliseconds.  For instance, if the MaxDisconnectionTime is set to 300000, this corresponds to 5 minutes (60 seconds/minute x 1000 milliseconds/second x 5 minutes).  If you don’t want to be disconnected or have a max idle time, just set the value to 0 and you’ll be all set.

Happy Implementing!

And if you’re wondering where the title for this blog post came from, check out the Fireside Theater’s “We’re All Bozos On This Bus” radio show. Has something similar where the robot gets unplugged 🙂

Categories
How To...

Outlook 2007 Search Disabled by Google Sync App for Outlook Plugin

So it would seem that when installing the “Google Apps Sync for Microsoft Outlook” plugin there’s a minor issue with the Outlook 2007 client’s Instant Search Capability.  After installing the plugin the drop down for Instant Search within the Outlook client is disabled.  I suppose this is to be expected since the Google Search engine has a better grasp of the mail stored in the depths of my Google Apps mail account and its 25 GB of space.  However, when changing profiles back to my Exchange profile, I find that the Instant Search is still disabled.

Epic Fail.

While I understand Google’s intent is to be able to assist users in replacing their Exchange profile with their Google Apps e-mail profile with the sync plugin, there are those of us that will continue to use an Exchange profile and the Google Apps capability is a nice to have to be able to use the Outlook client interface.

At first, I thought perhaps this was an Outlook client issue that had been affected by SP2 or some other cumulative update that was applied, however after doing a little Googling, it seemed that no one else had reported a similar experience.  I also realized that this behaviour only became apparent after installing the Google – Outlook plugin.  So I uninstalled the plugin and wondered, “Will Instant Search work once more?”  Negative, Instant Search was still disabled.

Looking within the Search Interface, Windows Desktop Search was telling me that Indexing Outlook had been disabled by the System Administrator.  Doing a bit of digging around, it became apparent that I hadn’t disabled WDS, and the mail admins hadn’t done so either, so it was back to square one of looking through the registry to see what had been tweaked.  Where else to begin but Microsoft’s documentation pertaining to Group Policy settings and Windows Desktop Search which can be found at:

http://technet.microsoft.com/en-us/library/cc732491(WS.10).aspx

A registry key had been created at:

ComputerHKLMSoftwarePoliciesMicrosoftWindowsWindows Search

with a registry key named “PreventIndexingOutlook” set to a value of “1”, telling WDS not to search Outlook under any means.  Simply changing this value to “0” and restarting the Outlook client and WDS and Instant Search were back up and running properly across all profiles.

Uninstalling and reinstalling the Google Sync plugin quickly reverted the registry key back to “1”, preventing WDS from indexing Outlook.  Even upon uninstalling the plugin, the registry key remained.  This seems like a bit of configuration management that should be corrected so as to ensure that users are not limited by Google’s plugin should they decide not to use it without hindering their search capabilities.

Bottom line, this is a registry change that is unexpected that is caused by the Google Sync Plugin.  Am I happy to see Google integration with the Outlook client, sure, but not at the cost of Search.

Categories
Administration Configuration How To... Infrastructure Planning

SharePoint on Windows Server 2008 – Building the framework

This weekend I undertook the fun of building out a medium sized farm on my personal development hardware with my trusty MSDN license that I bought for my own personal use to begin testing a few pieces of code I’ve been working on as well as to have a play ground to work through occasional architectures, web part testing and diagnosing issues.  Oh, and the fact that I’ve not had the opportunity to work with Windows Server 2008 all that much, so I figured why not go ahead and build out an environment to get my hands dirty and learn the ins and outs?

So the first part to the madness that should be understood is that IIS 7 (standard for Windows Server 2008) is a lot more granular in nature than IIS 6 which is the standard web publishing application on Windows Server 2003.  From even when you’re starting your installation of the Web Server role to installing the individual components, it’s far more granular and modular, and probably confusing to some administrators that are used to just clicking “IIS” from Add/Remove Program in Server 2003.

So where to begin, well, once you’ve got your Windows Server 2008 box up, operational, patched, service packed, sysprepped (if you’re using Virtuals, you end up requiring that you have different SIDs and computer names right?), IP’d and joined to a domain, the fun begins in installing just the framework prior to SharePoint.

Step 1 – Open up the Server Manager, this typically appears when you power on the server, but if not, you should be able to find it fairly easily from the start menu.  Select and expand the roles label from the tree in the left pane, then select “Add Roles” from the right pane.

1 - Server Manager - Roles

Step 2 –   If this is your first time installing a role, this would probably be helpful to read “Before You Begin”.  Definitely read through it at least once, after that, feel free to click the check box to skip it in all future instances.  Click on Next.

2 - Before You Begin

Step 3 – Select the Web Server role from the list of server roles. Note that you will be prompted to select additional features for the Web Server role to operate properly.  Select “Add Required Features” else turn and back away, and perhaps reconsider what you’re looking to do.

3 - Add features required for Web Server

Step 4 – Once you’ve accepted the need for additional “required” features to be installed, you should see something like the below stating that you have selected the “Web Server (IIS)”.  Click on Next.

4 - Select Server Roles - Web Server

Step 5 – The role installation wizard presents an overview of the Web Server (IIS) role which again is fairly useful for an administrator to read through the first time.  Click Next.

5 - Introduction to Web Server IIS

Step 6 – Select the individual server roles that you require for your SharePoint installation.  I’ve found that the basic role services that are installed with IIS 7 are barebones, which from a security posture is fairly helpful so as to not have to remove several roles, but it will make you stop and think through what roles you do indeed to make the system operational.

6 - Select Role Services - Default IIS

Step 7 – The first thing to select of course to make your platform usable by SharePoint is the ASP.NET development platform.  Once you’ve selected this, you will be prompted to add additional roles that are required for ASP.NET.  Select the “Add Required Role Services” else, much like before, be prepared to have a difficult time installing SharePoint services on your server.

7 - Add role services required for ASP.NET

Step 8 – Select the additional roles that will assist in your SharePoint implementation, in my case this also includes “Logging Tools” to diagnose issues that may come up.

8 - Select the role services to install for Web Server - Logging Tools

9 – Select the appropriate authentication providers that you wish to be able to utilize.  For me, I’m going with a fairly vanilla SharePoint installation and configuration, so I’ll select “Windows Authentication”.

9 - Select the role services to install for Web Server - Windows Authentication

10 – Additionally, so as to not bother with going back and installing later, I’ve selected the “IIS Management Scripts and Tools”.

10 - Select the role services to install for Web Server - IIS Management Scripts and Tools

11 – Lastly, the “Management Service” to be able to better manage the IIS 7 instance on the server from the server or remotely.

11 - Select the role services to install for Web Server - Management Service

12 – After selecting the roles that are appropriate to support your SharePoint services installation, click on Next, which then will bring you to a page that lists all of the components that you are looking to install.  Do a quick read through to ensure that you’ve got the components, roles and features that you require and click on Install.

12 - Confirm Installation Selections 

13 – Observe the installation process as can be seen here:

13 - Install Progress - Part I

14 – After a few minutes, the installation progress bar will complete and an installation results page similar to this will be presented.  Click on Close after you’ve observed that your installation results were successful.

15 - Installation Results

15 – After you’ve completed your IIS 7 installation, you’ll see that there are 24 installed role services related to IIS running and operational on the server through the Service Manager roles summary.

16 - Roles Summary Post Installation

Next on Tap: