473,405 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

ASP.NET 2.0 - Cannot run the profiler

When I try to profile a website in VS2005, I get the following error.

Launch Error: The web site could not be configured correctly; getting
ASP.NET process information failed. Requesting
'http://localhost:1740/ingenweb/VSEnterpriseHelper.axd' returned an error:
Unable to connect to the remote server

I've tried adding the following to web.config but it made no difference.

<location path="VSEnterpriseHelper.axd">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>

I've also tried removing the following out of the web.config but again it
made no difference.

<authorization>
<deny users="?" />
</authorization>

Any ideas ?

--
Adrian Parker
Ingenuity At Work Ltd
Aug 23 '06 #1
7 2935
Hello Adrian,

From your description, you're getting some error when try launching the
performance session to profile an ASP.NET application in VS 2005.

As for the configuration setting in web.config you mentioned, I've also
noticed that there're some web articles mentioend this. However, this
setting is for those cases the ASP.NET application is using forms
authentication, also, based on my research, the performance profiling tools
in VS 2005 doesn't support profiling ASP.NET application using forms
authentication currently.

So is the application suffers the problem using forms authentication? If
this is the case, I would suggest you consider temporarily turn the
authentication to "windows" mode and then use the profiler to testing the
pages in the application.

If your application is not using forms authentication, we may have to
perform some further tests againt it. As you mentioned, the appliation is
currently hosted by file system project(in Test Webserver), you can try
moving it into IIS server and profiling it through IIS server to see the
result. Also, using IIS is the recommended approach for production
testing/profiling since Test webserver is just a simple webserver for
development only.

In addition, would you provide the detailed steps on how you reproduce the
error on your machine? You can create a new web project to see whether it
also suffers the problem, and provide us the steps you create the
performance profiler session and launch it ....

Please feel free to let me know if there is anything I missed or if you got
any other finding.
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 24 '06 #2
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:q7**************@TK2MSFTNGXA01.phx.gbl...
| the performance profiling tools
| in VS 2005 doesn't support profiling ASP.NET application using forms
| authentication currently.

Yes, we're using forms authentication. Will this problem be sorted out soon
?

Adrian

Aug 24 '06 #3
Thanks for your reply Adrian,

I originally get this info from our enterprise tool team's engineer. I can
help you ask him to see whether there is any means for forms authentication
application.

BTW, is it possible that you test individual page and turn off forms
authentication temporarily?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 25 '06 #4
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:e2**************@TK2MSFTNGXA01.phx.gbl...
| BTW, is it possible that you test individual page and turn off forms
| authentication temporarily?

Steven,

Unfortunately not, there's too much initialisation done during the login
process to enable us to run a page in isolation.

Regards
Adrian
Aug 25 '06 #5
Thanks for the reply Adrian,

I can understand your concern here. I'm currently contacting the enterprise
tools team's engineer to see whether there is any avaiable options to
workarond the problem. I'll update you as soon as I get any information.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 28 '06 #6
Hi Adrian,

After some further consulting to our development team. Forms Authentication
is still unsupported for unit test through the Enterprise tools in VS 2005.
I'm afraid you may need to use some other unit test approach, such as
indivdual page based test or other external test tools.

BTW, I would suggest you also submit the request on our product feedback
center so that the product team can hear more this:

http://connect.microsoft.com/feedbac...spx?SiteID=210

Thanks for your understanding.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 5 '06 #7
Ah ok thanks Steven..

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:UG**************@TK2MSFTNGXA01.phx.gbl...
| Hi Adrian,
|
| After some further consulting to our development team. Forms
Authentication
| is still unsupported for unit test through the Enterprise tools in VS
2005.
| I'm afraid you may need to use some other unit test approach, such as
| indivdual page based test or other external test tools.
|
| BTW, I would suggest you also submit the request on our product feedback
| center so that the product team can hear more this:
|
| http://connect.microsoft.com/feedbac...spx?SiteID=210
|
| Thanks for your understanding.
|
| Sincerely,
|
| Steven Cheng
|
| Microsoft MSDN Online Support Lead
|
|
|
| ==================================================
|
| Get notification to my posts through email? Please refer to
|
http://msdn.microsoft.com/subscripti...ult.aspx#notif
| ications.
|
|
|
| Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
| where an initial response from the community or a Microsoft Support
| Engineer within 1 business day is acceptable. Please note that each follow
| up response may take approximately 2 business days as the support
| professional working with you may need further investigation to reach the
| most efficient resolution. The offering is not appropriate for situations
| that require urgent, real-time or phone-based interactions or complex
| project analysis and dump analysis issues. Issues of this nature are best
| handled working with a dedicated Microsoft Support Engineer by contacting
| Microsoft Customer Support Services (CSS) at
| http://msdn.microsoft.com/subscripti...t/default.aspx.
|
| ==================================================
|
|
|
| This posting is provided "AS IS" with no warranties, and confers no
rights.
|
Sep 5 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jeff Mair | last post by:
Hello all, I haven't been using profiler for a terribly long time, and I've come across something that I just can't figure out. I'm running MS Virtual PC to run a Win2K Server OS with SQL...
8
by: patrickshroads | last post by:
I am running a profiler trace against a database and noticed that the reads column always shows 0. When running the same trace against another machine I get back values in the reads column. I took...
0
by: DraguVaso | last post by:
Hi, I'm using for a while DevPartner Profiler (http://www.compuware.com/products/devpartner/resources/profiler/profiler.as p), but unfortunately it works only for 2002 and 2003. Is there a...
9
by: Franco Gustavo | last post by:
Hi, All What's is the best .net profiler for Debug an application. I have to buy one but I don't know which one!! I tried some of them like Borland and AQTime. My big problem is, my...
3
by: Maansi Gupta | last post by:
Platform - Windows 2000 Professional , VC .NET 7.1 Hello, I have recently ported my source code from Visual Studio 6.0 to .NET 7.1 Previously with Visual Studio 6.0 I was using the profiler...
8
by: Bryan | last post by:
Does anyone have an example of an application that can connect to a running process and capture Trace.WriteLine calls like in SQL Server Profiler? I know that we can inherit from a TraceListener...
1
by: ofirmgr | last post by:
im trying to understand how the profiler works. so i started 2 profilers,one listen to another and I saw the profiler is running: exec sp_trace_create @P1 output, 1, NULL, NULL, NULL which means...
3
by: Sam Samson | last post by:
Can any-one recommend some good sites detailing how to code a simple memory profiler? How do they "look under the hood"? I built an uber simple service that tracks the process' memory but I need...
0
by: anweshadash | last post by:
Using SQL Profiler: (Ref: http://msdn2.microsoft.com/en-us/library/ms181091.aspx) Sometimes it’s very beneficial to use sql profiler. Let’s have an idea about that and how to use that by...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.