Skip to main content

The New MOSSness

Go Search
Home
  

All your MOSS are belong to US!
Warm up script with Powershell

I have been wanting to use PowerShell and SharePoint for quite sometime now, and I found a really cool script written by Kirk Hofer (http://blogs.inetium.com/blogs/khofer/archive/2007/11/13/simple-sharepoint-warm-up-script.aspx)

I have not tried the script yet, but when I get my servers at home up, I plan on trying it out and will let you know.

There are other scripts out there as well; the one I have the most experience with is  the VB script that comes on many of the MOSS VHDs from Microsoft.  There are others as well, but I have not played with them.

 

Happy SharePointing!

Cannot connect to config database

Do you have the, “cannot connect to configuration database” blues?  One of my clients did last week as well.  The first thing I noticed was this on the WFE:

clip_image002

The customer, nor I, were none to pleased to see this error.  I then looked at the services and noticed that the SharePoint administration service was not running.  I tried to start it, but it failed and then the event log displayed this:

clip_image002[8]

 

The logs on the DB server were clean, so it didn’t appear to be a permissions issue.  I contacted a fellow SharePoint consultant, who is a developer name Bryan Phillips (His blog here) to see if he had any ideas.  And fortunately he did.  He told me to look at the groups on the local server to see if the SP groups were still there.  They weren’t; there were no WSS_ADMIN_WGP, no WSS_RESTRICTED_WPG, no WSS_WPG.  They were gone.  While doing research on this issue, I read in numerous places that this can happen if one tries to promote a member server to a domain controller, which makes total sense since DC’s don’t have “local” groups per se.  The other issue could be that some one may have tried to remove MOSS and then cancelled out at the last minute.  Regardless, we do not know the exact issue and can only theorize as to what happened and killed the server.

 

And here is the worst part; there were no backups for MOSS.  The backup script that had run had long since overwrote previous backups.  No server level backups either.  The great thing about this environment, was that it was totally virtual. 

 

Which brings me to why I love and whole heartedly advocate virtualization.  The technology allows so much flexibility and power that traditional server don’t offer.  For example, the DR potential is so much more simple to implement in a virtual environment than in a traditional physical data center.  And recovery from a VM failure can be so much quicker than a physical server failure.  Sure there is the whole issue of having a single point of failure with the one server, but that is why you buy two servers and make them into a highly available cluster! There can be other issues, but nothing that should be a deal breaker. *Rant over*

 

Ok, so since I have a virtual environment, I had the ability to take snapshots of all my VMs.  So I decided to take snapshots, and work from there.  First I recreated the groups on the WFE and used another server as guidance as to whom needed to be where; as in what users belong in which groups.  After I copied the setting from another server in the farm, I was able to start to the Administration service.  That was a good push, so I decided to try to to get to the CA site again, and it threw the same error that I referenced earlier.  So I decided I would run the config wizard on the WFE.  The odd thing was that when running the wizard, it seemed as if the server had never been a part of the farm.  So I told it to connect to an existing farm, entered the credentials for the farm account pointing to the correct DB server, and hit go.

 

And thus after telling the server to join an existing farm, and running the config wizard, the CA was site was now again functional.  All of the other sites were still throwing the error “cannot connect to the configuration database.”  I verified that the app pool accounts all had access to their appropriate content DBs and to the config db and they all did.  Permissions in IIS were correct as well.  So I thought I’d give the server a reboot.  After the server rebooted in 35 seconds (thanks to virtualization) I tried the sites, and all were now available.  My customer and I had a great sigh of relief. 

 

I hope these word may help you if you get into this situation.

The new search book is here!
The book is titled "Professional Microsoft Search SharePoint 2007 and Search Server 2008".  Its authored by Tom Rizzo, Richard Riley and Shane Young.  I am still reading through it, but I really like what I have read so far.  I highly recommend it.
 
I hope to start blogging a bit more as well.  I have come across some odd things as of late; mostly with upgrades from WSS to MSSX.  Nonetheless, I hope to share some of my experiences with you all.
 
Until next time, stay cool!
What a couple of months.
Sorry I have not posted much here lately.  Life has been crazy, both professionally and personally.  I hope to get crackin on more posts; especially with SQL 2008 around the corner.
 
Stay tuned and thanks for reading!
MOSS Infrastructure Update

It's here!  Finally the update that provides the robust features of Search Server and the Express version is here!  This provides enhances search functionality, and federated search.  The greatly enhanced functionality of search will enhance current MOSS enviroments and sweeten the deal for new ones!

 

Happy searching!

 

The update is here: http://www.microsoft.com/downloads/details.aspx?FamilyId=3811C371-0E83-47C8-976B-0B7F26A3B3C4&displaylang=en

The knowledgebase article is here: http://support.microsoft.com/kb/951297

New features in MOSS Search

According to Arpan Shah, the very handy federation feature of Search Server and Search Server Express will be made available for MOSS Search in a rollup patch in early July.

If you have not been able to get Search Server Express and try it out (remember its FREE!!!), I highly recommend you do so.  The features here are quite powerful and will add much value to any existing or new MOSS implementation.  Plus isn't it just a bunch of fun to play with new software!?!

Happy searching!

 

image

(Thanks to Mr. Shah for the image.  Check here for the complete slide deck of the presentation that Mr. Shah gave at TechEd.)

People search not working???

I had an issue with our crawler being denied access to our portal here at work.  Basically, the default content access account could crawl the whole site just fine, but when I looked at the logs I saw this:

 

image

 

This was an issue...our people search would not work properly.  I could get the profiles imported from AD just fine, but when looking at the scopes I see 0 items under the people scope.

 

Here is what my content source looked like:

 

image

 

It seemed ok by me...but at the same time it was being denied.  The content access account full read access to the site collection, so that should not be the issue.  I did research on the "interwebs" but got very little.  I did finally find the answer on a comment to another blog post...after I found it, I felt like an idiot...

 

Notice that the site is HTTPS, and not HTTP.  But the protocol handler "SPS3", which was placed there during the creation of the portal.  And that was the problem.  The handler needed to read "SPS3S" in order to crawl the site.

 

Notice the new and improved scope:

 

image

 

And thus the issue was resolved.  I spent about 15 hours on this issue trying to fix the problem.  And that was all there was to it.

 

Oh well...you win some and lose some.  In the end, its always a good learning opportunity.

KYSPUG for June

 

This month we are going to have our first of two sessions on search in Sharepoint.  Search 101 if you will.  The first will be a more general overview of search throughout all of the Microsoft search technologies, including the new Search Server 2008, including the FREE Express version.

 

Come on out and join us as we seek to build the Sharepoint community in this great city!

Podcasting support in Sharepoint

 

Sorry its been awhile since I've posted.  In the past month I have been to Charlotte for a week for training, taking finals at school, and been to the NYC in support of my wife's business (The Whimsy Patch - handmade plushies).  Needless to say, its been CRAZY!!!

 

Anywho, I ran across this great new bolt-on for Sharepoint called the Podcasting Kit for Sharepoint (see it here).  This is a great tool from everyone's friends at CodePlex.  The guys and gals that developed this gem win big cudos from me; this is a great tool and I can't wait to deploy it.  Though it is in beta currently, I think the potential for this is HUGE.  The only downside to it is that it runs only on MOSS...but that's not a huge downside.

 

Think of all the uses for it!  First of all, an organization or company can now use the features presented here to train employees, volunteers, or even the public.  It can be used by churches as an inexpensive way to deliver sermons to churchgoers.  I think this is super cool and I can't wait to test it out.

 

If you get a chance to test it out, let me know your thoughts!

This Month's KYSPUG
This month Jeremy Sublett will be speaking on the topic of web parts.  The web parts on WSS and MOSS are amazing tools and add huge value to any environment.  Please join us if you can!
1 - 10 Next

 ‭(Hidden)‬ Admin Links