Thursday, December 11, 2008

Files and permissions for Office SharePoint Server 2007

What file permissions are granted on a SharePoint server...?

Files and permissions for Office SharePoint Server 2007

Hannah Scott's Blog: MOSS Search Broken

A very comprehensive blog post on troubleshooting Search and SSP (something I am working through at the moment)

Hannah Scott's Blog: MOSS Search Broken

Thursday, September 11, 2008

You don't have to have a My SIte to edit your profile

I learned a very useful fact today when I was reading the SharePoint Best Practices book. I was always led to believe that you had to allow people to have a My Site in order for them to be able to maintain their User Profile. As it turns out, when you enable the 'User Personal Features' in the SSP for a user, but don't allow the creation of personal sites, when you go to 'My Links' in the menu and choose 'Manage Links' you will be able to see a link to your 'Profile' page. When you go there, you can edit your User Profile, Colleagues and Memberships.

A very useful feature for those that don't want to release My Sites into the wild, but do want the benefits that User profiles bring to Search.

Monday, September 1, 2008

PowerShell and SharePoint - Bob Mixon

Nice post from Bob Mixon on Powershell resources for SharePoint.

PowerShell and SharePoint - Bob Mixon

Best Practices Resources

There is an amazing amount of material available for SharePoint 2007. I have just started reading a new book from Microsoft Press called "Microsoft® Office SharePoint® Server 2007 Best Practices" from Bill English and Ben Curry.

SPBP

I am impressed so far. It is great to see the first few chapters focused on planning and organisational change.

Also, Microsoft have just released the "Best Practices Resource Center for SharePoint Server 2007".

This facility is described as;

"To avoid common pitfalls and keep your Office SharePoint Server 2007 environment available and performing well, follow these best practices based on real-world experience from Microsoft Consulting Services and the product team"

Now if only I can find the time to read it all :)

Best Practices Resource Center for SharePoint Server 2007

Wednesday, August 27, 2008

Deploying the new Silverlight Blueprints

I decided to spend some of my Sunday afternoon trying the new Silverlight Blueprints.

I first upgraded my VM to include the new .Net 3.5 SP1 and Visual Studio 2008 SP1. All went well. I installed the new Silverlight add on for VS2008 SP1.

I created a new web application and a new site collection to host my silverlight web parts.

I went to deploy the HelloWorld example and was getting a list not found exception when it tried to activate the feature.

After a bit of looking around, I noticed that I was supposed to create a document library at the root of the site collection called XAPS to host the XAP files. I went to create the library after checking that it didn't already exist. It created fine, but still no luck deploying. Then I noticed that the URL being created had the name "XAPS1". I deleted and re-created the library but couldn't get it to create "XAPS" in the URL. I deleted my site collection and re-created it. Created the XAPS document library and then tried again and it worked perfectly... :) (That will teach me to read the guidance carefully)

image

Then I moved on to the Media Viewer web part, thinking it would deploy just the same. Hmm, not quite. It did deploy okay from Visual Studio, but then when trying to add it to a page, I got this error;

image

Method not found: 'Void System.Web.UI.SilverlightControls.Silverlight.set_MinimumVersion(System.String)'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.SilverlightControls.Silverlight.set_MinimumVersion(System.String)'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[MissingMethodException: Method not found: 'Void System.Web.UI.SilverlightControls.Silverlight.set_MinimumVersion(System.String)'.]
   SL.SharePoint.WebParts.MediaViewerWebPart.CreateChildControls() +0
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.WebControls.WebParts.Part.get_Controls() +15
   SL.SharePoint.WebParts.MediaViewerWebPart.OnLoad(EventArgs e) +136
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Then I tried the slider controls in a survey and they did not render either.

After some troubleshooting, I discovered that I had a rogue copy of the System.Web.Silverlight.dll in the bin folder of another SharePoint web application. This is one I had used to try out the Podcast Kit for SharePoint.

I renamed this other version, and after an IISRESET, the blueprint controls started working....

image

image

image

Wednesday, August 20, 2008

Tuesday, August 12, 2008

To the SharePoint : Using Federated Search in Geographic Environments

Interesting article describing how to leverage the Federated Search features of the Infrastructure Update to search across a Geographically distributed  SharePoint implementation.

To the SharePoint : Using Federated Search in Geographic Environments

Tuesday, August 5, 2008

Setting up multiple languages with MOSS 2007

I installed the MOSS 2007 language packs (or so I thought), but couldn't understand why the 'Select a language' drop down did not appear in the Site creation page.

I followed the instructions here;

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2447426b-8689-4768-bff0-cbb511599a45

I downloaded the language pack from the following URL;

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2447426b-8689-4768-bff0-cbb511599a45

Then I discovered that you have to select the language you want from the drop down and then click change. Then you have to download the language pack from that page. Interesting given that I don't read or speak any of the other languages.

image

Then I installed those language packs (after extracting them using WINRAR).

Even the installation is in that language :)

image

image

and voila!

image

Sunday, July 20, 2008

Podcast Kit for SharePoint on Windows Server 2008

I decided to try installing the Podcast Kit for SharePoint on one of my Virtual Machines.

http://www.codeplex.com/pks

After a few hours of installing all of the pre-requisites I realised that I would be better off installing it on my Windows Server 2008 VM which already has VS2008, .Net 3.5, Silverlight etc installed.

After my first attempt and the amount of editing I was doing of web.config and the number of features needing to deploy, I decided the best thing would be to create a completely separate web application and site collection to host PKS.

When I went to install the pre-requisites, I tried running install.exe, but was not able to load the solutions through the UI. I got the following exception in the event log;

SPInstallCab:Exception while deleting expand directory C:\Users\Administrator\AppData\Local\Temp\1\podcastingkitforsharepoint Access to the path 'schema.xml' is denied.
   at SPInstallCab.CabReader.DeleteExpandedData()
   at SPInstallCab.SPInstallCab.Load_SolutionContents()

the message resource is present but the message is not found in the string/message table

I had to use the install.cmd instead of the GUI, and that appears to be working okay.

I am installing the July Tech Preview which currently only supports Silverlight Beta 1, but Beta 2 player does seem to be working for me.

image

image

Sunday, July 13, 2008

Friday, July 11, 2008

White paper: End-to-End Content Deployment Walkthrough

I decided to try the Content Deployment in MOSS tonight, and was pleasantly surprised at how well it worked. It is only in my Virtual machine, but this walkthrough did a great job of explaining how to configure it.

Apart from one error where the Deployment job seemed to get corrupted, it went very smoothly. I tried scheduling content for future publishing, and it worked perfectly. Next thing to try is physically different farms....

If you have not tried it, check out the white paper...

White paper: End-to-End Content Deployment Walkthrough

Wednesday, June 11, 2008

MailEnable - Standard Edition

I have been configuring a new Virtual Machine to demonstrate SharePoint and I'm using Windows Server 2008. All went well, until I tried to configure Outlook to receive email on the VM. Then I recalled that POP3 was no longer included in Windows 2008, which is a shame. So I proceeded to find an alternative. Exchange would have been a bit too much on my memory limited VM which already has SQL Server, SharePoint etc.

I came across MailEnable which is a free mail server. I installed it and it worked very nicely providing SMTP and POP. It has an easy to use admin interface and was pretty easy to setup (once I fixed some DNS issues on my VM)

MailEnable - Standard Edition

Monday, June 9, 2008

Faraz Khan's SharePoint blog: MOSS 2007 cannot login into SSP

I was getting Error: Access Denied to my SSP in a new installation even though I was logged in as administrator.

image

Faraz's blog post pointed me to the solution that I needed to create a different App Pool for the SSP that is not the same name as the SSP Admin Site.

Faraz Khan's SharePoint blog: MOSS 2007 cannot login into SSP

Wednesday, June 4, 2008

What are the names of the MOSS templates?

I recently had to compile a list of the names of some of the MOSS site definitions for use when programmatically creating sites, so I thought I would share;

Publishing Portal="SPSPORTAL#0"
Team Site"="STS#0"
Blank Site="STS#1"
Wiki Site="WIKI#0"
Blog Site="BLOG#0"
Global Site="GLOBAL#0"
News Site="SPSNEWS#0"
Publishing Site="CMSPUBLISHING#0"
Search Site="SRCHCEN#0"
Site Directory="SPSSITES#0"

SharePoint Spy

I tried out SharePoint Spy the other day to help me find out the GUIDs for the features get enabled when you add the SharePoint publishing features to a blank site. I very handy tool for peering under the covers of SharePoint. Check it out. It is free.

http://www.echotechnology.com/products/spy/Pages/default.aspx

Thursday, May 15, 2008

Wednesday, May 14, 2008

Paul Andrew : Announcing: Visual Studio extensions for SharePoint – Developer User Guide

The Visual Studio 2008 extensions apparently will be here in June. In the mean time, Microsoft have released new documentation for VseWSS 1.1

"The user guide is downloadable here and represents approx 200 pages of documentation applicable to both the 2005 and the 2008 release of the Visual Studio extensions for SharePoint."
(excerpt from Paul's post)

Paul Andrew : Announcing: Visual Studio extensions for SharePoint – Developer User Guide

Tuesday, May 13, 2008

Saturday, May 10, 2008

Video: Publishing Features and Site Templates - Michael Gannotti on SharePoint +

I have been trying to work out how to create a SharePoint 2007 site template from a modified 'Collaboration Portal' which has the Publishing feature enabled. I noticed that the 'Save Site as Template' menu item is removed from the Look and Feel menu.

So I created a Site Template from SharePoint Designer, and this seemed to work. I used STSADM to add the template and then tried creating a new Site Collection from it.

Then I got this error when I tried to access the site I just created;

"This page is not using a valid page layout.  To correct the problem, edit page settings and select a valid page layout."

So after much searching, I discovered that you cannot create a site template from a site with the Publishing feature enabled. :(

I was about to embark on creating a site definition and then I came across this post from Michael Gannotti....

Check it out.

I'm going to try this and then decide if I need a Site Definition.

Video: Publishing Features and Site Templates - Michael Gannotti on SharePoint +

Thursday, May 8, 2008

Roger Lamb's SharePoint Developer Blog : SharePoint 2007 and WSS 3.0 Dispose Patterns by Example

I have been doing a bit of development this week prototyping some software, so while dusting off the far corners of my coding memory, I came across a good blog post showing the right and wrong ways to use the SPSite and SPWeb objects with respect to Disposing.....

Roger Lamb's SharePoint Developer Blog : SharePoint 2007 and WSS 3.0 Dispose Patterns by Example

Sunday, March 16, 2008

Convert your Windows Server 2008 to a Workstation! » Blog Archive » Security Software

Trying to install Windows 2008 as a workstation today on my AMD x64 PC. I was wondering what options there are for anti-virus as the ones I own won't install. (Norton 360 and OneCare)

This list looks like a good start and indicates which ones will install on the OS.

Convert your Windows Server 2008 to a Workstation! » Blog Archive » Security Software

Saturday, March 15, 2008

Using the BDC to sync profile data error

I wrote a web service to query LDAP so I can merge data from AD and another LDAP source. The web service seems to work fine. It has a finder and a specific finder method.

I used BDC Metaman to create the definition and imported to MOSS. So far so good.

Mapped the user profile properties to the BDC source.

Tried to sync the profile data and it wasn't working. I was getting the following exceptions;

03/15/2008 11:20:37.92     mssdmn.exe (0x1464)                         0x0090    SharePoint Portal Server          User Profiles                     90gy    Exception    (Watson Reporting Cancelled) System.UnauthorizedAccessException: Access Denied! Only site admin can access Data Source object from user profile DB.     at Microsoft.Office.Server.UserProfiles.SRPSite.AdminCheck(String message)     at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(IDataRecord rec)     at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(String strDSName)     at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site, Boolean fAllowEveryoneRead)     at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site)     at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.GetDataSource()     at Microsoft.Office.Server.UserProfiles.BDCConnector.RefreshConfiguration(String sspName)

I found an entry in a blog here which pointed me in the right direction.

I needed to give my search account and content access account these permissions in the Personalization services permissions of Shared Services;

image

So that was great.

Next problem; now I get the following exception on the users which have a linked record in the secondary import connection;

03/15/2008 11:45:02.48     mssdmn.exe (0x1464)                         0x0090    SharePoint Portal Server          User Profiles                     90gz    Exception    Profile Import: Exception occured when importing user: 'ai\jhancock'. Access Denied for User 'AI\spsearch'. Securable MethodInstancewith Name 'FindDirectoryUserInstance' has ACL that contains:      User 'AI\administrator' with Rights 'Execute, Edit, SetPermissions, UseInBusinessDataInLists, SelectableInClients'  Stack Trace:    at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataClass.ExecuteInternal(LobSystemInstance lobSystemInstance, LobSystem lobSystem, MethodInstance methodInstanceToExecute, Method methodToExecute, ParameterCollection inputParameters, Object[]& overrideArgs)     at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.ExecuteInternal(LobSystemInstance lobSystemInstance, LobSystem lobSystem, MethodInstance methodInstanceToExecute, Method methodT...

Then I realised that whilst I had set permissions for the BDC, I had not set permissions for the imported application definition.

image

And then... I realised that I needed to set permissions on the entity in the BDC

image

And HOORAY! It worked!

Thursday, March 13, 2008

Silverlight Hello fix

Thanks to a comment on Patrick's blog post, I tried recompiling the HelloSilverlight2 xap file and redeployed it and it started working. There is a 2KB difference in the size of the original and the recompiled version.

IE is still crashing, but not as often.

I actually think there might be something wrong with the webpart as IE only seems to crash after I 'Modify web part' and then 'cancel'.

image

Wednesday, March 12, 2008

How to configure your SharePoint extended IIS Web App for working with Silverlight 2 applications - Patrick Tisseghem's Blog [MVP SharePoint]

Crikey! There is a lot more to getting the Silverlight Blue Prints for Sharepoint working than I expected.

You need to copy a lot of configuration into the web.config for your SharePoint web application.

Thankfully Patrick detailed what was required and provided a screencast of what needs to be done.

What to copy between the silverlight project web.config and the SharePoint web application web.config;

<ConfigSections/>

From

image

To

image

<assemblies/>

From

image

To

image

<controls/>

From

image

To

image

<httpHandlers/>

From

image

To

image

 

<httpModules/>

From

image

To

image

<system.webserver/>

From

image

To

image

<assemblyBinding/>

From

image

To

image

I put System.web.silverlight.dll into the GAC.

The other item is to register the .xap mime type. This seems to already be registered in IIS 7 on Windows 2008.

I could then add the web part.

I went to update the MIME type (IIS7)

image

image

Hmm, still not displaying the Hello World in the web part, and IE is crashing....

image

Problem Event Name:    APPCRASH
  Application Name:    iexplore.exe
  Application Version:    7.0.6001.18000
  Application Timestamp:    47918f11
  Fault Module Name:    npctrl.dll
  Fault Module Version:    1.0.30226.2
  Fault Module Timestamp:    47c5c57b
  Exception Code:    c0000005
  Exception Offset:    00025670
  OS Version:    6.0.6001.2.1.0.272.7
  Locale ID:    3081
  Additional Information 1:    fd00
  Additional Information 2:    ea6f5fe8924aaa756324d57f87834160
  Additional Information 3:    fd00
  Additional Information 4:    ea6f5fe8924aaa756324d57f87834160

At this point I decided to rollback my VM to the previous snapshot and try configuring it again.

I reconfigured the whole thing, but have exactly the same problem. The Silverlight app doesn't display and IE crashes as soon as I try to use it.

I will keep looking and post again when I find an answer.

How to configure your SharePoint extended IIS Web App for working with Silverlight 2 applications - Patrick Tisseghem's Blog [MVP SharePoint]

SharePoint Capacity Planning Tool

The SharePoint capacity planning tools are released.

http://technet.microsoft.com/en-us/library/bb961988.aspx

I like using this as the first step in scoping infrastructure. You'll need to assess the results to see if you think they are sensible.

image

When you start SCCP you will see the following message;

System Center Capacity Planner is intended to assist the user in designing a deployment topology and selecting the appropriate hardware for the expected user loads. To model the performance characteristics of a given configuration, this software uses configuration and load information provided by the user, combined with hardware-specific capacity and performance information received from other organizations (which Microsoft does not separately verify). 

Users should both consult deployment documentation relevant for each technology, and follow standard practices of validating configurations prior to production deployments (such as those described in the Microsoft Operations Framework) because actual configuration performance may vary from predictions due to unanticipated factors such as additional server or network load, inaccuracies in user-provided usage profile characteristics, model errors or other reasons.

Microsoft does not endorse any particular hardware indicated by System Center Capacity Planner.

Sunday, March 9, 2008

Mark Harrison: Windows Server 2008 - Desktop Experience feature

I am about to start using my Windows 2008 VM, so this info should be very helpful...

Mark Harrison: Windows Server 2008 - Desktop Experience feature

Gear Up

Microsoft have released some new collections of documentation on a site called Gear Up

image

Silverlight 2 beta

I am pretty fascinated with possibilities that Silverlight 2 presents.

Scott Guthrie introduced some pretty impressive sites during the MIX08 keynote;

The deep zoom capabilities illustrated in the Hard Rock Cafe memorabilia site is great;

http://memorabilia.hardrock.com/

Check out the Silverlight Blueprint for SharePoint site

http://www.ssblueprints.net/sharepoint/

I am looking forward to trying out some of the dev options using;

Microsoft Silverlight Tools Beta 1 for Visual Studio 2008

Microsoft Expression Blend 2.5 March 2008 Preview

Microsoft® Silverlight™ 2 Software Development Kit Beta 1

Search Server Express 2008 is released

After a long weekend, trying to fit in watching the keynotes from MIX08 and the SharePoint conference. (Almost done :))

One thing I noted is that Microsoft Search Server Express 2008 is now available. This is a free product and includes some new features regarding federated search results. Combining this with Windows SharePoint Services presents some powerful possibilities

http://www.microsoft.com/enterprisesearch/serverproducts/searchserverexpress/download.aspx

Friday, March 7, 2008

It is going to be a long weekend

Wow, there looks to be lots of really interesting stuff happening. The SharePoint Conference and MIX08 are happening this week. It looks like there is lots of online content to watch for those of us who couldn't make it to the US...

BuzzPoint - What people are saying about SPC 2008

http://www.visitmix.com/

Sunday, February 24, 2008

I can't post to my blog from external applications - Something Is Broken | Google Groups

After I transferred my blog to blogger, my posts stopped working. I did some investigation using wireshark (an excellent application) and could see that blogger was returning a posting id that when Windows Live Writer (WLW) tried to access returned a 401 not found error.

Turns out that there is a bug or feature with blogger that if you make more than 50 posts or changes in 24 hours, it starts returning bogus ids...! (glad I wasted all of those hours trying to work out why it wasn't working :|)

I can't post to my blog from external applications - Something Is Broken | Google Groups

Saturday, February 23, 2008

I've moved my blog

After a number of issues with my WSS site on webhost4life (instability, reliability etc) I have decided to move my blog to blogger. I am using Windows Live Writer again to write my posts. It seems that the released version doesn't post images properly to WSS, which is rather unfortunate. After a number of exchanges with the support team for WLW, I have come to the conclusion that it must not work because they have stopped answering my emails. I thought things would be better with blogger, BUT, images seemed to be a problem there too. I understand this is not a WLW issue, but rather something to do with the way blogger uses Picasa to store the images and how it copes with custom domains. So I am publishing my pictures to an ftp site now, and that seems to be working okay....

Update: After I did this post, now I can't get WLW to publish anything to blogger! WLW is throwing an exception...

Tuesday, February 19, 2008

SharePoint 2007 workflow 'Failed on Start'

I have been trying to work out for some time why I have been getting a 'Failed on Start' error when I try to run the OOB workflows in my MOSS VM.

When I look in the SharePoint log I see the following exception;

02/19/2008 20:04:53.82     w3wp.exe (0x14A0)                           0x1524    Windows SharePoint Services       Workflow Infrastructure           72fs    Unexpected    RunWorkflow: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties..ctor(SPWorkflow workflow, Int32 runAsUserId, String associationData, String initiationData)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.MakeActivation(SPWorkflow workflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWorkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)    
02/19/2008 20:04:53.82     w3wp.exe (0x14A0)                           0x1524    Windows SharePoint Services       Workflow Infrastructure           98d7    Unexpected    System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties..ctor(SPWorkflow workflow, Int32 runAsUserId, String associationData, String initiationData)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.MakeActivation(SPWorkflow workflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWorkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)
    

I finally found a blog entry from Rodney Langley that steered me to the solution (see link below).

It turns out that at one stage I change the accounts for the application pools, but DIDN'T do it through the Central Admin interface. When I went into Central Admin - Service Accounts and changed them in there, the workflows miraculously started to work....

Thanks Rodney

Workflows, SSPs, and IIS Nightmares - SharePoint Squared - Rodney Langley's SharePoint Weblog

Sunday, February 17, 2008

Adventures of setting up MOSS on Windows 2008 – Part 3

It was not immediately clear to me how to disable the IE Enhanced Security in Windows 2008 (even though I blogged about it last year), so after a bit of looking around I found it here;

Server Manager

Adventures of setting up MOSS on Windows 2008 – Part 1

I have been installing MOSS on a Virtual Machine with Windows 2008 RTM. A colleague (David Marsh) is setting up the 64 bit version and I am trying the 32 bit version so we can compare if there is a noticeable difference in performance.

I have come up against a few issues while doing the installation which I thought I would share.

SQL 2005 Reporting Services

I had some difficulty configuring reporting services. I installed SQL 2005 Standard with SP2.

I went through the normal configuration and everything looked ok.

ReportServer

When I tried to access the ReportServer or Reports from the browser however, I received these errors;

(rsAccessDeniedToSecureData)

ReportsError

ReportServer Error

I checked the rsreportserverconfig to make sure the URLRool and WebServiceAccount were correctly configured.

rsreportserverconfig

After much effort trying to work out what was causing the problem, I decided to create a new database and remove the old one. This fixed the issue, so I can only imagine that there were some permission issues with database access.

CreateDatabase

Adventures of setting up MOSS on Windows 2008 – Part 2

Continuing my journey of trying to install MOSS on Windows 2008, I came across a couple of other issues.

Services on Server

When I tried to start Excel Services, I received the following error;

Failed to resolve the site ID for ‘Office Server Web Services’

Error

I found this post which has a work around Click Here

It shows a Powershell script

Start Powershell and run the following command;

Set-ExecutionPolicy RemoteSigned

Exit Powershell and Restart it.

The following is the script to start Excel Services
Set-Alias stsadm $env:CommonProgramFiles"\Microsoft Shared\Web Server
Extensions\12\BIN\STSADM.EXE"

stsadm -o provisionservice -action start -servicetype "Microsoft.Office.Excel.Server.ExcelServerSharedWebService,Microsoft.Office.Excel.Server, Version = 12.0.0.0, Culture = neutral,PublicKeyToken = 71e9bce111e9429c"

iisreset /noforce

It seems to work okay, but it is a concern that there doesn’t seem to be a reason why at this point.

Wednesday, January 23, 2008

Starlight Day MOSS based web site

Our team at DiData have just completed another MOSS based Internet web site.

The Starlight Children's Foundation is an amazing organisation doing wonderful things for sick children.

The site looks fantastic and performs really well too. check it out....and while you are there, why not make a donation :)

image

Starlight Day

Tuesday, January 22, 2008

SharePoint Cross-site Configurator - Home

The Solution Accelerator Team at Microsoft have released a tool on Codeplex to help deploy setting across farms.... I haven't tried it yet, but it looks interesting.

The SharePoint Cross-site Configurator

The tool automates the process of deploying the MOSS site settings in all or selected sites in a server farm as shown in the following list:
Note The Tool also enables IT administrators to customize the site settings to be deployed.
  • Applying Master Pages across a SharePoint server farm.
  • Setting up Web Titles for all or selected site collections across the farm.
  • Applying audit control settings to all or selected sites.
  • Adding advanced settings such as “Allow content type management” to all types of lists.
  • Adding a new Expiration Policy at the site collection level.
  • Adding a new Expiration Policy to content types, lists, and documents.

SharePoint Cross-site Configurator - Home

Joel Oleson's Blog SharePoint Land : Global SharePoint Deployment Partner Solutions

Nice article from Joel Oleson about Geographically distributed MOSS environments with a list of partners providing solutions to various categories of issues.

Joel Oleson's Blog SharePoint Land : Global SharePoint Deployment Partner Solutions

Preventing auto renumbering when pasting between Word 2007 docs

I have been trying to work out how to paste a complex list with lots of numbering from one word doc to another. You would think it would be simple right?

When I pasted to the new document, it would renumber the list based on previous lists in the document which is definitely what I didn't want as it was a legal section of the document.

I found this link with some info from Stefan Blom which provided a solution.

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.word.numbering&tid=2a8f0bff-f647-484b-8c50-d66bcb5e65c2&cat=&lang=&cr=&sloc=&p=1

I copied the section to a new document.

Created a new macro and added the following line;

ActiveDocument.ConvertNumbersToText

I ran the macro which converted the auto numbering to text, and then I could copy and paste to the new document preserving the original numbering...

Friday, January 11, 2008

Sunday, January 6, 2008

Where are the VS2008 Extensions for MOSS?

I have my VS2008 VM running nicely now on top of Windows 2008 RC. The Visual Studio 2008 Training Kit is pretty good too. Working through some of the demos at the moment. The LINQ one is pretty interesting, although I am trying to get my head around Lambda expressions at the moment.

I'm keenly awaiting the new Extensions for SharePoint..... I believe they are supposed to be available real soon now....