Hi Eric
Sorry , we are new to C# coding. We have used this code to enable Logging in our C# code.
private bool StartLoader()
{
FiddlerApplication.OnNotification += delegate(object sender, NotificationEventArgs oNEA)
{
this.EventLog.WriteEntry("** NotifyUser: " + oNEA.NotifyString);
};
FiddlerApplication.Log.OnLogString += delegate(object sender, LogEventArgs oLEA)
{
this.EventLog.WriteEntry("** LogString: " + oLEA.LogString);
};
After that we ran our exe as a Network Service & seen the Events in Windows Event Viewers.
We opened
https://www.amazon.in. The site did not open...Error on Browser as
NET::ERR_CERT_AUTHORITY_INVALIDEvent Viewer showed this :
In OnStart
** LogString: Fiddler ICertificateProvider v4.5.0.1 loaded.
fiddler.certmaker.bc.Debug: False
ObjectID: 0x35a55e0
** LogString: [Fiddler] No HTTPS request was received from (chrome:7952) new client socket, port 12227.
** LogString: [Fiddler] No HTTPS request was received from (chrome:7952) new client socket, port 12228.
** LogString: [Fiddler] No HTTPS request was received from (chrome:7952) new client socket, port 12229.
** LogString: [Fiddler] No HTTPS request was received from (chrome:7952) new client socket, port 12223.
After that we opened an HTTP site :
http://www.indiashopps.com. This opened
Event Viewer showed below :
** LogString: [Fiddler] No HTTPS request was received from (chrome:7952) new client socket, port 12503.
** LogString: [Fiddler] No HTTPS request was received from (chrome:7952) new client socket, port 12501.
There are lot many same kind of entries. Just 1 entry which stand out in whole lot is :
** LogString: !SecureClientPipeDirect failed: System.IO.IOException Authentication failed because the remote party has closed the transport stream. for pipe (CN=*.
ws.microsoft.com, O=DO_NOT_TRUST_BC, OU=Created by
http://www.fiddler2.com)
Hope this gives you some idea on whats wrong. Or you can give us a small C# code which we can put in exe file which will capture all errors.
Appreciate your help.
Attached few screenshots for your reference :
![](https://groups.google.com/group/httpfiddler/attach/c1d927fdd7fbc/Auto%20Generated%20Inline%20Image%201?part=0.1)
![](https://groups.google.com/group/httpfiddler/attach/c1d927fdd7fbc/Auto%20Generated%20Inline%20Image%202?part=0.2)
Regards,