receiving Web part errors following an upgrade to .net 2.0

Posted on 2007-11-13
Last Modified: 2013-11-07
I have upgraded my Windows 2003 SBS to .net 2.0.
Following the upgrade i get the following error message "Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem persists" any page I try to goto on my "companyweb" site.

If I change the ASP.NET version on my companyweb virtual service in IIS I get an error about not being able to run two different .net versions on the same server
Question by:ivolach
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 20277801
.NET 2.0 is not an "UPGRADE" to .NET 1.1, so did you install it for a particular application you added to your server?

Because none of the default SBS web sites are able to run on .NET 2.0.

If you don't have any need for it, uninstall it, and then you must re-register .NET 1.1 by running the following command:

C:\>WINDOWS\Microsoft.NET\Framework\v1.1.4322\  -i



Author Comment

ID: 20279557
I have installed it and registered it.
I have an application that does need it and when I have tried to run that application in .net 2.0 and the rest in .NET 1.1 I kept getting the error message that I can not run two different .net versions on the same server process.

At the moment, except for sharepoint, all the other default SBS web sites seems to be working fine.
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 20285563
If you need to be running .NET 2.0, then you create a separate Application Pool for that site.  You can't mix 1.1 and 2.0 in the same Application Pool.

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI


Author Comment

ID: 20286323
Thank you Jeff
I have created a separate application pool and a new virutal server rather than creating virutal directory for the application yet I am still getting the error message

LVL 74

Accepted Solution

Jeffrey Kane - TechSoEasy earned 500 total points
ID: 20286549
Sorry, I totally clipped the command line in my initial comment to you.  

The command to run is

C:\>WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

Please try running that and see if it resolves your problem.  If it doesn't, run it with a -r instead of -i, and then follow that by running it again with the -i switch.


Author Closing Comment

ID: 31409110
I have gone through the whole suggested process and everything is working now.


Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question