From: Adrian Parker on
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


From: Steven Cheng[MSFT] on
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.


From: Adrian Parker on
"Steven Cheng[MSFT]" <stcheng(a)online.microsoft.com> wrote in message
news:q7k5J10xGHA.3544(a)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



From: Steven Cheng[MSFT] on
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.

From: Adrian Parker on
"Steven Cheng[MSFT]" <stcheng(a)online.microsoft.com> wrote in message
news:e2UgA3DyGHA.5460(a)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


 |  Next  |  Last
Pages: 1 2
Prev: PostBackUrl
Next: WebForm_AutoFocus