IIS and .Net Framework

G

Guest

I'm moving to .Net Framework 2.0. I've got a preliminary app done, which runs
fine in Visual Studio 2005. I've compiled it and am trying to run the app
under IIS, which is returning the following message:

****

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'connectionStrings'

Source Error:


Line 10: <configuration>
Line 11: <appSettings/>
Line 12: <connectionStrings>
Line 13: <add
Line 14: name="DeptInfoConnection"


Source File: C:\Inetpub\wwwroot\CIS\web.config Line: 12


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

****
It looks like IIS doesn't know about multiple versions of .Net being
installed, so I rand the aspnet_regiis.exe, with -i (after reviewing other
posts and MSDN). And I get the same message. I'm not an admin guy, but this
is something that I need to get figured out. What do I need so IIS will
recognize ASP.Net 2.0? Thanks in advance.
 
M

Michael D. Ober

You need to install ASP.NET 2.0 on your IIS server and then in the
application configuration, select the .NET 2.0 framework.

Mike Ober.
 
M

Mark Fitzpatrick

in the IIS MMC, select the directory that the application is in and
right-click and select properties. On the ASP.Net tab change the version of
the framework to the 2.0 version. By default, IIS won't change this unless
you specifically tell it you want it changed.
 
G

Guest

Thanks, that was it. Didn't see a reference to that any place, although that
is what I kind of expected to need. MS should document that with the
information on registering the framework with iis....
 
J

Juan T. Llibre

re:
MS should document that with the information on registering the framework with iis.

It *is* documented.
The ASP.NET tab is just a graphical interface to aspnet_regiis.exe.

If you run aspnet_regiis, from a command window in the .Net Framework directory,
without parameters, you'll see the complete set of possibilities documented.
 

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,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top