VS2005, AJAX and IIS7 Pipeline Modes

G

Guest

I am having dificulty debugging an ASP.NET Ajax (Novemver CTP) app on windows
vista RTM.

I have found the following interesting facts but cannot join the dots . .

If my application is configured to run in the Classic .NET App pool, when I
hit F5 in visual Studio 2005 I can successfully debug my application, however
partial rendering using an update panel does not work (I have discovered that
the script resource handler is causing a 500 server error when being
requested - presumably it has not been registered successfully in
web.config?).

If my Application is configured to run in the DefaultAppPool (integrated
pipeline mode), when I hit F5 Visual studio 2005 fails to attach with a
security dialog being displayed: "Unable to start debugging on web server. An
authentication error occurred while communicating with the web server. Please
see help for assistance".

Furthermore, if I subsequently attach to the w3wp process (integrated mode)
by hand, I can successfully debug the web site and Ajax functionality works.
(This is presumably because the Ajax handlers are registered in the iis7
config GUI).

So my 2 questions are:
1) Why do the Ajax handlers not work in Classic Pipeline mode when using the
Web.Config generated by the New ASP.NET Ajax Enabled Web Site project
template in VS2005?

2) Why does Visual Studio 2005 not automatically attach to an otherwise
functioning web site running in Integrated Mode?

Many thanks,

Dave Prentice
 
C

Cowboy \(Gregory A. Beamer\)

I can answer 2: This has to do with metabase entries, which are gone in IIS
7. You can solve this with SP1, which is currently in beta.

Not sure on question #1, as I have not played with Ajax since I have moved
to Vista RTM.
 
C

chicoribeiro2005

Hello David,

You wrote:

.... if I subsequently attach to the w3wp process (integrated mode)
by hand ...

how can I do it?


Thanks

Francisco Ribeiro
 
L

Laurent Bugnion

Hi,

Hello David,

You wrote:

... if I subsequently attach to the w3wp process (integrated mode)
by hand ...

how can I do it?


Thanks

Francisco Ribeiro

To manually attach the debugger to a process, use the Visual Studio 2005
menu "Debug / Attach to process".

HTH,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top