ASP.Net 2.0 deployment question

C

Chris DiPierro

We have an ASP .Net 2.0 application. When I use our .msi installer to
install on a vanilla Win 2003 server, it installs more or less ok, with
one exception. Though it tells IIS to use .Net 2.0, it seems
aspnet_regiis has never been run on IIS. Therefore, when the app is
accessed, it fails until someone manually runs aspnet_regiis.

I can certainly update our installer to run aspnet_regiis, but I was
wondering if there was a more "correct" way to perform installation.
Just trying not to trample on any standard installation methods here.

Thanks for any advice.
 
C

Cowboy \(Gregory A. Beamer\)

You could potentially stomp a site, so this is potentially dangerous. If you
run with /ir, you can install the scripts without defaulting all sites. you
can then use an exported definition of a site to set up the website and run
the aspnet_regiis for that particular site, instead of all sites, which will
not stomp all sites. I am not sure how to set up separate app pool
programatically, but you will have to ensure there are at least two app
pools if they are still running 1.x.

If this is with your company and you do not have a 1.x problem, you can
simply run aspnet_regiis without a problem.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top