Archive for July, 2011

Office 365 and SharePoint Online

July 14, 2011

Office 365 was released as an office hosted Microsoft solution, encompassing Microsoft Exchagne, Professional Plus, Lync and SharePoint 2010. This is the BPOS replacement and is worth upgrading your existing solution or see what is on offer .

I have been using the SharePoint Beta release for a while, it’s an easy, simple collaboration piece of software. Pricing wise, it will save your business stacks of money, no server administrator, no backup team to call on, Microsoft deal with this all.

The snag, you’ll need a Microsoft partner to purchase the product. If you’re interested in the Office 365. Also, the pricing can be confusing.

Check the site: http://www.microsoft.com/en-gb/office365/plans.aspx for more information or.. contact me (uz_my_naz@hotmail.com) and I’ll assist you with your perfect plan!

SharePoint Foundation 2010 – Security Token Service unavailable

July 14, 2011

For a while I noticed a Event ID 3 error on my SharePoint deployment.

After much research, the solution to fix this is pretty simple!

Some background info: Under the health analyser, the security token service was marked as a service that could not start.

Event logs showed an error every hour, since the health analyser runs.

Error is:

Log Name:      Application
Source:        System.ServiceModel 3.0.0.0
Date:          7/14/2011 6:00:00 AM
Event ID:      3
Task Category: WebHost
Level:         Error
Keywords:      Classic
User:          NETWORK SERVICE
Computer:      109-104-81-240
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/41149443
Exception: System.ServiceModel.ServiceActivationException: The service ‘/SecurityTokenServiceApplication/securitytoken.svc’ cannot be activated due to an exception during compilation.  The exception message is: Exception has been thrown by the target of an invocation.. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.InvalidOperationException: The farm is unavailable.
at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()
at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor()
— End of inner exception stack trace —
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateSecurityTokenServiceConfiguration(String constructorString)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
— End of inner exception stack trace —
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 53044

I resolved this issue by going into IIS, going to the security token application pool, advanced and saw that “enable 32-bit applications” was set to true, change this to false, re-run the analyser and bamb! Problem solved. 🙂

 

Hope this helps.