specify Framework 1.1 when 1.1 & 2.0 Beta 1 are installed

M

Mark Oliver

Hi,

After I installed 2.0 Beta 1 my ASP.NET 1.1 project started trying to use
the 2.0 Framework. When I try to run I get a "[FileNotFoundException: The
system cannot find the file specified.]" referencing
"c:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\".
How can I make my 1.1 project use the 1.1 Framework?

Thanks,
Mark
 
K

Karl Seguin

Mark:
Two equally good options (since they do the same thing). When 2.0 was
installed, a new tab was added to the IIS properties. If you go to your
website properties, you'll see an "ASP.Net" tab, click it and you can chose
theversion to run from a drop down. Or you can download this little tool:
http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

They are both shortcuts to the aspnet_regiis -i command

Karl
 
K

Ken Cox [Microsoft MVP]

Hi Mark,

You need to go into C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 and run

aspnet_regiis.exe -r
 
J

Juan T. Llibre

You could use the IIS Manager to switch the
ASP.NET version which the application targets.

Open the IIS MMC, expand the website tree at the left,
highlight the Application you want to switch, right-click it,
select "Properties" from the context menu, click the ASP.NET
tab, and select the ASP.NET 1.1 version from the dropdown
box. Then, OK your way out of the IIS Manager.

Some versions of the ASP.NET 2.0 Manager sometimes
do *not* display this tab ( particularly the December CTP ).

Some users have reported problems with this,
although for other it works OK.

If you are having problems with it, you might want to
use Denis Bauer's free ASP.NET Version Switcher.

http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

It's quite good, and can serve as a work-around until we get
a build which is more stable ( Beta 2 ? ) and has this little
problem worked out in all installations.

best regards,


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================
 
J

Juan T. Llibre

Note:

Denis Bauer's site seems to be down currently.
Keep checking. It should be up again momentarily.



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

Karl Seguin said:
Mark:
Two equally good options (since they do the same thing). When 2.0 was
installed, a new tab was added to the IIS properties. If you go to your
website properties, you'll see an "ASP.Net" tab, click it and you can
chose
theversion to run from a drop down. Or you can download this little
tool:
http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

They are both shortcuts to the aspnet_regiis -i command

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/


Mark Oliver said:
Hi,

After I installed 2.0 Beta 1 my ASP.NET 1.1 project started trying to use
the 2.0 Framework. When I try to run I get a "[FileNotFoundException: The
system cannot find the file specified.]" referencing
"c:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\".
How can I make my 1.1 project use the 1.1 Framework?

Thanks,
Mark
 
M

Mark Oliver

Hi Juan,

Your IIS MMC change worked for me. I had previouly run
"aspnet_regiis.exe -i", which before hadn't fixed the problem, but maybe it
helped.

Thanks Very Much,
Mark



Juan T. Llibre said:
You could use the IIS Manager to switch the
ASP.NET version which the application targets.

Open the IIS MMC, expand the website tree at the left,
highlight the Application you want to switch, right-click it,
select "Properties" from the context menu, click the ASP.NET
tab, and select the ASP.NET 1.1 version from the dropdown
box. Then, OK your way out of the IIS Manager.

Some versions of the ASP.NET 2.0 Manager sometimes
do *not* display this tab ( particularly the December CTP ).

Some users have reported problems with this,
although for other it works OK.

If you are having problems with it, you might want to
use Denis Bauer's free ASP.NET Version Switcher.

http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

It's quite good, and can serve as a work-around until we get
a build which is more stable ( Beta 2 ? ) and has this little
problem worked out in all installations.

best regards,


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

Mark Oliver said:
Hi,

After I installed 2.0 Beta 1 my ASP.NET 1.1 project started trying to
use the 2.0 Framework. When I try to run I get a
"[FileNotFoundException: The system cannot find the file specified.]"
referencing "c:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\Temporary
ASP.NET Files\". How can I make my 1.1 project use the 1.1 Framework?

Thanks,
Mark
 
J

Juan T. Llibre

re:
Your IIS MMC change worked for me.

Good to know you're up and running again!

best,


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

Mark Oliver said:
Hi Juan,

Your IIS MMC change worked for me. I had previouly run
"aspnet_regiis.exe -i", which before hadn't fixed the problem, but maybe
it helped.

Thanks Very Much,
Mark



Juan T. Llibre said:
You could use the IIS Manager to switch the
ASP.NET version which the application targets.

Open the IIS MMC, expand the website tree at the left,
highlight the Application you want to switch, right-click it,
select "Properties" from the context menu, click the ASP.NET
tab, and select the ASP.NET 1.1 version from the dropdown
box. Then, OK your way out of the IIS Manager.

Some versions of the ASP.NET 2.0 Manager sometimes
do *not* display this tab ( particularly the December CTP ).

Some users have reported problems with this,
although for other it works OK.

If you are having problems with it, you might want to
use Denis Bauer's free ASP.NET Version Switcher.

http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

It's quite good, and can serve as a work-around until we get
a build which is more stable ( Beta 2 ? ) and has this little
problem worked out in all installations.

best regards,


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

Mark Oliver said:
Hi,

After I installed 2.0 Beta 1 my ASP.NET 1.1 project started trying to
use the 2.0 Framework. When I try to run I get a
"[FileNotFoundException: The system cannot find the file specified.]"
referencing "c:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\Temporary
ASP.NET Files\". How can I make my 1.1 project use the 1.1 Framework?

Thanks,
Mark
 

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

Top