About/Contact

Steve Trefethen

Steve Trefethen is a Director of Engineering at Reply. Contact me

View my LinkedIn profile


Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
$720 in referrals so far!


Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.



ASP.NET error: Unrecognized configuration section 'connectionStrings'

December 31 2006 5:22AM
I've run into this ASP.NET 1.1 error countless times and at least one of the reasons it occurs is that the IIS virtual directory is set to use the 1.1.4322 version of the .NET framework instead of 2.0. There are a few ways to correct this problem:

From the command line:

from:

c:\windows\Microsoft.NET\framework\v2.0.50727

aspnet_regiis -s w3svc/1/root/<virt_dir>

Where <virt_dir> indicates the name of the virtual directory

Using the MMC snap-in for IIS:

  1. From the Start menu select Administrative Tools|Internet Information Services (refer to "Select Taskbar and Start Menu" from this post for information how to enable this menu item)
  2. Open up the treeview to the virtual directory where the error message occurs
  3. Right click the virtual directory and select properties
  4. Click the ASP.NET tab
  5. Using the drop down change ASP.NET Version to 2.0.50727
Update: Tweaked the font size of the above command-line to fix rendering in IE.
FacebookDel.icio.usDigg It!

Tags:

Comments (5) -

1/30/2007 6:30:21 AM #

Thanks

Michael Rajesh

3/12/2007 5:43:54 PM #

Thanks for this solution. I was really looking for this solution for which I was getting error.

thanks

Raj

Rajesh

4/5/2007 12:41:39 PM #

hey thanks ...i was looking for this solution

Payal Bansal

10/13/2008 4:14:07 PM #

Thanks a lot.

omar

11/15/2009 10:38:09 AM #

thanks. it solve my trouble. thanks a lot.

amit India

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading