April 2009 - Posts

MOSS Search Fails during Infrastructure Updates Install (Problem and Resolution)
21 April 09 01:53 PM | Blogging about SharePoint: Posts
Body:

image

“Failed to start service SearchServiceInstance on this server after completing upgrade.  Please start it manually.”

The service it is talking about is Office SharePoint Search.  PSConfig stays on the “task 8” screen for a while, though it does later complete “successfully”. 

Here’s the other symptoms:

When I am logged in as MOSSsa, my Farm Admin account which is a member of Administrators, and I try to start the service I get:

image

Let’s help the search engines:  The error shown is “Error 183: Cannot create a file when that file already exists.”

When I logged in as Administrator (my box/domain admin – this machine is a Domain Controller), I got a different message once (approximately: service started then stopped, which sometimes is OK), but on a subsequent attempt, got the same message as above.

Resolution/Workaround: Add MOSSSearchSvc to the Administrators group, start the service.  The service starts successfully.  Stop the service, remove it from the group, then restart the service.  No complaints.  Apparently, it just needed extra permissions long enough to remove the offending file. My guess is that the file was created by MOSSsa since I was logged in as MOSSsa when I ran the Infrastructure Update.

--Michael

Category: MOSS 2007
Published: 4/21/2009 10:53 AM
Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Filed under:
Need More Permissions than Sec Admin and DB Creator to Attach Content Database in SQL 2008
20 April 09 01:52 PM | Blogging about SharePoint: Posts
Body:

So I decided that the best way for me to get some content into this new MOSS farm that I created was to attach a content database.

I logged into my farm server (it’s a demo environment so it’s all on one box). I logged in as my Farm Admin account.

I went into SQL Server Management Studio, right clicked the Databases folder, and then clicked Attach.  Got this:

image

That’s not what I was expecting.  After asking one of our SQL gurus to take a look and having him tell me that he’d never seen this one before, I feared my install of SQL Server 2008 was broken and I’d have to reinstall….  But one last thing came to mind – I was logged in as my Farm Admin account, not the box admin/domain admin (machine is a Domain Controller so box admin is domain admin), so I only had Security Admin and DB Creator roles, not full control / system admin.  Sure enough, when I logged into the machine as domain admin, the Attach dialog worked.

Hopefully, the attach will achieve what I want as well…

--Michael

Category: MOSS 2007
Published: 4/20/2009 10:52 AM
Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Filed under:
Building a Demo VM in a Highly Scripted Way
19 April 09 03:09 AM | Blogging about SharePoint: Posts
Body:

Currently, I am setting up a single server MOSS virtual machine which will host a demo site that will be used by part of Magenic’s sales force.  The demo site will represent a repeatable service offering.  Additionally, another project team in my office is working on a MOSS and Commerce Server solution that will have multiple concurrent MOSS developers.  We are planning to give each developer their own single server farm.  I believe the best way to do this is through a scripted install.  Because of these two projects, I have been building out a MOSS VM using command line scripts and answer files as much as I could.

To this end, I have created an answer file for DCPROMO, a SQL Server 2008 answer file.  a batch file that runs PSCONFIG, and batch files that run several STSADM commands.  I also wrote  a PowerShell script to create users, configure them, and put them in the right OrganizationalUnit.  Plus I am documenting almost everything.

I’ll do my best to share these later in the week. In the mean time, I wanted to cite a few resources: Alpesh Nakars on having good examples of these: http://www.alpesh.nakars.com/blog/stsadm-command-line

Also http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/ This one showed me how to get the user to show up in the right  OU.

 

That’s enough for the moment.

Michael

Category: MOSS 2007
Published: 4/19/2009 12:09 AM
Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Filed under:
SharePoint Links from 13 April 2009 MSDN Flash
14 April 09 10:35 AM | Blogging about SharePoint: Posts
Body:
 

Virtual Lab: A SharePoint Developer Introduction - Page Branding

After completing this lab, you will be better able to work with master pages, work with styles sheets, create themes, and use features and feature stapling.

Code Sample: Information Management Policy Deployment Sample for SharePoint Server 2007

This sample code for SharePoint Server 2007 shows how to use feature activation to deploy information management policy to content types, including pre-existing content types and sealed content types.

 

Deploying Information Management Policy Using Feature Activation in SharePoint Server 2007

Learn how to operationally deploy policies through SharePoint Server 2007 by using feature activation event handlers and the SharePoint Server object model.

Microsoft Certification Exam Coaching: Preparing for Your Microsoft Windows SharePoint Services 3.0 - Application Development Exam (70-541)

April 16, 10:00 A.M. Pacific Time
What time is this in my region?

New Online Course - SharePoint 2007 for Business Users

Both new and experienced users will learn how to get the most from SharePoint 2007 with this new course from AppDev. Expert Dan Wahlin covers many features, including building SharePoint collaboration sites, managing documents, configuring security, and using workflows. This course includes over 10 hours of training, and is available for individual users and teams of any size for as little as US$99 per user.

 

 

Enjoy!

--Michael

Category: SharePoint – WSS and MOSS
Published: 4/14/2009 7:35 AM
Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
My Webcasts from Microsoft Virtual Tech Days now available!
07 April 09 12:09 PM | Blogging about SharePoint: Posts
Body:

Webcasts of my sessions at Microsoft Virtual Tech Days on April 1, 2009 are now available on demand at:

Site Provisioning Solutions: https://www506.livemeeting.com/cc/sbsgb3/view?id=RS9WRN&role=attend&pw=2MMg%7DhC (downloadable too)

Information Architecture for a MOSS Intranet: https://www506.livemeeting.com/cc/sbsgb3/view?id=FQR5J5&role=attend&pw=jgt%21%247J (Streaming only)

 

Let me know what you think of them!

--Michael

Category: SharePoint – WSS and MOSS
Published: 4/7/2009 9:09 AM
Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks