What file permissions are granted on a SharePoint server...?
Thursday, December 11, 2008
Thursday, December 4, 2008
SharePoint for Squirrels - by Natalya Voskresenskaya [MVP]: SharePoint search does not crawl People profiles or Error in PortalCrawl Web Service
I was having trouble moving an Index server and getting an error while trying to crawl the user profiles.
error in portal crawl web service site$$$people
Natalya had the solution in this post
Wednesday, December 3, 2008
A Marvellous Point : Configuring Kerberos for SharePoint 2007: Part 1 - Base Configuration for SharePoint
A very good post about configuring SharePoint with Kerberos
Thursday, September 11, 2008
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
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.
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 :)
Wednesday, August 27, 2008
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)
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;
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)'.
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.
[MissingMethodException: Method not found: 'Void System.Web.UI.SilverlightControls.Silverlight.set_MinimumVersion(System.String)'.]
SL.SharePoint.WebParts.MediaViewerWebPart.OnLoad(EventArgs e) +136
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....
Tuesday, August 26, 2008
Thursday, August 21, 2008
Microsoft SharePoint Team Blog : Update on Licensing and Virtualization Support for SharePoint Products and Technologies
New information about Microsoft support for SharePoint in virtualised environments.
Microsoft SharePoint Team Blog : Updated Silverlight Blueprints for SharePoint (with support for Silverlight 2 Beta 2) released to CodePlex!
New Silverlight Blueprints have been released. I'm keen to try them out....
Wednesday, August 20, 2008
Tuesday, August 19, 2008
Microsoft SQL Server Community Samples: Integration Services - Release: SQL Server 2008 Integration Services Samples
This codeplex project includes a sample using SSIS with SQL 2008 to interact with SharePoint lists.
Microsoft have announced support for SQL2008 with SharePoint products and technologies.
Monday, August 18, 2008
Visual Studio 2008 SP1 is now available.
So is .Net Framework 3.5 SP1
Tuesday, August 12, 2008
Interesting article describing how to leverage the Federated Search features of the Infrastructure Update to search across a Geographically distributed SharePoint implementation.
Tuesday, August 5, 2008
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;
I downloaded the language pack from the following URL;
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.
Then I installed those language packs (after extracting them using WINRAR).
Even the installation is in that language :)
Tuesday, July 29, 2008
Microsoft have released some quite detailed documentation about installing MOSS 2007 including installation on Windows Server 2008.
Sunday, July 20, 2008
I decided to try installing the Podcast Kit for SharePoint on one of my Virtual Machines.
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.
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.
Wednesday, July 16, 2008
New major update for SharePoint with federated search capabilities, Content Deployment Updates, usability and performance updates too...
Sunday, July 13, 2008
Since I am looking at Content Deployment at the moment, I found this hotfix information which looks like it would be valuable...
Friday, July 11, 2008
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...
Friday, June 13, 2008
This is a great post describing how to use group membership to limit the import of user profiles from Active Directory.
Wednesday, June 11, 2008
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)
Monday, June 9, 2008
I was getting Error: Access Denied to my SSP in a new installation even though I was logged in as administrator.
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.
Thursday, June 5, 2008
Hooray! Support for VS2008 and it is available for download....
Wednesday, June 4, 2008
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;
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.
Tuesday, June 3, 2008
Thursday, May 15, 2008
Great tip in this blog to find out the list of site templates available. I was writing code to get this list, but this is much simpler;
View the source behind this page; http://website/_layouts/templatepick.aspx
Wednesday, May 14, 2008
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)
Tuesday, May 13, 2008
Serve's Sharepoint Blog: How to programmatically change the site quicklaunch, treeview, subsites and navigation settings (WSS v3 + MOSS 2007)
A handy entry describing how you need to use the PublishingWeb object to modify the navigation in a publishing site through the API .
I tried Michael Gannotti's trick of turning features off before saving the site template and on after creating the site collection, but still no joy. Looks like I will create a site definition instead.
Saturday, May 10, 2008
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.
Thursday, May 8, 2008
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.....
Sunday, March 16, 2008
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.
Saturday, March 15, 2008
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;
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.
And then... I realised that I needed to set permissions on the entity in the BDC
And HOORAY! It worked!
Friday, March 14, 2008
Thursday, March 13, 2008
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'.
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;
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)
Hmm, still not displaying the Hello World in the web part, and IE is crashing....
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.
The SharePoint capacity planning tools are released.
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.
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.
Monday, March 10, 2008
Sunday, March 9, 2008
I am about to start using my Windows 2008 VM, so this info should be very helpful...
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;
Check out the Silverlight Blueprint for SharePoint site
I am looking forward to trying out some of the dev options using;
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
Friday, March 7, 2008
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...
Sunday, February 24, 2008
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 :|)
Saturday, February 23, 2008
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
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....
Sunday, February 17, 2008
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;
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.
When I tried to access the ReportServer or Reports from the browser however, I received these errors;
I checked the rsreportserverconfig to make sure the URLRool and WebServiceAccount were correctly configured.
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.
Continuing my journey of trying to install MOSS on Windows 2008, I came across a couple of other issues.
When I tried to start Excel Services, I received the following error;
Failed to resolve the site ID for ‘Office Server Web Services’
I found this post which has a work around Click Here
It shows a Powershell script
Start Powershell and run the following command;
Exit Powershell and Restart it.
The following is the script to start Excel Services
Set-Alias stsadm $env:CommonProgramFiles"\Microsoft Shared\Web Server
stsadm -o provisionservice -action start -servicetype "Microsoft.Office.Excel.Server.ExcelServerSharedWebService,Microsoft.Office.Excel.Server, Version = 126.96.36.199, Culture = neutral,PublicKeyToken = 71e9bce111e9429c"
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
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 :)
Tuesday, January 22, 2008
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 ConfiguratorThe 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.
Nice article from Joel Oleson about Geographically distributed MOSS environments with a list of partners providing solutions to various categories of issues.
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.
I copied the section to a new document.
Created a new macro and added the following line;
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...
Tuesday, January 15, 2008
There is a new iFilter pack available which has filters for OneNote, Visio, Zip and Office 2007 documents.
Friday, January 11, 2008
Tuesday, January 8, 2008
This article contains a lot of useful info about boundaries with MOSS 2007
This is a very good article on MOSS Site Collections;
Sunday, January 6, 2008
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....