Suggestions for different execution path
nicho
Posts: 2
Hi there,
I am attempting to profile a WCF application with the Red Gate Profiler. Most of our code behaves just as it would if we were running it without profiling, however we are having some problems.
(VS 2008, WCF application called from a .NET forms client)
The issue occurs withthe "ASP.NET web application hosted in the ASP.NET development web server" configuration where the execution path is not the same as when we are not profiling. I'm not sure if this is relevant, but we are doing some Interop to access the native LogonUserEx() windows authentication function.
Is there a document, or does anybody have any suggestions how I should approach this problem? Are there any settings in ANTS that would help me troubleshoot this issue?
I am attempting to profile a WCF application with the Red Gate Profiler. Most of our code behaves just as it would if we were running it without profiling, however we are having some problems.
(VS 2008, WCF application called from a .NET forms client)
The issue occurs withthe "ASP.NET web application hosted in the ASP.NET development web server" configuration where the execution path is not the same as when we are not profiling. I'm not sure if this is relevant, but we are doing some Interop to access the native LogonUserEx() windows authentication function.
Is there a document, or does anybody have any suggestions how I should approach this problem? Are there any settings in ANTS that would help me troubleshoot this issue?
Comments
I'm not sure what is causing this problem, but it may help to set the working directory. ANTS Profiler cannot do this with an ASP .NET application normally, but it can if you run WebDev.Webserver.exe as a normal desktop application. The entire process is described here:
http://www.red-gate.com/messageboard/vi ... php?t=3472