Application Exception Manager
Hello,
The downloaded content and online documentation is pretty skinny in terms of how to get the application running. It does look like a very useful application, so would be gratefult if someone could help me to get it set up.
Points I need clarifying are:
- where to point the Url for the dialog reportin
- what settings I need to change in Gemini to allow the remote application to send the errors
- how to set up the application to automatically send reports of ALL errors thrown by my application.
If you can help me, your efforts genuinely would be appreciated.
Big_Banana
· 1 |
|
Thursday, May 27, 2010, 11:45:58 AM |
0
|
The url should be your Gemini url (eg. http://mygemini.mycopany.com). |
||||
|
0
|
Hi Mark, |
||||
|
0
|
Just to clarify I am trying to send an exception to using the TestApplication. |
||||
|
0
|
This is the code to use: GeminiExceptionForm form = new GeminiExceptionForm(); // Creating an instance of the formform.FormCaption = "Application Error!"; form.GeminiURL = YOUR URL; form.UserName = YOUR USER; form.Password =YOUR PASSWORD; form.ProjectID = 8; // Set to a valid project id form.IssueSeverity = 7; // Set to a valid severity form.IssuePriority = 6; // Set to a valid priority form.IssueResolution = 1; // Set to a valid resultion form.IssueType = 15; // Set to a valid type form.RiskLevel = 1; form.ComponentID = 82; // Set to a valid component form.FixedInVersion = 0; form.VersionID = 84; // Set to a valid version id form.Visibility = GeminiConstant.GLOBALGROUPEVERYONE; form.VisibilityMemberType = GeminiConstant.SecurityMemberType.GlobalGroup; form.UserID = YOUR USER ID; form.HostApplicationName = "YOUR APP" form.ShowForm(e.Exception); At the moment you can't send the issue without showing the form. |
||||
|
0
|
Take a look at this post I found which helps you understand how to post an issue programmatically, without a form being shown. https://community.altiusconsulting.com/blogs/altiustechblog/archive/2010/05/18/simplifying-system-issues-reporting-technical.aspx I used the LutzReflector to look at how the sample form worked and that helped me. Look at the form.ReportIssue() method. |
||||
|