none
SharePoint is not supported with version 4.0.30319.239 of the Microsoft .Net Runtime.

    Question

  • I am continuing to get this error when trying to create a site collection using WSP. I have been able to create site collections via SP2010 Central Administration. Anyone have any idea why this might be happening and what I need to do to correct it?
    Thanks.
    An error occurred while creating SharePoint site collection. 
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD_SITE_COLLECTION' task on 'http://TestID.domain.com' HOSTEDSHAREPOINT ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.PlatformNotSupportedException: Microsoft SharePoint is not supported with version 4.0.30319.239 of the Microsoft .Net Runtime. Server stack trace: at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm() at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined) at Microsoft.SharePoint.Administration.SPWebApplication.Lookup(Uri requestUri, Boolean fallbackToHttpContext) at WebsitePanel.Providers.HostedSolution.HostedSharePointServerImpl.CreateSiteCollection(Uri rootWebApplicationUri, SharePointSiteCollection siteCollection) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at WebsitePanel.Providers.HostedSolution.HostedSharePointServerImpl.CreateSiteCollection(Uri rootWebApplicationUri, SharePointSiteCollection siteCollection) at WebsitePanel.Providers.HostedSolution.HostedSharePointServer.<>c__DisplayClass5.b__4(HostedSharePointServerImpl impl) at WebsitePanel.Providers.HostedSolution.HostedSharePointServer.ExecuteSharePointAction[TReturn](SharePointAction`1 action) at WebsitePanel.Server.HostedSharePointServer.<>c__DisplayClass6.b__5() at WebsitePanel.Server.HostedSharePointServer.ExecuteAction[TReturn](Action`1 action, String actionName) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at WebsitePanel.EnterpriseServer.Code.SharePoint.HostedSharePointServerController.AddSiteCollection(SharePointSiteCollection item) --- End of inner exception stack trace --- at WebsitePanel.EnterpriseServer.Code.SharePoint.HostedSharePointServerController.AddSiteCollection(SharePointSiteCollection item) --- End of inner exception stack trace ---
    Wednesday, January 04, 2012 2:49 AM

Answers

  • .Net version 4 is not supported by SharePoint 2010 so you need to put this work around in place

    http://websitepanel.codeplex.com/wikipage?title=How%20To%20Run%20Hosted%20Solution%20Services%20with%20WebsitePanel%20v1.2.0

     

    • Marked as answer by jkisha Sunday, January 08, 2012 12:37 AM
    Sunday, January 08, 2012 12:12 AM

All replies

  • Thought I might try bumping this up. 
    Saturday, January 07, 2012 11:53 PM
  • .Net version 4 is not supported by SharePoint 2010 so you need to put this work around in place

    http://websitepanel.codeplex.com/wikipage?title=How%20To%20Run%20Hosted%20Solution%20Services%20with%20WebsitePanel%20v1.2.0

     

    • Marked as answer by jkisha Sunday, January 08, 2012 12:37 AM
    Sunday, January 08, 2012 12:12 AM
  • Thank you SO MUCH!!!
    Sunday, January 08, 2012 12:38 AM