Error in EPiServer WSRP (Beta) when consuming from Sharepoint WSRP Producer

Vote:
 

Hi,

We are trying to consume Sharepoint webparts in EPiServer 6 portal using WSRP (Beta).
When trying to add a sharepoint portlet available under catalog zone to ExtendedZone, error occurs.
ERROR [1] EPiServer.WebParts.WebControls.Wsrp.PortletManager.GetPortletWindowSession - Error occured because of:
System.NullReferenceException: Object reference not set to an instance of an object.

Sharepoint Environment
Version : WSS 3.0
Server : Windows Server 2003
Authentication Mode : Windows   (Impersonate = true)
Impersonation
Installed : WSRP ToolKit for Sharepoint 2007
http://archive.msdn.microsoft.com/WSRPToolkit

EPiServer Environment
Version : EPiServer 6
Server :  Windows Server 2003
Authentication Mode : Windows   
Installed : WSRP (Beta)
http://world.episerver.com/Download/Items/EPiServer-CMS/EPiServer-CMS-60/WSRP/

In EPiServer 6 Admin Mode, under Config >
1) WSRP Sources
The SharePoint WSRP producer webservice has been successfully registered and responded as expected.

2) Register Web Parts
The sharepoint portlets are being consumed
- EpiServer Announcements
- Sharepoint Calendar AllEvents
- Sharepoint Calendar Current Events
- Sharepoint Links

I have created a WSRP Consumer page type.
When trying to add a sharepoint portlet available under catalog zone to ExtendedZone, page throws error.
The error logged in EPiServer log file is as below.

2011-10-05 09:10:28,875 INFO [1] EPiServer.UI.Util.PixelImg.SendLogMessage - Page|/_LM_W3SVC_2091148258_root/Root/Public1/Examples|39|CORPUSERS\Administrator|ss5qqr552l4fa055o3btz223|http://localhost:8888/CMS/CMS/edit/EditPanel.aspx?id=39||
2011-10-05 09:10:53,843 WARN [PipeServerChannel.ServerMain] Microsoft.Samples.Runtime.Remoting.Channels.Pipe.DBG.Warning - 18.3.1 Scheduler error:  Terminating client connection: Error reading from pipe 4180: error 109
2011-10-05 09:11:01,031 INFO [20] EPiServer.UI.Util.PixelImg.SendLogMessage - Page|/_LM_W3SVC_2091148258_root/Root/Public1/Examples/Sharepoint-Consumer|58|CORPUSERS\Administrator|d1corb55wwpj0ozxno4ky3rk|http://localhost:8888/CMS/CMS/edit/EditPanel.aspx?parent=39&type=3&mode=||
2011-10-05 09:11:03,546 INFO [1] EPiServer.UI.Util.PixelImg.SendLogMessage - Page|/_LM_W3SVC_2091148258_root/Root/Public1/Examples/Sharepoint-Consumer|58|CORPUSERS\Administrator|0bc1fkn4xhmqc145mmoh1245|http://localhost:8888/en/Examples/Sharepoint-Consumer/?idkeep=True&id=58_81||
2011-10-05 09:11:06,468 ERROR [1] EPiServer.WebParts.WebControls.Wsrp.PortletManager.GetPortletWindowSession - Error occured because of:
System.NullReferenceException: Object reference not set to an instance of an object.
   at EPiServer.Wsrp.Consumer.Driver.DefaultSessionCollection.GetUserSession(String producerId, String userId)
   at EPiServer.Wsrp.Consumer.Driver.DefaultClientPage.GetPortletWindowSession(IWsrpPortlet portlet, String windowId)
   at EPiServer.Wsrp.Consumer.Driver.DefaultClientPage.GetPortletWindowSession(String windowId)
   at EPiServer.WebParts.WebControls.Wsrp.WebPartClientPage.GetPortletWindowSession(String windowId)
   at EPiServer.WebParts.WebControls.Wsrp.PortletManager.GetPortletWindowSession(String windowId)
2011-10-05 09:11:06,468 ERROR [1] EPiServer.Global.Global_Error - 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at EPiServer.WebParts.WebControls.Wsrp.WsrpWebPart.get_IsMinimized()
   at EPiServer.WebParts.WebControls.Wsrp.WsrpWebPart.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.templates_wsrp_pages_portal_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

#54202
Oct 05, 2011 10:16
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.