Delphi Technology Solutions - development, websites, computers and networks

Development   |   Computers & Networks   |   Websites   |   Products & Services   |   Client Success   |   News

David's Ramblings on Development

SharePoint, InfoPath, .Net and more




ISA errors

Share |
clock April 18, 2007 17:46 by author David Lozzi

Howdy,

 I came across this interesting error and well, couldn't find a solution online ANYWHERE! This is running on a Windows 2003 SP1 server, ISA 2004 SP1. Three services won't start: Microsoft ISA Server Job Scheduler; Microsoft ISA Server Control; Microsoft Firewall. When trying to start the ISA Server Control the MMC errors:

The Microsoft ISA Server Control service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.

Me not being satisfied with that, checked out the Application Log and discovered:

Event ID: 11004
Source: Microsoft ISA Server Control

Microsoft ISA Server Control failed to start. The failure occurred during Security Watchdog notification processing because the system call Apply failed. Use the source location 122.64.4.0.2165.594 to report the failure. The error description is: The device is not ready.

And this error was difficult to find online. Since I desperately needed this to work, I backed up my ISA configuration, then uninstalled and reinstalled ISA... and then reimported the config and it still works! I don't know what causes this kind of error or if there is an easier way to fix it, but a reinstall works.

If you happen to know how to fix this, please post a comment and share your findings!





Enable Trace Logging with UniObjects.Net

Share |
clock April 6, 2007 17:46 by author David Lozzi

This is sucked from IBM document Q00764, don't hold me responsible if this doesn't work. If there is an issue, check permissions to the temp folder.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>

You can modify the app.config (or web.config in a web application) file to turn on the UO.NET client trace log. Here is the sample setting to set the trace level to 4. The log file name is c:\temp\myListener.log.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.diagnostics>
    <sources>
      <!-- This section defines the logging configuration for My.Application.Log -->
      <source name="DefaultSource" switchName="DefaultSwitch">
        <listeners>
          <add name="myListener"/>
        </listeners>
      </source>
    </sources>
    <switches>
      <!-- add name="DefaultSwitch" value="Information" /-->

      <!-- Set value property of Arithmetic switch to one of the following: 1(error), 2(warning), 3(info), 4(verbose) -->
      <add name="UniTraceSwitch" value="4" />
    </switches>

    <sharedListeners>
       <add name="myListener"  type="System.Diagnostics.TextWriterTraceListener" 
                initializeData="c:\temp\myListener.log" />
    </sharedListeners>

    <trace autoflush="true" indentsize="4">
      <listeners>
        <add name="myListener" />
      </listeners>
    </trace>
  </system.diagnostics>
</configuration>

When your project is compiled, the app.config file is copied to the project output folder and is renamed <program>.exe.config.

In a web application, simply run the application and the file will be created.

Requirements:

Install UniDK (uodotnet.dll)
Microsoft Visual Studio 2005.NET (Microsoft.NET Framework v2.0.50727 version)
Microsoft Visual VB.NET




RSSRSS Subscribe

About David Lozzi

I love what I do. I'm not the sketchy type that hides in his basement coding all day. I have a beautiful wife and two great children. I've spent my last 10 years plus in the technology arena. more...

Login