Options

No Results in ASP.NET app.

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

I appreciate the post. Hopefully I can shed some light on this for
everyone. With ASP .Net applications, the code is run in IIS, which is
registered to use a certain version of Microsoft .Net Framework to 'compile'
the code into a dll. What can happen sometimes is, if you install a second
version of Framework, the installation will de-register the older version
and register the new one with IIS. This has no ill-effects on your app, and
it continues to run fine.

However, this causes a problem in ANTS Profiler, because it seems to get
'confused' about where the application is actually running. The solution to
the problem is to register BOTH versions of .Net with IIS. To do this, open
a command prompt, and change dirs to the first installation of the .Net
Framework: %WINNT%Microsoft.NetFrameworkv1.0*.* Now, use the utility
aspnet-regiis.exe to register this version: aspnet_regiis -i. Next, change
the current path to the other installed versions and do the same. You should
now get results back from profiling ASP.Net.

If this causes you any problems, please let me know. I personally
haven't experienced any ill effects from doing this.

Sincerely,

Brian Donahue
Red Gate Technical Support

"Rachel Reese" <rachelemilyreese@aspelite.com> wrote in message
news:4bPaQsgfDHA.1480@server53...
> I dowloaded the free trial. I've gotten the mandelbrot exe app working,
but
> I can't get a website working. I read the FAQ and the only thing I could
> find that seemed relevant was htat I needed both ASP.NET 1.1 and 1.0
> installed on the machine. So I reinstalled 1.0.
>
> I load up a project, or create a new one. Put in http://localhost as the
> webpage I'm testing, and I can start testing it. It'll stop IIS, restart
it
> & bring up my site. I can surf through it, hit stop and it'll stop and
> restart IIS again, then pause and churn for some time, presumably creating
> results. And then it won't show them to me. The results page stays
> completely blank.
>
> I have version 1.22, I'm on windows 2000, and the app is in DEBUG mode.
>
> Thanks,
> Rachel
>
>

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Version 2.5 of ANTS Profiler fixes this. On systems with Framework 1.0 and 1.1 installed simultaneously, ANTS Profiler queries the IIS Metabase for the version of the Framework that the website or virtual directory is configured to run in.
This discussion has been closed.