VBRuntime error: 'Error in Utility::Logger::Class_Initialize...Method '~' of object '~' failed, LN=2 (NETIQKB39510)

  • 7739510
  • 02-Feb-2007
  • 21-Jun-2007

Resolution

fact
Directory and Resource Administrator 7.x

symptom
VBRuntime error: 'Error in Utility::Logger::Class_Initialize...Method '~' of object '~' failed, LN=285' appears in Application Log on DRA Web Console machine.

symptom

The following event is written to the Application Log on the Web Component computer:

Event Type: Error
Event Source: VBRuntime
Event Category: None
Event ID: 1
Date:  4/14/2004
Time:  2:05:46 PM
User:  N/A
Computer: Computer_name
Description:
The VB Application identified by the event source logged this Application DraWCFramework: Thread ID: 4392 ,Logged: Error in Utility::Logger::Class_Initialize, -2147467259, Method '~' of object '~' failed, LN=285



cause

The user logged on to the Directory and Resource Administrator (DRA) Web Console does not have access to write to the Web Console logs.

The Web Console logs are different from the other logs in DRA because the Web Console runs on the Microsoft IIS server under the identity of the logged on user. If the user account does not have write access to the Web Console log folder, this problem will occur.



fix

To correct this issue:

  1. Open the DebugInfo.asp file (located at \Inetpub\wwwroot\DraWeb\WebConsole) in Microsoft Notepad.
  2. Check the line:


    Application("LogLocation")=....


    If it is set to "%default%", then the Web Console log directory should be be C:\WINDOWS\temp\Mission Critical Software.
  3. Give 'Authenticated Users' Modify and Write access on the Web Console log directory.


Additional Information

Formerly known as NETIQKB39510