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

Eqatec Analytics Query

15 Answers 67 Views
General discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Guest
Top achievements
Rank 1
Guest asked on 18 Aug 2011, 09:39 AM
Hi ,I 'm trying you application for analysis of our web application . I liked it very much , however there are certain queries that i want to know? 1) Detailed documentation of how to log errors and stake trace.on Eqatec Analytics tool.2) Exception case details : Can I know the exact line number and function where the error occured?and also some stake trace.? if yes how??3) can i know the exact location within the country where the application is running? if yes how?Please reply me as soon as possible.Thanks,vikas patyal

15 Answers, 1 is accepted

Sort by
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Vikas Thank you for trying out our product. We're glad you like it. Your questions: 1) You can find infomation on how to track exceptions here: http://support.eqatec.com/entries/20329726-quick-guide#Exceptions and how to log messages here: http://support.eqatec.com/entries/20329726-quick-guide#LogMessages You can find more detailed information in our API documentation here: http://api.eqatec.com/analytics/dotnet/ 2) When you log an exception in .Net you will get a full stacktrace, but you won't get exact line numbers. I will encourage you to try it out for your self. Just throw an exception, catch it and track it with the monitor as described in the links above. Then go to the exception section of your product in the analytics client and review the information. 3) You can find the exact country of your users by using the World Map section of the analytics client. I hope this helps best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Thomas, Thanks for the reply. I have gone through the information on how to track exceptions. I have also tried to catch an exception and track it with your tool but my question is : Is it possible with Eqatec Analytics client to get the exact line number where the exception has occurred? For now ,In the Exception section, I 'm getting only the method where the exception has occurred and that's not enough for me. Thanks, Vikas Patyal
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Vikas It can only provide you with line numbers if you deploy the pdb file as well as the dll or exe. Try the same scenario as before only this time with the pdb file. Then the line numbers should appear. best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Thomas , I'm using .net 4 framework and Silverlight 4 for my application . can you please Tell me the step by step procedure for deploying the pdb file? Thanks, Vikas Patyal
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Vikas This makes it a bit more complicated. Your Silverlight app is send to the browser in a xap file which is basically a zip file containing the assemblies used. I haven't tried this myself but you could try to repackage the xap file with the pdb files. To do this you'll have to 1.Rename the extension to zip. 2.Unpack 3.Add pdb files 4.Zip the files 5.Rename back to .xap 6.Deploy the silverlight app The xap file is in the clientbin directory of the website hosting your silverlight app. Remember if you work in your development environment and rebuild after these steps then you'll have to start over. Is this something you wan't to add to your final deployed version? Or is it to debug some specific problem? Let me know if you are successfull. best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Thomas, Today I have started the application but I can't see the number of usage or any other data in your Eqatec Analytics client (only previous data is available) What could be the reason. Am i doing anything wrong ? Also I have deployed the application with pdb file in the bin folder . but same result . No data shown in Eqatec Analytics client . Please reply as soon as possible. Thanks, Vikas Patyal
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Did you package the xap as described? Where in the silverlight app are you calling start and stop on the monitor? best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
This code was working perfectly on friday . we were able to gather the data.That's why we liked this tool very much . But now I'm starting the application and could not see the updation in the data in Eqatec Analytics client. Calling Start in silverlight : 1) App.xaml.cs file => Application_Startup event .=> EQATEC.Analytics.Monitor.AnalyticsMonitorFacade.Create("****"); EQATEC.Analytics.Monitor.AnalyticsMonitorFacade.Start(); Stop I havn't user yet . Thanks, Vikas Patyal
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
The data is send when calling stop, or when for example you are sending exceptions. Try to put stop in the app like below it will be called when the tab is closed in the browser. ... this.Exit += this.Application_Exit; ... private void Application_Exit(object sender, EventArgs e) { m_Monitor.Stop(); } best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
I have use the below code to send log messages : EQATEC.Analytics.Monitor.AnalyticsMonitorFacade.SendLog("Testing for log messages"); I have used the below code to send exceptions : catch (Exception ex) { Exception exc = GetExceptionWithSomeStaktrace(); EQATEC.Analytics.Monitor.AnalyticsMonitorFacade.TrackException(ex, "Vikas is testing this tool"); } I have attached a image which shows the data captured till 19th of august. Now It's not working . I have also used: private void Application_Exit(object sender, EventArgs e) { m_Monitor.Stop(); } But still no data updated . Thanks , Vikas
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Are you running in a debug environment? If so have you verfied the monitor is called? Also if you are running from visual studio try to stop the cassini web server and start the app again. You'll find it in the system tray. best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Thanks Thomas. My 1st issue is resolved . I can now see the number of usages. but the major problem is I still can't see the exception detail (line number and event/method). I am using visual studio development server . I have used your way of packaging the .xap. but still no exception detail I have also deployed the application in IIS, to check the exception detail, but no result. Getting the details of the exception occurred is very important for our organisation. Thanks , Vikas
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Glad you resolved the first issue. I will have to test your scenario myself to see if i can make it work. Hope to try it out tonight. I'll get back to you as soon as i have an answer. best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi vikas I have researched a bit about your problem and you'll have to experiment with getting the pdb files deployed on your IIS and deployed to the client. If you google the problem you'll find that others are trying the same. Try this for example http://www.jeff.wilcox.name/2007/08/silverlight-debugging-pdb-reminder/ If you succeed please let us know. best regards, Thomas Andersen EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 18 Aug 2011, 09:39 AM
Hi Vikas I will go ahead and close this ticket. Feel free to contact us if you have anymore questions. best regards, Thomas Andersen EQATEC Team
Tags
General discussion
Asked by
Guest
Top achievements
Rank 1
Answers by
Guest
Top achievements
Rank 1
Share this question
or