Wednesday, October 03, 2007

Sharepoint authentication prompt in Vista RTM

If you try to open a document from a document library from MOSS or Windows Sharepoint Services, you get prompted for authentication even you've setup all your kerberos authentications and correct zones for IE. And you're pulling hair out of your head. It turns out that this is caused by issue in Vista and the WebDav component.

When you open a a document in Office 2007 stored in Sharepoint, the office programs use the OS WebDav component to communicate to the Sharepoint server. However to successfully pass your current Windows authentication through to the server, it is very sensitive to what proxy and zone settings you have setup in IE for the user. The best way to to mandate these IE settings via group policy or your favourite management tool for your users.

Until a SP1 of Vista is available (If it is fixed), your workaround is to specify a proxy settings in IE and select "bypass proxy server for local addresses".

If you use IE and choose to configure your client using automatic configuration script, instead of checking the "Automatically detect settings", you may need to apply this hotfix

Updated: 3/1/2008, Well with vista SP1 RC, it is no longer prompting me.

Thursday, September 27, 2007

Limitation on TFS 2008 and shared WSS farm

A new feature in TFS 2008 (Orca) is the ability to easily point TFS to use an existing Sharepoint farm. For example, if you've got an existing sharepoint deployment for your project team, you can configure TFS 2008 to use that same farm instead of setting up and maintaining another farm just for TFS. Check out this blog post by Sudhir Hasbe

Its all good except when I tried it with TFS 2008 Beta 2, you seem to have some restrictions in your selection of path. It only works correctly when your path is a single level deep. Ie, http://wssserver/TFSSites, if you try to point it to http://wssserver/development/TFSSites, some functionalities works, but a lot of things don't.

Sent a feedback to MS and apparently is by design. So from my tests, it seems that you can have WSS on a corporate farm, but as long as that path is onlye 1 level deep.

Monday, July 23, 2007

MSDE Backup on x64 Windows 2003 Server

While testings backup on a x64 Win2003 Server today, I keep getting strange errors from NTBackup and EventLog.

Event Type: Error
Event Source: VSS
Event Category: None
Event ID: 6013
Date: 23/07/2007
Time: 4:06:59 PM
User: N/A
Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005.
SQLSTATE: 08001,
Native Error: 17
Error state: 1,
Severity: 16
Source: Microsoft OLE DB Provider for SQL ServerError message: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

Well as it turns out the application I was testing had a dependency on MSDE and I just had to install the patch to MSDE for x64 machines only.

Friday, March 30, 2007

Apple bootcamp 1.2 running vista

Apple recently released 1.2 beta of its bootcamp software, one of the key new feature is support for Vista. So I couldn't resist and after shuffling some files to free some space, I installed Vista on my Macbook Pro C2D. Installation was very simple, basically install Vista as per normal, then install the Mac drivers by inserting a Mac drivers CD that you create using the bootcamp assistant.

Vista reported I have a 4.7 Windows Experience Index. So far the laptop is working ok under Vista, some features such as automatic screen brightness and keyboard illumination doesn't work. One complaint is that when booted into Vista, the hardware makes a high pitch noise.

Thursday, March 15, 2007

Omea Pro Aggregator

I've spent a little bit of time looking for a RSS Aggregator and came across Omea Pro, I've settled with it for the past week and so far I like it. Its simple to use and aggregate not only feeds, but NNTP, web and mail. And the searching feature is pretty nice too.

WSS 2.0 to 3.0 In place upgrade SPConfigurationDatabaseSequence2 failed

Had worked on a few in place upgrades of WSS 2.0 sites to WSS 3.0. Haven't quite figure under what conditions this occur under but during some upgrades the wizard fail and a message like this is logged.

An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information:

Action of Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2 failed.Microsoft.SharePoint.Upgrade.SPUpgradeException:

Action of Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2 failed. --->

The id 0a54b6fc-79ad-4412-b51d-3091dd622976 is in
use. An Microsoft.SharePoint.Administration.SPServer named "sql" is using the same id as the new object named "sql" of type Microsoft.SharePoint.Administration.SPServer. Every object must contain a unique id. Either update the new object's id or delete the existing object and try again.

The solution that worked for me is to empty out the "Dependencies" and "Objects" table in the WSS Config database and run the wizard again.