ANTS Profiler Crashing

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
Hi Greg,

The problem occurs when you install the .net Framework 2.0 Beta which
comes as part of Microsoft's brand-new 'Express' products. For some reason,
it will break a perfectly healthy profiler installation running on .net
Framework 1.1. Since ANTS Profiler uses Framework 1.0 if it's installed, one
solution would be to install Framework 1.0. This will definitely get rid of
the problem.

It will also work to redirect ANTS Profiler to the older 1.1 Framework
installation by using a config file. If you make a file called
RedGate.Profiler.UI.exe.config and put this information in it:

<?xml version ="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322" />
</startup>
</configuration>

This also does the trick. Please let us know if this information helps!

Regards,

Brian Donahue
Red Gate Technical Support

"Greg Oetker" <goetker@webmailbox.net> wrote in message
news:xFQw161bEHA.3276@server53...
> Hi All,
>
> When I click on the "Set up a new project for profiling a .Net
application"
> link the software closes with no errors. It has worked in the past and i
> have tried to repair the install as well as removed and reinstalled with
the
> same results.
>
> The ANTS Profiler service is started and the Event Viewer show it
> successfully started.
>
> I install the C# 2005 trial from Microdoft which installs .Net 2.0 on the
> system but leaves the .Net 1.1 and the applications I write are in VS 2003
> using .Net 1.1 with no issues.
>
> Any help would be greatful.
>
> Thanks
> Greg
>
>

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    edited September 8, 2004 6:41AM
    Hi Dave,

    What kind of application are you profiling? Is it a .net console
    application, ASP .net or a Serviced Component (COM+)?

    Regards,

    Brian Donahue
    Red Gate Technical Support

    "Dave Gorman" <dgorman@sundog.net> wrote in message
    news:rM4rBPnfEHA.2700@server53...
    > I have the same problem - added the config file and it stopped crashing.
    The
    > problem I have now, is it is no longer capturing info. It seems to work
    but
    > when you go to view the results the page it is blank. You mentioned that
    you
    > recommend reinstalling 1.0 but I would prefer not do that.
    >
    > any ideas?
    >
    > "Brian Donahue (Red Gate)" <brian.donahue@red-gate.com> wrote in message
    > news:yVFtVf%23bEHA.1208@server53...
    > > Hi Greg,
    > >
    > > The problem occurs when you install the .net Framework 2.0 Beta
    which
    > > comes as part of Microsoft's brand-new 'Express' products. For some
    > reason,
    > > it will break a perfectly healthy profiler installation running on .net
    > > Framework 1.1. Since ANTS Profiler uses Framework 1.0 if it's installed,
    > one
    > > solution would be to install Framework 1.0. This will definitely get rid
    > of
    > > the problem.
    > >
    > > It will also work to redirect ANTS Profiler to the older 1.1
    Framework
    > > installation by using a config file. If you make a file called
    > > RedGate.Profiler.UI.exe.config and put this information in it:
    > >
    > > <?xml version ="1.0"?>
    > > <configuration>
    > > <startup>
    > > <supportedRuntime version="v1.1.4322" />
    > > </startup>
    > > </configuration>
    > >
    > > This also does the trick. Please let us know if this information
    > helps!
    > >
    > > Regards,
    > >
    > > Brian Donahue
    > > Red Gate Technical Support
    > >
    > > "Greg Oetker" <goetker@webmailbox.net> wrote in message
    > > news:xFQw161bEHA.3276@server53...
    > > > Hi All,
    > > >
    > > > When I click on the "Set up a new project for profiling a .Net
    > > application"
    > > > link the software closes with no errors. It has worked in the past and
    i
    > > > have tried to repair the install as well as removed and reinstalled
    with
    > > the
    > > > same results.
    > > >
    > > > The ANTS Profiler service is started and the Event Viewer show it
    > > > successfully started.
    > > >
    > > > I install the C# 2005 trial from Microdoft which installs .Net 2.0 on
    > the
    > > > system but leaves the .Net 1.1 and the applications I write are in VS
    > 2003
    > > > using .Net 1.1 with no issues.
    > > >
    > > > Any help would be greatful.
    > > >
    > > > Thanks
    > > > Greg
    > > >
    > > >
    > >
    > >
    >
    >
  • You can try re-directing RedGate.Licensing.Client and RedGate.Licensing.Helper the same way as the main assembly and see if that straightens it out.

    Not to put too fine a point on it...

    We don't support software running on Beta versions of Framework or SQL Server!
    Microsoft has been notified about the issue so that they can fix their Framework.

    When Framework 2 becomes final, then we will get the software working with it 100%. It's pointless to fix a problem when the Framework can change and break it again.
  • Please send me an email to support@red-gate.com and we'll give you the instrctions on how to fix the trial period.
This discussion has been closed.