Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Framework installation

Reply
 
Old 03-07-2008   #1 (permalink)
geekdh


 
 

Framework installation

I'm not sure if this should go in FAQs or general.

I have a home network with a primary domain controller running Windows
2000 Server. It has .NET framework v 1.1 on it, and IIS 5 (probably
5.0).

I also have a workstation running XP Pro, Visual Studio 2005 with .NET
framework 2.0, and IIS 5.1 I have a web application I've developed
there, and I'm trying to install it on the server.

When I try to run it on server, it immediately throws an exception
trying to read the web.config file, saying it doesn't recognize the
<connectionstring> element. So I figure, Okay, it's running framework
v1.1, that's probably a v2.0 thing.

So I download the Framework 2.0 Redistributable from the Microsoft
website, and install it on the server, including running the SP1
update.

But it doesn't seem to be installed. There's now a v2_0 folder in the
\Winnt\Microsoft.Net\Framework directory tree, but IIS is still runing
v1.1 (as evidenced by the Version information when it throws the
exception). Also, when I run administrative tools on the workstation,
there's a "Microsoft .NET Framework 2.0 configuration" MSC, as well as
one for v1.1 and v1.0. Running administrative tools on the server
still only has the v1.1 configuration tool, and a search of the whole
disk for .MSC files does not turn up a 2.0 configuration MSC.

So what do I need to do to make sure 2.0 is properly installed, and
specifically, to get IIS to use it?

Thanks for any help.

My System SpecsSystem Spec
Old 03-07-2008   #2 (permalink)
daveh551


 
 

Re: Framework installation

On Mar 7, 11:59 am, gee...@xxxxxx wrote:
Quote:

> I'm not sure if this should go in FAQs or general.
>
> I have a home network with a primary domain controller running Windows
> 2000 Server. It has .NET framework v 1.1 on it, and IIS 5 (probably
> 5.0).
>
> I also have a workstation running XP Pro, Visual Studio 2005 with .NET
> framework 2.0, and IIS 5.1 I have a web application I've developed
> there, and I'm trying to install it on the server.
>
> When I try to run it on server, it immediately throws an exception
> trying to read the web.config file, saying it doesn't recognize the
> <connectionstring> element. So I figure, Okay, it's running framework
> v1.1, that's probably a v2.0 thing.
>
> So I download the Framework 2.0 Redistributable from the Microsoft
> website, and install it on the server, including running the SP1
> update.
>
> But it doesn't seem to be installed. There's now a v2_0 folder in the
> \Winnt\Microsoft.Net\Framework directory tree, but IIS is still runing
> v1.1 (as evidenced by the Version information when it throws the
> exception). Also, when I run administrative tools on the workstation,
> there's a "Microsoft .NET Framework 2.0 configuration" MSC, as well as
> one for v1.1 and v1.0. Running administrative tools on the server
> still only has the v1.1 configuration tool, and a search of the whole
> disk for .MSC files does not turn up a 2.0 configuration MSC.
>
> So what do I need to do to make sure 2.0 is properly installed, and
> specifically, to get IIS to use it?
>
> Thanks for any help.
Never mind, I answered my own question.

(Answer, if interested: In IIS Administration, each website has a
properties screen, with a ASP.NET tab that, among other things, has a
drop down list of .NET version to run for that web site. I changed it
there, and it worked.)
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
.Net Framework 1.1 SP1 installation .NET General
Windows .net framework 1.1 installation. Vista General
Re: .net framework 1.1 installation error Vista General
.Net Framework installation on Vista 5456 Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46