Subscribe to forum RSS Forum

SmartInspect 2.x and Vista

New Topic Post Reply

Page: 1

Author Post
Darren
Guest
I am using SmartInspect with windows vista and IIS.
Under XP I get logging through tcp and file but when I setup my web application under Vista Ultimate, no logging occurs at all.

Any ideas?
Administrator
Registered: Sep 2007
Posts: 132
Hello Darren,

I suspect that this has something to do with the access rights of your web application. Vista has changed a lot in this regard when compared to XP. To check if this is really the problem, it would be great if you can assign an event handler to the SmartInspect Error event and see if your handler is called. An event handler can be assigned as follows:

public static void EventHandler(object sender, ErrorEventArgs args)
{
// Output the exception
...
}

...

// Register our event handler for the error event.
SiAuto.Si.Error += new ErrorEventHandler(EventHandler);


Sub EventHandler(ByVal Sender As Object, ByVal Args As ErrorEventArgs)
' Output the error
...
End Sub

...

' Register our event handler for the error event.
AddHandler SiAuto.Si.Error, AddressOf EventHandler


In the error event handler, you can either set a break point or output the passed exception as part of the ASP.NET page.

New Topic Post Reply

Page: 1