how to deploy aspnet 2.0

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
 
J

Juan T. Llibre

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
 

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

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,049
Members
48,769
Latest member
Clifft

Latest Threads

Top