Red Gate forums :: View topic - IIS7 and Integrated Pipeline Mode
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Profiler Previous Versions
ANTS Profiler Previous Versions forum

IIS7 and Integrated Pipeline Mode

Search in ANTS Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jeffkretz



Joined: 02 Apr 2009
Posts: 5

PostPosted: Thu Apr 02, 2009 6:57 pm    Post subject: IIS7 and Integrated Pipeline Mode Reply with quote

I'm using ANTS 4.3.0.198, IIS7 on Windows Vista with a .NET 3.5 website set for Integrated Pipeline mode. The project is created in Visual Studio 2008.

Unfortunately, I am not able to profile the project. Here is what I've run into:

1. Profiling on the Original Port - IE7 is unable to connect to the website at all, "Internet Explorer cannot display the webpage", with a connection problem.
2. Profiing on port 8013 - Could not launch the task to be profiled, Timed out waiting for port 8013 to become available.

After reviewing some other posts on this forum, I've tried the following:
1) Disabling my firewall.
2) Disabling UAC.
3) Created a new Administrator account called IISProfiler, and manually specifying he ASP.NET account details (both for original port and 8013)

Unfortunately, Cassini doesn't support the Integrated Pipeline features I've specified in my web.config file, so using the web development server isn't an option.

Are there other things I can try?

JK
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Fri Apr 03, 2009 9:15 am    Post subject: Reply with quote

It sounds like ANTS Profiler is causing your web application to crash. You should find additional information about that in the application event log, under the category "hostablewebcore".

If your application depends on Integrated Pipeline mode, ANTS Profiler will cause a problem because it creates its' test application pool in "classic" mode. If you don't want ANTS Profiler to reconfigure your application pool, you can try my ANTS Application Host program and use it to run your web application and then tell ANTS Profiler to profile the application host as a console application.

I hope this helps.
Back to top
View user's profile Send private message
jeffkretz



Joined: 02 Apr 2009
Posts: 5

PostPosted: Fri Apr 03, 2009 9:24 pm    Post subject: Reply with quote

Brain, thank you very much for your host applicatoin.

It worked perfectly, and I have the profiling data I need.

I hope a planned ANTS upgrade has your host application as a built-in option for profiling.

JK
Back to top
View user's profile Send private message
joeb



Joined: 15 Jul 2009
Posts: 1

PostPosted: Wed Jul 15, 2009 5:45 pm    Post subject: Reply with quote

Quote:
If your application depends on Integrated Pipeline mode, ANTS Profiler will cause a problem because it creates its' test application pool in "classic" mode.


Is this true with the latest release? I have the opposite problem:

Windows 2008x64 / IIS7 / Classic app pool.
In the ASP.NET application, I refer to the Request object in Application_Start in global.asax. This is ok in Classic mode but won't work in Integrated mode.
When running ANTS profiler on this web application, it chokes on this line ("System.Web.HttpException: Request is not available in this context"), so it seems that ANTS is trying to run the application in Integrated mode.
Is there any way to prevent this?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Thu Jul 16, 2009 2:22 pm    Post subject: Reply with quote

As far as I know, ANTS Performance and ANTS Memory profilers still create an application pool with a hard-coded configuration. Using the Application host utility as above should copy all of your configuration to the application pool used for testing so that it should work exactly the same as it does when it runs hosted in IIS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group