how to deploy aspnet 2.0

  • Thread starter Thread starter Jacky Zheng
  • Start date Start date
J

Jacky Zheng

I installed aspnet 1.0 and aspnet 2.0 in my computer. when i deploy my
webSite writed with aspnet2.0 to iis ,but is must change it from 1.0 to 2.0
in iis property settings by manual
 
I suspect you meant 1.1, not 1.0, right ?

If you *only* want to use aspnet 2.0, you can unregister aspnet 1.1

From the aspnet 1.1 directory
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

run :

aspnet_regiis -u

If you do have aspnet 1.0, it will be located at
Drive:\WINDOWS\Microsoft.NET\Framework\v1.0.3705

You can unregister it with the same command, run from *that* directory.
I suspect you'll find that directory almost empty, though.

Unregistering all 1.x versions will leave only aspnet 2.0 registered on your IIS,
and 2.0 will be the only choice you have in the IIS property settings.

For good measure, after you unregister all 1.x versions, you can run :

aspnet_regiis -i

from the .net framework 2.0 directory:
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
Back
Top