ANTS Profiler Crashing
Brian 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
>
>
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
>
>
This discussion has been closed.
Comments
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
> > >
> > >
> >
> >
>
>
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.