Deploying ASP.NET Applications
page 5 of 7
by Satheesh Babu
Average Rating: 
Views (Total / Last 10 Days): 67122/ 118

Points to note

This section highlights some of the important things to consider when we are deploying the application.

1.    Make sure the Web.Config setting is perfect, such as connection strings, App setting values, check <compilation debug="false"/> because setting it to true causes the application to be processed slow, memory consumption is more, scripts and images downloaded from the WebResources.axd handler are not cached.

2.    To trouble shoot the error if it occurred use <CustomErrors> section in Web.Config and make sure you are reverting back to the original settings.

3.    If we are running multiple versions of on the same webserver do not use aspnet_regiis utility with –i switch to register the with the IIS, instead use –s switch and register it for the particular site because using –i switch is going to update the entire IIS with the current version of you are registering leaving the existing application configuration affected. For example, Aspnet_regiis –s W3SVC/1/ROOT/Test.

4.    By default, IIS does not allow dynamic contents like ASP\ASP.NET to be processed by IIS. So to allow this, Open IIS manager, click Web Service Extensions and Allow the Web Service Extensions if it is disabled as shown in Figure 14. If there is no extensions for processing 2.0 application, we can add a new web service extension by clicking "Add a new Web service extension" link. Read more on MSDN on how to add web service extensions in IIS 6.0.

Figure 14 - Web service Extensions

View Entire Article

User Comments

Title: images are not visible   
Name: aamir
Date: 2013-01-20 11:39:43 PM
this post explains the deployment in detail. i wonder if the images would be visible then it would have been a great.

thanks for the post
Title: Nice for beginers   
Name: developer from Pune
Date: 2010-12-11 5:28:20 AM
Nice for beginers
Title: Nice   
Name: johnny
Date: 2010-09-24 4:29:44 AM
Really nice one great stuff ... thanks alot
Title: Artical is good, but still error   
Name: manish
Date: 2010-08-17 12:34:21 AM
I have an error

Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see

what I do
Title: Thankx   
Name: Neerav Chauhan
Date: 2010-05-01 7:23:04 PM
Hello This article is really helpful.
Thank you very much
Title: Feedback   
Name: Chethan
Date: 2010-02-22 7:46:34 AM
Great tutorial for begineer.
Thanks a lot....
Title: Good for Everyone   
Name: Jiaur
Date: 2009-11-14 10:44:59 PM
Not Only great but also excellent article. Thanks & go ahead.
Title: Well done!   
Name: Alan Ramos
Date: 2009-08-25 8:05:33 AM
This is really great. I have just read through the article and this steps are really great. I am glad that I found the link.
Title: Thanks   
Name: Nuwan
Date: 2009-07-18 12:32:23 AM
Thank you very much Satheesh. This is really a great article
Title: Thanks   
Name: Prathi
Date: 2009-07-08 6:50:54 AM
ITs very good. Thanks very much man..
Title: Deploying ASP.NET Applications   
Name: Ezeamama Andrew
Date: 2009-05-13 7:04:56 AM
Great information for ASP.NET developers
Title: IIS 7   
Name: Md. Ismail
Date: 2009-03-17 1:05:10 AM
Great One!!!
Looking forward to similar article on IIS 7
Title: Deploying ASP.NET Applications   
Name: vikash
Date: 2009-03-06 1:30:53 AM
this is good for all developers
Title: Deploying ASP.NET application   
Name: Sunil Dhas
Date: 2009-02-24 1:59:42 AM
Really a helpfull reading....
Title: Deploying ASP.NET application   
Name: Hiren Nagar
Date: 2008-10-02 4:28:02 PM
It's a great article. Thanks for posting this information.
Title: Adding additional comments.   
Name: Prabhurajan
Date: 2008-04-15 2:29:47 AM
Hi Satheesh Babu,
Really the Article was very good, to add your points, i have some suggestion during deployment.
There are some places, were Firewall is Mandatory and it cannot be disabled. In such condition, after giving appropriate Permission. Next step is to enable the Web Server(Http) in LAN Settings of the Firewall.

Goto Start --> Run --> type 'Firewall.cpl'.
Goto Advanced tab, in Local Area Network setting -> Click Settings.
After clicking Settings, you will get the list of services. Check WebServer(Http) is checked or not.
After checking WebServer only, your WebSite can be accessed from Other Machines.

Thanks and Regards,
Title: RE:virtual directory permission   
Name: Satheesh babu
Date: 2007-11-19 11:52:15 AM
Hi kiran,
ya definitely the service account needs the required permissions to write...
Title: virtual directory permission   
Name: kiran
Date: 2007-11-19 2:47:11 AM
hi Satheesh ,
i am facing some problems in deploying my app . i m editing my resourse files(.txt) on server and i users can upload files to server this will follow creating directory on server . do this will need that virtual directory will need write Permission../add any user account to virtual directory?
btw thanx for sharing valuable information.
Title: Deploying ASP.NET Applications   
Name: Kiran P
Date: 2007-11-18 11:42:46 AM
Thanks for the valuable info
Title: Deploying ASP.Net Applications   
Name: Rekha
Date: 2007-11-12 10:57:38 AM
It is a gud article....worth reading..............

Title: RE:IIS 6.0 problems   
Name: Satheesh babu
Date: 2007-10-26 2:16:53 PM
Hi guys,
Thank you so much for the valuable feedbacks!!!
I think you havn't installed IIS 6.0.IIS 6.0 is default websrver of windows 2003 and it will come with Windows 2003.I guess you are trying to do something in your desktop PC(like 2000 or XP). App pool concept is there only in IIS 6.0.

For your info:
Windows 2000 ---> IIS 5.0
Windows XP ---> IIS 5.1
Windows 2003 ---> IIS 6.0
Title: IIS 6.0 problems..?   
Name: Pramod Aryan
Date: 2007-10-25 3:04:26 PM
Hi sateesh ur arcticle is v ery much handy for rookie developers like me.But i am facing a problem with IIS 6.0.i have downloaded and installed it but i cant see application pooling in that console root can u please help me in this regard.
Title: Deploying ASP.NET Applications   
Name: Vivekananda
Date: 2007-10-23 9:07:37 AM
Xplains each and every aspect of web site deployment & its very useful to fine tune the existing applications thro' IIS too.....Useful one!!!
Title: Deploying ASP.NET Applications   
Name: Jai
Date: 2007-10-22 11:59:48 PM
Even though we know something about this already, it goes little bit deeper in all aspects.

Good , worth reading.
Title: ASP.NET Applications Deployment   
Name: Nitin Sharma (Dot Net Developer)
Date: 2007-10-19 1:02:41 AM
It's really Fundoo yar..!!!! V V Informative..

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2020  |  Page Processed at 2020-10-25 12:37:30 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search