Adsense

Thursday, August 27, 2009

Minimum configuration to get ride of 'Server farm configuration not complete' message in SharePoint 2007

Setup SharePoint for the 1st time today and was annoyed to see the following message staring at me with no clear idea of what I was expected to do to get rid of it.

! Server farm configuration not complete !

So. My obvious question was what needs to be configured to get ride of this message. It wasn’t until I had completed the following from Central Administration that the message disappeared.

  1. Clicked  on Shared Services Administration and added configured my Shared Services Providers
    1. This required me to create an associated Web Application (if your web application list is empty after creating a new one, see This Post about a potential fix.)
  2. Configuring and starting the services below from the Central Administration –> Operations -> Topology and Services -> Services on Server screen
    1. Office SharePoint Server Search
    2. Windows SharePoint Services Help Search
  3. Setup Outgoing Email Settings from the Central Administration –> Operations -> Topology and Services –> Outgoing e-mail settings

After configuring the above items, the message went away.

Web Application list is empty in SharePoint 2007 – New Shared Services Provider and Application Pool identity

After creating a web application in SharePoint and then trying to configure a new Shared Service Provider (SSP), I was dismayed to find my web application list was empty. Because of this, there was no way to select my my web application and I was unable to create a new SSP.

After doing some digging I found out that the list will not show web applications that have a built-in account (such as Network Service) associated with the application pool assigned to the web application. After configuring the application pool associated with my web application to use my domain user account instead, the Web Application list on the Shared Services Provider screen was correctly showing my web applications. I was then able to successfully create my new SSP.

Tuesday, August 25, 2009

'HTTP Error 503. The service is unavailable' message in IIS7 – Application Pools

One of my IIS7 virtual directories wigged out today and started to give me the following error screen.
Error Screen
Service Unavailable – HTTP Error 503. The service is unavailable.
I found a post from Rich Strahl that pointed me in the right direction. When I brought up my Internet Information Services Manager and clicked on Application Pools, my DefaultAppPool was stopped.
app pools
Unfortunately, my application pools were already set to auto-start and restarting the application pool didn’t solve my problem. As soon as I tried to bring up my website, the application pool would immediately stop again and give me the same error screen. After spending the next 10 minutes or so restarting Windows 7 and starting and re-staring my application pools to no avail, I decided to re-install my IIS7 and Windows Process Activation Service features.
After re-installing these windows features, everything was back in order. Unfortunately, I did have to add ALL of my virtual directories again, but I expected as much. You can re-install these features from the Programs and Features screen by clicking on Turn Windows features on or off.
Programs and Features
On the Windows Features screen, you can uninstall any feature by removing the check next to it and then clicking OK. You can then return to this screen after restarting windows to reinstall them.
Windows Features Windows Features 2
Hope this helps someone. If anyone knows how to correct this without reinstalling the features, please comment!

Wednesday, August 12, 2009

Windows 7 New Taskbar Review

I’m starting to like the Windows 7 taskbar more and more. The application grouping takes a bit of getting used to, but I love how nice and clean it is. Rather than just showing you your open windows, the Windows 7 taskbar serves as more of an application launcher. I’ll share a few of my favorite features of the new and improved Windows 7 taskbar below!

Taskbar Overview

taskbar

The layout is nice and clean. No more text labels to clutter up the bar. You can pin applications to the task bar for easy launching (good bye quick launch bar!) You can easily tell which application I have open and which are just pinned to the task bar but not open (In the image above Chrome is open, while Firefox and Internet Explorer are pinned but not open.) You can see that I have multiple Live Messenger windows open just by looking at the icon. You can also tell that I have an new message/alert by the yellow highlight on the icon itself.

Taskbar Icons

hover

If you hover oven the Live Messenger icon with the mouse you get a popup window that will show all of my conversation windows along with the messenger itself. From this popup you can select a window by clicking on it, or close it by clicking on the red X. I was very delighted to find that clicking the middle mouse button on one of the conversation windows closed it, just like I had hoped and expected it to.

*PSA* If you don’t use you middle mouse button for more than scrolling, you really should. You can middle-click web links to open them a new tab in your browser or middle-click a tab to close it. I’m happy to see that you can now middle-click in the new Windows 7 Taskbar to close some things. */PSA*

Jump Lists

swipe up

The above window (or Jump List as Microsoft calls them) is displayed when you right click an application’s icon on the taskbar. As you can see, this popup is customized for the application (Live Messenger) and gives you quick access to its features without actually activating the application. This window gives you access to frequently used options or other features that might be specifically programmed for the specific application. Very handy! (Note: You can also left click and move the mouse up quickly on the application’s icon to display this same window. Feature?)

Launching Apps

launch

One thing that wasn’t immediately obvious to me was how to launch another instance of an application when I already had one open. In this screenshot I already have an instance of Visual Studio 2008 open. To open another, you right click the application’s icon and then click on the application button from the popup. You can also launch new instances of an open app by Shift + Clicking the icon (Thank BlackTigerX.)

Hold Shift to Open Files With Taskbar Apps

open with

If you have a file that you would like to “Open with” one of your open applications, you can drag the file over the taskbar icon for the application while holding [Shift Key] down. You will notice that the popup label changes from “Pint to…” to “Open with…”. When you release your mouse button, the file will be opened with the application rather than pinning it to the taskbar.

Pinned Folders

Explorer

Another initial annoyance was the way pinned folders work with the task bar. In Vista, I had a couple of work directories that I opened many times daily pinned to my quick launch bar. In windows 7 you can only have a single system folder pinned to your taskbar. Any additional folders that try to drag to the taskbar is then pinned to the single windows explorer/folder icon. By default, clicking this icon bring up your Libraries window (another handy Windows 7 feature that we wont get into yet.)

folders

The additional folders that you pin to the taskbar are accessible by right clicking on the explorer/folder icon. Just like the paulf folder above. This screen also gives you quick access to a list of your frequently accessed directories.

notification

Other Taskbar Improvements

The notification area of the taskbar is more customizable and allows you to decide which notifications you are interested in and which icons you would like to see. I like how I don’t have to look at 300 tiny icons for every app that wants to notify me about something (most of them doing nothing at all.)

network

The network icon on the taskbar has been greatly improved as well. Just by clicking on the icon I have direct access to information about the network I’m currently connected to, connect/disconnect to my VPN connection, and all wireless networks within range. There’s also a link to the Network and Sharing Center.

windows

The button that I’ve outlined in red in the screenshot above will show/hide your desktop. Basically it opens or closes all of your currently opened windows. There is also another option that will allow you to “Peek” at your desktop which makes your windows transparent instead of hiding them completely. Nothing that the [Windows Key] + D shortcut didn't already do, but a feature none-the-less.

Tip

You can use the [Windows Key] + 1-9 as shortcuts to launch your taskbar applications. My 1st icon is my Windows Explorer, so I can easily launch it by pressing [Windows Key] + 1. Chrome is my 2nd taskbar app, so it’s [Windows Key] + 2, etc.

After spending the initial time getting used to the new taskbar, I think most people will agree that all of the new features are worth the new learning curve. I haven’t found any deal-breakers that might make me want to revert to the old windows taskbar! Hope someone find this useful.

Drag and Drop files in Windows 7 with User Account Control (UAC) enabled causes issues.

I took the plunge and updated to Windows 7 x64 on my development machine. It has been a fairly pleasant experience for the most part. No major problems with installation, setup, drivers, or getting my development environment configured correctly so that I can get back to working!

I’ve been enjoying Windows 7 so much that I decided to leave the User Account Control (UAC) active. The implementation seems to be MUCH less annoying in Windows 7 than it was in Windows Vista. You even have access to options to configure just how annoying (err, I mean secure) you want it to be.

Unfortunately, I found a deal-breaker that finally led me to disable the UAC in Windows 7. The problem started out when I was unable to drag an aspx file from my Windows Explorer window into my Visual Studio window like I’ve always done. I ended up figuring out the problem. I had the “Run as Administrator” option set for my instance of Visual Studio 2008 while my Windows Explorer was running with default permissions for my User Account. >_<

UAC is trying to protect me from processes running with lesser privileges from sending messages to processes running with Administrator privileges. Probably a valid concern, but considering that I generally NEED to run my Visual Studio as an Administrator and I really like the ability to drag an drop files into it… UAC has gone the way of the Dodo once more (at least on my machine.) I also ran into this issue when trying to drag files into my SQL Server 2008 Management Studio. This one isn’t as critical since it really doesn’t need to be run as Administrator, but annoying just the same.

Hope this might help someone else figure out why Dragging and Dropping between processes no longer works for them in some instances!

~ Paul