473,765 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

need advices on Global Error Handling in VB.Net

does anyone know any site or ariticle provides exmaple for building a
Global Error Handling Module in VB.Net? the module should be able to
1. prouduce friendly generic error msg for the users and gracefully
exit the app.
2. capture vital error info for developers (such which application,
where in the application, what type of error such as network, database
connection, VB and so on, and error details) into a sql database for
diagnosis.

also,need good exmaples for managing application data access and
connections in VS.Net projects.

thank you

Aug 23 '06 #1
2 1407
Steve,

Is this enough to start with, Jay has been a time very intensive busy with
that.

http://groups.google.com/group/micro...rch+this+group

I hope this helps,

Cor

"===Steve L.===" <st*******@powe lls.comschreef in bericht
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
does anyone know any site or ariticle provides exmaple for building a
Global Error Handling Module in VB.Net? the module should be able to
1. prouduce friendly generic error msg for the users and gracefully
exit the app.
2. capture vital error info for developers (such which application,
where in the application, what type of error such as network, database
connection, VB and so on, and error details) into a sql database for
diagnosis.

also,need good exmaples for managing application data access and
connections in VS.Net projects.

thank you

Aug 24 '06 #2
<Shameless Plug>
www.bugsentry.com
</Shameless Plug>

Drop it into your code and it sends you an encrypted error report
automatically. You still need to write the try/catch blocks, but it
handles all the reporting aspects automatically.

-Brian

Aug 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
5630
by: MLH | last post by:
A97 Topic: If there is a way to preserve the values assigned to global variables when an untrapped runtime error occurs? I don't think there is, but I thought I'd ask. During development, I'm constantly running tests on imperfect code. On of the cumbersome jobs encountered is reassigning global vars their values after a close encounter with an untrapped runtime error. Rather than writing a procedure to simply reassign them all with a...
2
6964
by: VM | last post by:
Is it possible to intercept all exception errors into one Try...Catch? I've tried wrapping Application.Run() in a Try...Catch, but it doesn't seem to work all the time. Thanks.
1
1872
by: VSK | last post by:
Hi all, For a web application if we are using web farm, and if i want to do Global Error handling can i use Applicatio_Error() method in global.asax. Now in this method i will call business object which will log the exception details into database, file etc....... am not sure if there will be any performance issues or any other issues in web farm , when many users get exception at the same time and try to access the Applicatio_Error()...
5
2096
by: OHM | last post by:
Hi everyone, I have a problem with error handling and wondered if anyone has managed to implement a global exception handling model. Is it possible to ensure that you see all exceptions before it becomes an unhandled exception. This is opposale to putting Try Catches around every statement
3
1364
by: mateo | last post by:
Hello i would like to have advices on an ASP.NET 2 application that i must develop. I'm new to ASP.NET, i am more of WinApp developper, so if there is some experienced folks out there all advices are welcome. So there it is, i'm developping an asp application that will be accessed by many workers in a company. The app is basically dealing with parts and customers (we sell pieces off all kind and we have lot's of customers). My database...
3
2327
by: Doug | last post by:
Using Visual Studio 2005, SQL Server 2000, and ASP.NET/VB.NET for a Web Application. We have a System DSN using Windows NT authentication defined on the development box to connect to the SQL Server (both SQL and IIS are on the 192.168.1.2 server). We have "Identity Impersonate=true", and "CustomErrors mode=On" and "defaultRedirect="ErrorHandler.aspx" in web.config.
24
3509
by: onnodb | last post by:
Hi all, Currently, I'm working on an Access XP database app that uses two global objects in its code. These two objects are instances of "controller classes". For example, one of them manages the multiple open instances of a form (some sort of 'window manager'). These global objects are created in a module "General", by defining them with e.g.:
7
1686
by: Jason Kester | last post by:
Best I can tell, there are three basic ways you can deal with global error handling in ASP.NET. Namely: 1. Derive all your pages from a custom Page class, and override OnError() 2. Specify a custom 500 handler in Web.Config 3. Specify a custom 500 handler in IIS
1
1341
by: John | last post by:
Hi I have a winform app with try/catch error handling implemented in key areas. Problem is errors can occur in other areas in situations that I may not foresee. Is there a way to implemented a global error handler which takes over if an error occurs that is not caught by other try/catch? Thanks Regards
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.