This is a migrated thread and some comments may be shown as answers.

OpenAccess Profiler won't connect to service

3 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jason Maronge
Top achievements
Rank 1
Jason Maronge asked on 13 Sep 2011, 03:18 PM
I am not having any luck getting the Profiler to work.  I have done everything the docs say to do.  I can now get it started using

Exception ex = ServiceHostManager.StartProfilerService(15556);

It returns null so I assume the service has been started, but when ever I try to connect to it in Profiler I get the error below.   I have turned off all firewalls with no luck.  What else could be causing this to happen? 

System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9939997'. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
   --- End of inner exception stack trace ---
 
Server stack trace:
   at System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing)
   at System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
   at System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionUpgradeHelper.InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, IConnection& connection, ClientFramingDecoder decoder, IDefaultCommunicationTimeouts defaultTimeouts, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.StreamedFramingRequestChannel.SendPreamble(IConnection connection, TimeoutHelper& timeoutHelper, ClientFramingDecoder decoder, SecurityMessageProperty& remoteSecurity)
   at System.ServiceModel.Channels.StreamedFramingRequestChannel.StreamedConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.StreamedFramingRequestChannel.StreamedFramingRequest.SendRequest(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 
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 Telerik.OpenAccess.ProfilerClient.ProfilerService.IProfilerService.GetServiceVersion()
   at Telerik.OpenAccess.ProfilerClient.ClientService..ctor(String server, Int32 port)
   at Telerik.OpenAccess.ProfilerDataAdapter.OnlineLogEventAdapter.Run()


Any help would would be appreciated.

Thanks,

Jason

3 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 13 Sep 2011, 04:11 PM
Hello Jason Maronge,
Can you update to the latest internal build, we have made the server a little bit more robust. You have to use the same OpenAccess version at the server and client side.

All the best,
Jan Blessenohl
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

0
Jason Maronge
Top achievements
Rank 1
answered on 13 Sep 2011, 04:48 PM
I am using version 2011.2.908.1 but with the hotfix for sql azure.

0
Jan Blessenohl
Telerik team
answered on 14 Sep 2011, 12:29 PM
Hello Jason Maronge,
Just found an issue on our side but it looks like it appears only on machines without Service Packs installed. I got it working by using the ip address of the server name and by using port 8080. Can you tell me the patch level of your machines and if it works with using the ip address?

Best wishes,
Jan Blessenohl
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's SQL Server Community Awards. We are competing in TWO categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
Jason Maronge
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Jason Maronge
Top achievements
Rank 1
Share this question
or