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

Profiler Issue - I can connect but I see nothing

10 Answers 160 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.
Seabus
Top achievements
Rank 1
Seabus asked on 15 Jul 2011, 09:27 PM
Hi,

I upgraded to the latest version of OpenAccess and I did all the steps described in the help document to set up the Profiler for real time monitoring.

Unfortunately even though the Profiler can connect to the server succesfully  --  I don't see any statements in the "Profiler" ( as I'm browsing my web app that uses OpenAccess  )

Are you familiar with this issue ? What could be wrong ?

I also need to explain how my solution is organized:
I have two projects : # 1 is "App.MyProject" and #2 is "OpenAccess.MyProject" ..... OpenAcess.MyProject contains the OpenAccess stuff and App.MyProject contains just the web pages that use the ORM ....  I added the reference to ServiceHost to both projects.  I put the lines to start and stop the server in the Global.asax.cs file of the App.MyProject project.


Any help would be greatly appreciated.
Seabus

P.S OpenAccess is a great product and the Telerik people who hang out on this message board and answer questions always do a great job and are an extraordinary resource.

10 Answers, 1 is accepted

Sort by
0
Michael Josiah
Top achievements
Rank 1
answered on 16 Jul 2011, 04:31 AM
Go to your backend settings for your model and make sure logging level is at least set to default. I bet its currently set to error monitoring which would explain why you cant see any logs.
0
Alexander
Telerik team
answered on 18 Jul 2011, 04:24 PM
Hi Seabus,

Michael is right, this could be the reason why you are not seeing any events. If you change to a higher log level but still do not see any events, please check if there are any errors in the status bar:


Clicking on the error icon would open the details dialog where you can see the full information about the exception.

Best wishes,
Alexander
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Kris
Top achievements
Rank 1
answered on 11 Aug 2011, 10:49 AM
Hi,

I have the same issue than Seabus for my project.
In real-time, i can connect, i see errors but nothing more

As you explain, i change the backend settings (tab : Tracing & logging )
I put LogLevel to normal and to all without any changes ...

Have I forgot something please ?

Thanks in advance.
Kris
0
Alexander
Telerik team
answered on 12 Aug 2011, 04:13 PM
Hi Kris,

You said that you see errors. Would you please click on the error icon to open the Errors & Warnings dialog and send us the exception message, probably it would lead us to the problem?

All the best,
Alexander
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Kris
Top achievements
Rank 1
answered on 12 Aug 2011, 04:25 PM
Hi Alexander,

Now, i have the following exception :

System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed. ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationObjectAbortedException: The socket connection has been disposed. ---> System.ObjectDisposedException: The socket connection has been disposed.
Object name: 'System.ServiceModel.Channels.SocketConnection'.
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SocketConnection.ThrowIfNotOpen()
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.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
--- End of inner exception stack trace ---
at System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout)
at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.MaxMessageSizeStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.SingletonConnectionReader.Close(TimeSpan timeout)
at System.ServiceModel.Channels.SingletonConnectionReader.SingletonInputConnectionStream.Close()
at System.ServiceModel.Channels.DelegatingStream.Close()
at System.Xml.XmlBufferReader.Close()
at System.Xml.XmlBaseReader.Close()
at System.Xml.XmlBinaryReader.Close()
at System.Xml.XmlReader.Dispose(Boolean disposing)
at System.Xml.XmlReader.System.IDisposable.Dispose()
at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)
at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeReply(Message message, Object[] parameters)
at System.ServiceModel.Dispatcher.ProxyOperationRuntime.AfterReply(ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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.GetEventsById(String databaseName, Int32 fromId)
at Telerik.OpenAccess.ProfilerDataAdapter.OnlineLogEventAdapter.Run()

The configuration may be correct because i have some logs in output trace when i execute my applicaiton.

0
Jan Blessenohl
Telerik team
answered on 16 Aug 2011, 05:02 PM
Hi Kris,
This looks like the connection to your running application has been closed. Can it be that you application is only running for a short time and the profiler is too slow to download the data?
If that is the case, just let your application run until the profiler shows some data.

Regards,
Jan Blessenohl
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Henk
Top achievements
Rank 1
answered on 07 Sep 2011, 04:02 PM
Hi,

I receive the same errors as Kris.
I am trying to use the profiler with my WCF RIA service.
Is it possible to use the profiler with a WCF RIA service?
0
Jan Blessenohl
Telerik team
answered on 08 Sep 2011, 04:15 PM
Hello Henk,
We have made the web service more robust in the next version. We are releasing a custom build by tomorrow. Is there a chance for you to upgrade?

Regards,
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
Henk
Top achievements
Rank 1
answered on 09 Sep 2011, 08:55 AM
Hello Jan,

It is no problem to upgrade.
Will this custom build be released as internal build from the Telerik website?
0
Jan Blessenohl
Telerik team
answered on 09 Sep 2011, 04:20 PM
Hi Henk,
I have just released the build, please download it under latest internal builds.

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
Seabus
Top achievements
Rank 1
Answers by
Michael Josiah
Top achievements
Rank 1
Alexander
Telerik team
Kris
Top achievements
Rank 1
Jan Blessenohl
Telerik team
Henk
Top achievements
Rank 1
Share this question
or