Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2006

Tip: Looking for answers? Try searching our database.

Switching to debugging ASP.NET 2.0 under IIS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Thielen - 05 Mar 2006 23:34 GMT
Hi;

I googled on this and found numerous conflicting instructions on how to do
this.

How do I set up my project so it runs under IIS and I am running and
debugging from VS2005?

My project is presently in a directory that is not under IIS and I am using
the VS 2005 web server.

I need to run under IIS to test ActiveDirectory & integrated authentication.

I have tried changing the start options to "use custom server" but any url I
try with that does not work. Do I need to set a virtual directory in IIS (and
if so, what settings)? Do I need to set anything else? And what url do I
enter?

Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

"Gary Chang[MSFT]" - 06 Mar 2006 10:11 GMT
Hi Dave,

>How do I set up my project so it runs under IIS and
>I am running and debugging from VS2005?

There is no such setting in VS2005's web site project. If you want to debug
an ASP.NET 2.0 application under IIS server, you just need to run it from
Internet Explorer at first, then attach the VS2005 debugger to the
corresponding aspnet_wp.exe process(use the CLR option in 'attach to
process' dialog box). Please refer to the following articles for the
details:

Debugging Deployed ASP.NET Web Applications/XML Web Services
http://msdn2.microsoft.com/en-us/library/b00hf3c0.aspx

Debugging an ASP.NET Web Application, Part II - Debugging... (Paragraph:
Debugging a running process)
http://www.dotnetjohn.com/articles.aspx?articleid=66

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006.  Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
David Thielen - 06 Mar 2006 14:35 GMT
What about http://www.sharepointblogs.com/vandest/archive/2005/11/18/4229.aspx

or

http://www.dotnetslackers.com/ASP_NET/re-15743_System_ArgumentOutOfRangeExceptio
n.aspx


Signature

thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

> Hi Dave,
>
[quoted text clipped - 33 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ======================================================
"Gary Chang[MSFT]" - 07 Mar 2006 03:13 GMT
Hi Dave,

>What about http://www.sharepointblogs.com/vandest/archive/2005/11/18/4229.aspx

That is also a solution to your problem. But if your target web site
project's locaton is File System(specified when you 'New' that web site),
you need to close that project and reopen it from your IIS server's mapped
virtual directory to debug it.

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006.  Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.