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/