Blogger Widgets
  • Sharing Photos using SignalR
  • TFS Extenstion - allows copy work items between projects
  • Displaying jquery progressbar with ajax call on a modal dialog
  • Managing windows services of a server via a website
  • Exploring technologies available to date. TechCipher is one place that any professional would like to visit, either to get an overview or to have better understanding.

Search This Blog

Monday, 1 November 2010

Unable to debug published ASP.NET website

Have been struggling to debug ASP.NET application but had no success what so ever. For time being drop the thought of publishing the website using Visual Studio (2005/2008/2010).

Lets start with the Manual process :-

1. Create a folder under C:\inetpub\wwwroot for eg: MyWebsite
2. Goto IIS, right click on Default Website -> Select Add application
3. Specify Alias, select location, select the required application pool and select OK
4. Now goto Visual Studio, right click on the website -> Publish
5. Go back to IIS and select the application created "MyWebsite"
6. double click on Authentication
7. Now select the following:-
- Anonymous (Enabled),
- Impersonation (Disabled),
- Basic (Disabled),
- Digest (Disabled),
- Forms (Enabled)
- Windows (Disabled)
Note: Assuming web.config is configured to use forms authentication
8. Restart default website.

All of this seems quite easy and looks very familiar. But a small mistake in configuring correct authentication might lead to frustrating situations.


The more you know, the more you realize you know nothing.
– Socrates

0 comments:

Post a Comment

Copyright © 2013 Template Doctor . Designed by Malith Madushanka - Cool Blogger Tutorials | Code by CBT | Images by by HQ Wallpapers