473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

IIS and .Net Framework

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.
Nov 21 '06 #1
4 2762
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.

"RAR in WA" <RA*****@discussions.microsoft.comwrote in message
news:07**********************************@microsof t.com...
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.


Nov 21 '06 #2
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.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"RAR in WA" <RA*****@discussions.microsoft.comwrote in message
news:07**********************************@microsof t.com...
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.

Nov 21 '06 #3
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....

"Mark Fitzpatrick" wrote:
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.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"RAR in WA" <RA*****@discussions.microsoft.comwrote in message
news:07**********************************@microsof t.com...
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.


Nov 23 '06 #4
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.


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/
===================================
"RAR in WA" <RA*****@discussions.microsoft.comwrote in message
news:35**********************************@microsof t.com...
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....

"Mark Fitzpatrick" wrote:
>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.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"RAR in WA" <RA*****@discussions.microsoft.comwrote in message
news:07**********************************@microso ft.com...
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.



Nov 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
1
by: Harry Simpson | last post by:
I know I drilled down into the Windows folder\Microsoft.net\Framework\v1.1.4322 folder and looked at the version of Mscorcfg.dll to get the SP level from the version number: Mine shows...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
8
by: Blasting Cap | last post by:
I'm using VS 2005, and have a dll in some code (system.core.dll) that was included in something someone sent me to run on my system. I have production on a server using Framework 2.0 that I want...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.