none
Not able to Create Session RRS feed

  • Question

  • Hi,       

    This is my setup CSF 3.0 Dev Lite running in Windows XP Professional. I am trying to create a Synchronous session from an ASP.Net web application. I am getting the following exception message at the CreateSessionResponse method.

    System.Web.Services.Protocols.SoapException was unhandled by user code  Message="Microsoft.ConnectedServices.Sdk.Messaging.SoapFaultException: An internal server error occurred. Your call was not processed. Contact the site administrator for details.\n   at Microsoft.ConnectedServices.Sdk.Client.MessageSender.SendSync[TResponse](Message message, String defaultNamespace)\n   at Microsoft.ConnectedServices.Sdk.Client.MessageSender.SendSync[TResponse](Message message)\n   at SyncSessionInitiator.SessionInitiator.ExecuteTransactionWithSession(Message message) in 
    Source="System.Web.Services"  Actor="http://localhost/Session30/SessionManagerAdmin.ashx"  Lang=""  Node="http://localhost/Session30/SessionManagerAdmin.ashx"  Role=""  StackTrace:       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 SessionInitiatorService.SessionInitiator.ExecuteTransactionWithSession(XmlElement[] data) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\syncwebclient\86169947\4f747c3e\App_WebReferences.esdns20z.0.cs:line 140       at SyncClient.SyncClient.invokeBT_Click(Object sender, EventArgs e)  System.Web.UI.WebControls.Button.OnClick(EventArgs e)       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)       at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Any one there please help me out from this issue.
    Thanks in advance.
    Friday, April 13, 2007 9:48 AM

Answers

  • I hope you are code looks something like this

     

           MessageSender messageSender = new MessageSender();

             CreateResponse response = messageSender.SendSync<CreateResponse>(message);

     

    and not like this

     

             MessageSender messageSender = new MessageSender();

             messageSender.SendAsync (message);

     

    First approach is synchrohous and second approach is asynchronous.

     

    Thanks

    Tuesday, May 1, 2007 7:44 PM