I've just updated the Fidder4 and got the error on start:
---------------------------
Awww, Fiddlesticks!
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
1) Unknown error (0x278)
Resulting in: An exception occurred while trying to create an instance of type 'Telerik.NetworkConnections.NetworkConnectionsManager'.
Resulting in: Cannot activate part 'Telerik.NetworkConnections.NetworkConnectionsManager'.
Element: Telerik.NetworkConnections.NetworkConnectionsManager --> Telerik.NetworkConnections.NetworkConnectionsManager --> DirectoryCatalog (Path="E:\Program Files\Fiddler\Fiddler")
Resulting in: Cannot get export 'Telerik.NetworkConnections.NetworkConnectionsManager (ContractName="Telerik.NetworkConnections.NetworkConnectionsManager")' from part 'Telerik.NetworkConnections.NetworkConnectionsManager'.
Element: Telerik.NetworkConnections.NetworkConnectionsManager (ContractName="Telerik.NetworkConnections.NetworkConnectionsManager") --> Telerik.NetworkConnections.NetworkConnectionsManager --> DirectoryCatalog (Path="E:\Program Files\Fiddler\Fiddler")
Type: System.ComponentModel.Composition.CompositionException
Source: System.ComponentModel.Composition
at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(ComposablePart part, ExportDefinition export, Boolean isSharedPart)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()
at System.ComponentModel.Composition.Primitives.Export.get_Value()
at System.ComponentModel.Composition.ExportServices.GetExportedValueFromLazy[T](Export export)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at Fiddler.Proxy..ctor(Boolean isPrimary, ProxySettings upstreamProxySettings) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Common\Core\Proxy.cs:line 208
at Fiddler.frmViewer.(String[] ) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Viewer.cs:line 2906
at Fiddler.frmViewer.(String[] ) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Viewer.cs:line 2723
Fiddler v5.0.20192.25091 (x86 x86) [.NET 4.0.30319.1 on Microsoft Windows NT 5.1.2600 Service Pack 3]
---------------------------
OK
---------------------------
As the result - can't start Fiddler any more.
Heeelp
Fiddler Crashes on Startup always... help...
Problem signature:
Problem Event Name: APPCRASH
Application Name: Fiddler.exe
Application Version: 5.0.20194.41348
Application Timestamp: 5d95d558
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.23915
Fault Module Timestamp: 59b94f2a
Exception Code: e0434352
Exception Offset: 000000000001a06d
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1046
Additional Information 1: 61cb
Additional Information 2: 61cb26cba9a9974f11aa5666ed1a9345
Additional Information 3: a03c
Additional Information 4: a03cf54e7635b40933f9c088e4cafa40
class handlers
{
static var oTimer: System.Windows.Forms.Timer = new Timer();
public static ToolsAction("Request by Timer")
function doIt()
{
oTimer = new Timer();
oTimer.add_Tick(OnTimer);
oTimer.Interval = 5000;
oTimer.Start();
}
public static ToolsAction("Stop Timer")
function stopIt()
{
oTimer.Stop();
}
public static function OnTimer(sender: Object, ea: EventArgs)
{
var s = "GET blah blah";
try{
FiddlerObject.utilIssueRequest(s);
}
catch(e){
MessageBox.Show("send failed" + e.ToString());
}
}
static function OnBeforeResponse(oSession: Session) {
if (oSession.utilFindInResponse("request start", false)>-1)
{
doIt();
}
if (oSession.utilFindInResponse("request stop", false)>-1)
{
stopIt();
}
}
}
"Tool" -> "Request by timer" and "Stop Timer" works fine.
stopit(); wokrs fine too in if statement.
But doIt(); doesn't work in if statement.
I'm not good at computer thing and English too.
I can't figure out what's wrong.
Please help and thank you in advance.
I would like to download FiddlerCore to get up to speed nohow I can use it in my applications. When I go to the downloads page as stated on the downloads page I cannot find the link forFiddlerCore. I have Attached my screen shot for assistance.
Thanks
Alex.
{"Could not load file or assembly
'Telerik.NetworkConnections, Version=0.1.1.0, Culture=neutral, PublicKeyToken=67cb91587178ac5a'
.
System.IO.FileNotFoundException
my program code (console application, in main class I use Http_proxy.Start();
public
static
class
Http_proxy
{
public
static
void
Start()
{
FiddlerCoreStartupSettings startupSettings =
new
FiddlerCoreStartupSettingsBuilder()
.ListenOnPort(0)
.RegisterAsSystemProxy()
.DecryptSSL()
.Build();
Fiddler.FiddlerApplication.Startup(startupSettings);
FiddlerApplication.AfterSessionComplete += Http_proxy.AfterSessionComplete;
}
public
static
void
Stop()
{
if
(FiddlerApplication.IsStarted()) Fiddler.FiddlerApplication.Shutdown();
}
private
static
void
AfterSessionComplete(Session session)
{
session.bBufferResponse =
true
;
if
(session.fullUrl.Contains(
"nevermind"
))
{
string
b = session.GetRequestBodyAsString();
File.WriteAllText(@
"..\a.txt"
, b);
}
}
public
static
bool
InstallCertificate()
{
try
{
if
(!CertMaker.rootCertExists() && !CertMaker.createRootCert())
{
throw
new
Exception(
"Could not create Root Certificate!"
);
}
if
(!CertMaker.rootCertIsTrusted() && !CertMaker.trustRootCert())
{
throw
new
Exception(
"Could not find valid Root Certificate for Fiddler!"
);
}
return
true
;
}
catch
(Exception ex)
{
Console.Write(ex.ToString() +
" | "
+
"Certificate Installer Error!"
);
return
false
;
}
}
public
static
bool
UninstallCertificate()
{
if
(CertMaker.rootCertExists())
{
if
(!CertMaker.removeFiddlerGeneratedCerts(
true
))
return
false
;
}
return
true
;
}
}
}
Some time ago I created another small app using Fiddler.FiddlerApplication.Startup(8888, true, true); and everything worked fine, now I lost it and upgraded Visual Studio Community 2015 to Community 2019 and nothing want to work. Any suggestions?
Just wondering what's the logic behind it, as most programs use %ProgramFiles%.
If you have an ideology against central folders, why not supporting a portable version?
When launching Fiddler "Automatic" Breakpoints are always set to "Disabled".
How can they be enabled to either "Before Responses" or "After Responses by default?