Tuesday

Nashville SharePoint Users Group

If you are in the Nashville, TN, USA area and would like to hear wonderful SharePoint presentations, FREE! food, and great discussions with like-minded people, then come join us! The meetings are always free and open to the public.

Information concerning the Nashville SharePoint Users Group can be found here:

The Nashville SUG website also has copies of the . Some of the topics include:
-> Upgrading SPS 2003 Areas and Portals to MOSS 2007
-> Certification Options for SharePoint Professionals
-> Using K2 and MOSS for MOF
-> Free Tools for SharePoint 2007 and WSS 3.0
-> SharePoint Backup and Recovery along with Best practices for My Sites
-> A Practical Approach to SharePoint Content Management
-> …plus lots more!

Using STSADM to Add Permissions to SharePoint Sites

Recently I came across multiple WSS sites (v3) that someone else created. These sites are used by everyone in the company and were not provisioned correctly; the permissions were incorrectly setup.

So, instead of visiting every site and adding the appropriate permissions, I created a batch file that went through the sites and added several SharePoint groups and individual users to the sites in different roles.

The stsadm operation I used was ‘userrole’. The syntax of the userrole operation is as follows:
stsadm –o userrole –url <full url> –userlogin <domain\user or SharePoint group> –role <role, such as Contribute or “Full Control”>

I created the script in Excel so I could put it together rather quickly. I created three (3) columns in a new Worksheet.
-> The first column [A] was for the full URL of the sites
-> Second column [B] was for the following function: =”stsadm –o userrole –url “&A2&” –userlogin “&C2&”<SharePoint group name or domain\user>”&C2&” –role “&C2&”<intended role>”&C2
-> The third column [C] holds a double quote mark – “ (this is done so I can enter the “ symbol in the outputted text, but not within the function. The quote is needed in the output text because your SharePoint group or role may have spaces in the names)

For example, one of my cells in the [B] column looked like this:
=”stsadm –o userrole –url “&A2&” –userlogin “&C2&”SharePoint Members”&C2&” –role “&C2&”Contribute”&C2

The output text looked like this: stsadm –o userrole –url http://sharepoint/site1 –userlogin “SharePoint Members” –role “Contribute”

I then logged into the Windows 2008 SharePoint front-end server as a SharePoint Farm Administrator and copied all the text in the [B] column to a text file and named it permissions.cmd. I ran the file as an administrator (making sure the current directory was the ‘12 hive’ where the stsadm.exe resided) and after a few moments, all was well with the permissions.

You can also use the userrole operation to remove permissions by adding the –delete switch. For more information on the userrole option, type stsadm –help userrole

Office Communications Server 2007 Upgrade - Clients

Before upgrading our Office Communications Server 2007 (OCS) install to OCS R2, we pushed out the Office Communicator 2007 R2 client to our desktops. As with most software pushes, not everyone received the client successfully. Currently, there are four versions of the Communicator client connected to our R2 server:

UCCAPI/2.0.6362.15
UCCAPI/3.5.6907.0 OC/3.5.6907.0 (Microsoft Office Communicator 2007 R2)
UCCAPI/3.5.6907.9 OC/3.5.6907.9 (Microsoft Office Communicator 2007 R2)
UCCP/2.0.6362.0 OC/2.0.6362.0 (Microsoft Office Communicator)

The only one I couldn’t really figure out was the first one (2.0.6362.15). That client version only has one connection to the server. After looking at the rtc (dbo.Resource table) and rtcdyn (dbo.Endpoint table) databases, I discovered that it is the ForeFront for OCS Proxy account using this client.

The second in the list is the R2 Communicator 2007 client (UCCAPI/3.5.6907.0 OC/3.5.6907.0), without the April 2009 patch (KB 967673).

The third (UCCAPI/3.5.6907.9 OC/3.5.6907.9) is the R2 Communicator 2007 client with the April 2009 patch.

The fourth (UCCP/2.0.6362.0 OC/2.0.6362.0) is the R1 Communicator 2007 client (caused by the R2 client install failures).

[UPDATE] The May 2009 Communicator 2007 R2 hotfix rollup update upgrades clients to the following: UCCAPI/3.5.6907.9 OC/3.5.6907.22 (Microsoft Office Communicator 2007 R2)

Monday

File Not Found When Trying to Create a Site

I recently was trying to create a SharePoint site and was surprised to see a “File Not Found.” error when I submitted the action. After scratching my head for a short amount of time, I remembered that I had created a managed path that was the same name as the site I was trying to create.

After removing the managed path, I was able to create my site and go merrily along my way.

Friday

Troubleshooting Microsoft Office Communicator 2007

I have recently been having some Address Book sync problems with Office Communicator 2007 R2. A couple things I wanted to share with anyone who cares to listen:

-When you turn on logging within Communicator, the logs are placed in your profile directory. So, at the root of your profile (i.e. for Windows XP, it would be: c:\documents and settings\%username%), open the Tracing folder. This is where the logs are created.

-When you start Communicator, it tries to download and make a local copy of the Address Book. The location of the address book copy is again located in the profile directory. So, for Windows XP, it would be: c:\documents and settings\%username%\local settings\application data\microsoft\communicator .

Wednesday

Office Communications Server 2007 R2 and NIC Teaming

I have been trying to install Office Communications Server (OCS) 2007 R2 Standard Edition for a few days now without success.

During the server install process (after the schema has been extended), a warning shows up in the activation logs of every role (Standard Edition Server, Web Components Server, Web Conferencing Server, Audio/Video Conferencing Server, Application Sharing Server, and Application Host).

The warning on the main Deployment Log states:
Warning
[0x03EC796D] Wizard was successful, but one or more warnings occurred during execution of the wizard. Please check the log file for more information.


The warning within each activation log states:
Warning
[0x03EC78E4] More than one DNS records are found for the pool FQDN. Please validate the pool's DNS registration.


A note about the DNS Record Count: 3 is also in the log.

After trying for many hours to get this to work, the solution is simple, but it isn't 'nice'.
Office Communications Server 2007 does not support network interface controller (NIC) teaming. Sounds crazy, right? Good luck finding this little tidbit documented anywhere.

[UPDATE] I have been told (by a Microsoft rep) that Microsoft does support NIC teaming, but I haven’t found any documentation that points to the correct answer.

Exchange System Attendant Errors

I have recently been setting up a virtual network to get more experience in upgrading the applications listed below in the same environment. I am utilizing the following Microsoft products:

Windows Server 2008 domain controller (version: Server Core)
Windows Server 2003 application servers (possible upgrade to Server 2008 in the future)
Exchange (version: 2003 upgrading to 2007)
Live Communications Server (version: 2003 upgrading to OCS 2007)
Windows SharePoint Services (version: 2.0 upgrading to 3.0)
SharePoint Portal Server (version: 2003 upgrading to MOSS 2007)
SQL (version: 2005 upgrading to 2008)

The DC has two NICs, one is Local only and the second has external access. The first Application server has one NIC, local only.

Right now I am at the point where I have my DC setup and I have finished installing Exchange 2003 on the first Application server that will host LCS 2003 as well. However, after I rebooted, I encountered the following errors within the Windows Application Log:

Event ID: 1005
Source: MSExchangeSA
Type: Error
Body: Unexpected error The logon attempt failed ID no: 8009030c Microsoft Exchange System Attendant occurred.

Event ID: 1004
Source: MSExchangeSA
Type: Error
Body: Microsoft Exchange System Attendant failed to start

Event ID: 1005
Source: MSExchangeSA
Type: Error
Body: Unexpected error The clocks on the client and server machines are skewed. ID no: 80090324 Microsoft Exchange System Attendant occurred

Also there is a Kerberos (Event ID: 5) error in the Windows System log.


My first thought was that due to the 1005 errors, the Application server wasn't getting its time from the DC. Since it was a Server Core implementation, I did miss something (oops!): I did not start the w32time service. So, I entered the following commands:
>net start w32time
>sc config w32time start= auto

Now that the service was started, I did a reboot of the Application server just to make sure everything was working well. Same errors.

Since the error stated the times were "skewed", I checked the time on the DC (by just typing "time" at the cmd prompt) and Application server....they were the same. What now?
I tried a manual time sync on the Application server using the w32tm command. This told me that the time between the server and the DC (its time authority) was exactly 2 hours off. That raised a flag! Timezone!

I checked the timezone for the Application server and it was correct. I went to the DC and at the prompt I typed >control timedate.cpl and one of the only remaining GUIs in Server Core gave me my answer....the DC was using the wrong timezone.

I updated the timezone, rebooted the Application server, and the System Attendant started without any problems.

Now on to installing LCS.

Friday

Remove (Hide) SharePoint Templates

I have been asked several times about removing some of the templates that are available at site creation. There are several reasons you might want to do this and it really is simple to implement.

To hide a template from users, open the Webtemp.xml file located in the /program files/common files/Microsoft shared/web server extensions....../template/1033/XML folder. Change the Hidden parameter of the template(s) you want to hide. Recycle IIS and you should be set.

BTW, don't even think about editing anything other than the Hidden parameter in the Webtemp.xml file. You don't want to fall into the unsupported configuration category as KB 898631 explains.

Thursday

Mail Enable Document Libraries for WSS 2.0

One great feature for WSS 3.0 is the e-mail enabled libraries. It can really get you using SharePoint beyond just a normal web site. But did you know that you can have e-mail-enabled document libraries using WSS 2.0? Yup, you sure can. It actually isn't anything new for the recent version.

Here is the information on TechNet: Configuring E-Mail-Enabled Document Libraries (Windows SharePoint Services 2.0)

Wednesday

Solutions Using the Microsoft Office System

I recently ran across a little gem on the TechNet website: "Solutions Using the Microsoft Office System: Learn how to use the Microsoft Office system to solve your business scenarios"
This page includes over 40 large Visio diagrams detailing the Microsoft Office system, over 30 of which specifically reference SharePoint as a central topic.

The topics include InfoPath and Forms integration, scenarios using SharePoint (such as a Call Center, Intranet Portal, Internet News Site, etc.), Records Management, Business Intelligence, and detailed SharePoint Server topics including:
  • Application Security
  • Backup and Restore
  • Topologies
  • Baseline Site Hierarchies
  • Customization
  • Database Administration
  • Enterprise Content Management
  • Extranet Topologies
  • Inter-Farm Shared Services
  • Search Administration
  • Shared Services

The information presented can give you a really good understanding of the functions of SharePoint Server. I am currently diving into the Backup and Restore diagram. I just wish I had a poster printer for them!