Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-366

log4NET DCOM registration not working

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • Builds
    • None
    • OS: Windows Server 2008 R2
      Application hosting server: IIS 7.5

    Description

      We have a classic ASP application running on IIS 7.5 on Windows Server 2008 R2

      There is a DLL build in the code to use Log4NET logging with an ASP application.

      So, In order for log4net to work on traditional ASP a DCOM object is used, which is "SuperMam.Logs2ASP.DLL"

      The following is done for the registration:

      1. REGASM with the following command:
      C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm "SuperMam.Logs2ASP.dll" /tlb /codebase

      2. Within Component Services, A new COM+ Application is created for Logs2ASP (running under user NETWORK_SERVICE) and inside this application create the component SuperMam.Logs2ASP by choosing it from the registered components.

      3. Now that the COM+ Application is configurable, The settings are changed by un-checking the check box for “enforce access checks for this application”

      4. Then DCOMCNFG is opened on 32 bit by using mmc -32 and adding the Component Services add-in, to make sure it recognizes the new application.

      But the problem we are facing is that Log4NET is never registered properly and due to which the application returns a HTTP 500

      Please help in solving the situation or suggesting the error

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            chirag.chandani@3pillarglobal.com Chirag Chandani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: