SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Sep 302009

Develop your own Windows Service

Writing a Windows Service is very easy. Deploying it with a Setup is an easy task as well.

But be careful what option you set for the failure behavior!

In my case I installed the service with “Windows Installer XML (WiX) toolset”.

image

Do not use critical as ErrorControl value. It will force a reboot of the server, if the services fails to start.

image

Fortunately booting with “Last known good configuration” worked for me and I could uninstall the service…


Published: 9/30/2009  10:19 AM | 0  Comments | 0  Links to this post
Tagged as: Development

Sep 282009

Disable Loopback Check?

A while ago Microsoft released an update, which prevents that you can log on locally to a website which has a FQDN.

To resolve issues with e.g. the crawling a KB article has been published.

You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version

You can disable the loopback check completely, or just for the used FQDNs. This would be the better way.

Manually setting the required registry entries on every SharePoint server in the farm can be a nasty task.

A better way to do so is a custom stsadm extension. Gary Lapointe has written such an extension. Take a look at it: Setting Back Connection Host Names for SharePoint 2007 Using STSADM

Quote:

You can of course do this using Group Policy but for those not managing their servers using GPO I decided to implement a custom STSADM command that would make setting the BackConnectionHostNames registry key really simple.  I called this new command, oddly enough, gl-setbackconnectionhostnames.

The following is an example of how to update the BackConnectionHostNames registry key on the current server only:

stsadm -o gl-setbackconnectionhostnames

The following is an example of how to update the BackConnectionHostNames registry key on all servers in the farm:

stsadm -o gl-setbackconnectionhostnames -updatefarm -username domain\spadmin -password pa$$w0rd

Download of the custom stsadm extension: http://stsadm.blogspot.com/2009/02/downloads.html (WSS Only STSADM Extensions (x86, x64))


Published: 9/28/2009  11:41 AM | 2  Comments | 0  Links to this post
Tagged as: SharePoint, Solution

Sep 232009

ShareConnect - Session

Wie versprochen gibt es hier meine Präsentation und das Demo Projekt zum Download:


Published: 9/23/2009  10:34 AM | 0  Comments | 0  Links to this post
Tagged as: SharePoint

Sep 142009

Important: Be careful when installing WSS August Cumulative Update

Due to schema and stored procedure changes coming with the August CU databases with a patch level older than the August CU cannot be upgraded to August CU through database attach method.

More…


Published: 9/14/2009  9:54 PM | 0  Comments | 0  Links to this post
Tagged as: SharePoint