.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to set up microsoft application blocks 4.0 to talk to event viewer

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

I need to set up the microsoft application blocks 4.0 on the server and connect it to my web project.  I need to set it up so that all the errors are logged in the event viewer.  So far I have found out how to set up a flat file listener and send the error to a log file but, not to the event viewer.  Any suggestions would be helpful.

    View Complete Post

    More Related Resource Links

    SharePoint 2007 workflow problem Application Event Viewer shows Event 1314

    I created a state machine workflow that works well in a test environment with only one user. When attempting to run the workflow in the production environment, the user sees the message operation in progress. The workflow will not continue. The event log on the server shows Event ID 1314, Event Code 4011. It looks like this has something to do with permissions on the server but I'm not sure where to go from here. I've Googled this and not been able to find a resolution. Any help would be appreciated.

    Microsoft's Collaborative Application Markup Language (CAML) Loop

    discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

    MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

    The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

    Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

    View. The view manages the display of information.

    Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

    Application Blocks


    What are microsoft application blocks and how to use them ? 

    Microsoft Application Block for Data Access in .NET


    Hi all,

    I was rummaging the internet learning aspx and came across the concept of: Microsoft Application Block for Data Access in .NET

    It seems great of course. The articles are all early 2003-5 such as


    So the question is - is this tech still relevant and should I be using it?



    Enterprise Library: Take Exception To Critical Errors With Custom Application Blocks


    Enterprise Library is a collection of application functionality blocks that you can re-use in your application for common functionality you'd otherwise have to write again and again. Here Jay Hilyard explains how to use them.

    Jay Hilyard

    MSDN Magazine September 2006

    ISA Server 2004: Developing an Application Filter for Microsoft Internet Security and Acceleration S


    The beta version of Internet Security and Acceleration (ISA) Server 2004 is now publicly available. It includes a rich SDK with several extensibility mechanisms that allow third parties to integrate their specialized solutions on top of the ISA platform. In this article, the author explores the application filter extensibility mechanism, which enables you to add high-level application layer filtering capabilities to ISA Server and to provide rich content filtering solutions. He also highlights the new features of the ISA Server 2004 SDK, then moves on to describe how to develop a basic application filter that monitors all data going through the ISA Server, and how to integrate a filter into the ISA Server management console to create a seamless interface experience for your users.

    Yigal Edery

    MSDN Magazine March 2004

    Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere


    If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.

    Paul Yao and David Durant

    MSDN Magazine November 2002

    C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework


    When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.

    Avi Ben-Menahem

    MSDN Magazine September 2001

    Avoiding DLL Hell: Introducing Application Metadata in the Microsoft .NET Framework


    The Microsoft .NET platform uses metadata and assemblies to store information about components, enabling cross-language programming and resolving the infamous DLL Hell problem. This article describes the use of metadata for easy linking and loading of assemblies, the relationship between metadata and concepts such as IDL and type libraries, and the metadata hierarchy. The process of reading metadata from assemblies for easy versioning is also described. Although Microsoft provides the MSIL disassembler, IDLASM, and MetaInfo.exe for accessing metadata, the author provides two sample programs that read metadata using the unmanaged metadata interfaces and the Reflection API.

    Matt Pietrek

    MSDN Magazine October 2000

    Upsize Your Database: Convert Your Microsoft Access Application to Take Advantage of SQL Server 7.0


    What if you need to convert an existing Microsoft Access 97 database application into a true client-server application that is based on a SQL Server back end? If you know a little about Visual Basic and SQL Server, it's easy to make your app take advantage of the power and scalability provided by SQL Server 7.0. Using some concrete code examples, this article takes you step by step through converting the native Jet queries in your Access application into stored procedures and pass-through queries that SQL Server can use. You'll also learn how to pass on parameters when your client-server app calls these SQL Server stored procedures and queries.

    Michael McManus

    MSDN Magazine June 2000

    Microsoft Report Viewer control to display data on one page


    Hello everyone,

    I am wondering if the Microsoft Report Viewer control allows for display changes.  Say for instance a user wants would like to see all the data requested then another time would like to toggle thru the pages of infomation.  So does anyone know if the control allows for display changes from complete view to paginated viewing.  I am using MS VS 2008 with ASP.NET 3.0.  Thanks for your response.


    how to create report on the fly using microsoft report viewer ?

    hi,Is it possible to create report on the fly using microsoft report viewer in vb.net 2005 ?Developer

    Event 2436 - old application server cannote be crawled

    DISCLAIMER:  I'm not a sharepoint admin...I inherited this after the former admin left...so be gentle. BACKGROUND:  We replaced at some point the original "application server" with a new one.  The old was called "fwmspapp" and the new is "fwmspapl"   I'm getting the following errors in the event logs on the new application server: Event Type: Warning Event Source: Windows SharePoint Services 3 Search Event Category: Gatherer Event ID: 2436 Date: 8/30/2010 Time: 9:50:03 AM User: N/A Computer: FWMSPAPL Description: The start address <sts3://fwmspapp:8270/contentdbid={083c7ae0-bc68-405e-a5e8-12eae72f1718}> cannot be crawled. Context: Application 'Search index file on the search server', Catalog 'Search' Details: The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. (0x80041200) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Followed by:   Event Type: Error Event Source: Windows SharePoint Services 3 Search Event Category: Gatherer Event ID: 2424 Date: 8/30/2010 Time: 9:50:03 AM User: N/A Computer: FWMSPAPL Description: The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Application 'Search'

    How to use the Microsoft Report Viewer in Miscorosft Visual Studio 2008?

    Currently, I need to use this Microsoft Report Viewer to create several reports. The problem I'm having is that within the Microsoft Report Viewer, there are 2 functions that I needed some coding help. The 2 functions are the print function and also the export function. I'm connected to the local host only for this project. Please provide some code example on these 2 functions. Thank you so much.    

    Application level event without global.asax

    I have a need to add an application level event (like Application_Start) but not in global.asax.  The reason that I can't use global.asax is because this is a web application for which I don't have source code but I want to add some functionality to it.  I need to insert an application start code and was wondering it there was anyway to do it.  I'm not sure that if I add a class or aspx page to the sie if it will dynamically compile since this is a web application.  I know this is a crazy request but let me know what you think.Also, this web site was written in .NET 2.0.Thanks.
    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend