473,396 Members | 1,775 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,396 software developers and data experts.

VS2005, AJAX and IIS7 Pipeline Modes

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
Dec 12 '06 #1
3 3643
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.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"David Prentice" <da************@community.nospamwrote in message
news:65**********************************@microsof t.com...
>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
Dec 12 '06 #2
Hello David,

You wrote:

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

how can I do it?
Thanks

Francisco Ribeiro

Dec 20 '06 #3
Hi,

ch**************@gmail.com wrote:
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
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Dec 20 '06 #4

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

Similar topics

31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
2
by: nospam | last post by:
Hi, dont know if this is the correct group, but tried on vista.general and got no help. ive installed VS2005 on RC2 version of Vista and when i try to create a new website project it shows an...
3
by: Vlad Hrybok | last post by:
Hi all, I recently installed 64 bit version of Vista hoping to make it my primary development setup. I was able to do work with IIS7 and ASP.NET 2.0/Visua Studio 2005 combo, but hit a roadblock...
6
by: John Kotuby | last post by:
Hi all... Well my earlier post aboout not being able to access http://localhost has been resolved. I am still having problems testing my Web site project. First, thanks to Juan Libre I edited...
0
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work...
6
by: ma | last post by:
Hello, I am new to IIS and ASP.NET. I wrote my first ASP.NET and I want to deploy in to a system which has Vista Business and IIS7. I copied my files to the target computer and created a virtual...
7
by: =?Utf-8?B?RGF2aWQ0MDIx?= | last post by:
I have an app working fine on vista ultimate(iis7 , .net 3.5 , ajax) After installing .net 3.5 on my windows 2003 server (currently at 2.0) the app breaks : Parser Error Message: Unknown...
1
by: Yan | last post by:
Hi, I'm apparently far from being the 1st one to meet this error... My asp.net ajax page requires ScriptManager.axd but gets a 404. following a lot of "This is how I solved it" posts, I : -...
10
by: Kal | last post by:
I recently installed Windows 2008 Server to replace a crashed hard drive on a web server with a variety of web pages including several classic ASP applications. One of these makes extensive use of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.