• Blog
  • Info Support
  • Career
  • Training
  • International Group
  • Info Support
  • Blog
  • Career
  • Training
  • International Group
  • Search
logo InfoSupport
  • Latest blogs
  • Popular blogs
  • Experts
      • All
      • Bloggers
      • Speakers
  • Meet us
  • About us
    • nl
    • en
    • .NET
    • 3D printing
    • Advanced Analytics
    • Agile
    • Akka
    • Alexa
    • Algorithms
    • Api's
    • Architectuur
    • Artificial Intelligence
    • ATDD
    • Augmented Reality
    • AWS
    • Azure
    • Big Data
    • Blockchain
    • Business Intelligence
    • Chatbots
    • Cloud
    • Code Combat
    • Cognitive Services
    • Communicatie
    • Containers
    • Continuous Delivery
    • CQRS
    • Cyber Security
    • Dapr
    • Data
    • Data & Analystics
    • Data Science
    • Data Warehousing
    • Databricks
    • DataOps
    • Developers life
    • DevOps
    • Digital Days
    • Digital Twin
    • Docker
    • eHealth
    • Enterprise Architecture
    • Event Sourcing
    • Hacking
    • Infrastructure & Hosting
    • Innovatie
    • Integration
    • Internet of Things
    • Java
    • Machine Learning
    • Microservices
    • Microsoft
    • Microsoft Bot Framework
    • Microsoft Data Platform
    • Mobile Development
    • Mutation Testing
    • Open source
    • Pepper
    • Power BI
    • Privacy & Ethiek
    • Python
    • Quality Assistance & Test
    • Quality Assurance & Test
    • Requirements Management
    • Scala
    • Scratch
    • Security
    • SharePoint
    • Software Architecture
    • Software development
    • Software Factory
    • SQL Server
    • SSL
    • Start-up
    • Startup thinking
    • Stryker
    • Test Quality
    • Testing
    • TLS
    • TypeScript
    • Various
    • Web Development
    • Web-scale IT
    • Xamarin
    • All
    • Bloggers
    • Speakers
Home » Running a WSS SP2-site in ASP.Net 2.0-mode
  • Running a WSS SP2-site in ASP.Net 2.0-mode

    • By Oud-medewerkers
    • .NET 18 years ago
    • .NET 0 comments
    • .NET .NET
    Running a WSS SP2-site in ASP.Net 2.0-mode

    Today I made an attempt to run a WSS-site on ASP.NET 2.0. I wanted to see how complicated it was and if everything kept working as expected.


    The site I used is the Endeavour Project Portal. This site is part of the Endeavour .NET software development factory which is a commercial product of my company. It’s a SharePoint-powered portal site which displays reports that are generated by our (daily)build-environment. Technically there are several interesting challenges to overcome:



    • The site is based on a custom site definition template-set. This template-set is a copy of the standard STS-set, with some minor customizations. However, the copy of the STS-set was made before SP2 was released, so it doesn’t have the changes that were made to the site definition template-sets in SP2.
    • The site uses a ASP.NET web control which was build using the .NET 1.1 framework.
    • The site uses a few custom made webparts which have been build using the .NET 1.1 framework.

    First thing I did was install the .NET 2.0 Framework on the portal-server. .NET Framework 2.0 is still beta and does not come with WSS SP2. I don’t know if it’s available as a standalone package, but I installed it by installing the Team Foundation Server (TFS) client tools (comes with Visual Studio.NET 2005).


    Then I changed the ASP.NET version on my IIS WebSite. There’s a new tab available on which the ASP.NET Framework-version can be selected.


    Assuming this was all I need to configure, I navigated to the portal-site to check the results. I got an errormessage saying: “The Windows SharePoint Services virtual server has not been configured for use with ASP.NET 2.0….“. The message also included a link to a knowledge-base article on this subject! I wish MS would do that with ALL errormessages in all their products! 🙂


    I followed all steps in the KB-article, which was actually just a single step: running the stsadm-tool with the (undocumented) option ‘upgrade’. This caused a window to appear (I know, it’s not what you expect when running a command-line tool) which stated that SharePoint was updating sites. After that it had made some minor changes to the web.config of the Virtual Server to disable some unsupported features of ASP.NET 2.0.


    Now I navigated to the portal site to check the results. And guess what: it worked!! I now had an ASP.NET 2.0 portal-site, using an ASP.NET 1.1 webcontrol and ASP.NET 1.1 webparts and they all worked fine. I even recompiled the webcontrol with .NET 2.0 and it still worked!


    I did a final check to see if the most complicated webpart would still be fully functional: I check if the site would still properly display build reports.
    … and it did not! The webpart displayed an xslt-errormessage“Expression must evaluate to a node-set.“. The webpart loads the xml-report that have been produced by the build-engine and uses xslt-files to transform them into nice HTML. I know the System.Xml-namespace in the .NET 2.0-framework is much more strict than the 1.1-version, but since the webpart is a 1.1-version, it uses the 1.1-version of the System.Xml-namespace and therefore cannot be causing this problem. However, on of the xslt-files contains some C#-code that uses classes in the System.Xml-namespace and is dynamically compiled at first use. So I assume this is causing the problems.


    At this time we decided we would not go through with converting our Endeavour Project Portal-product to .NET 2.0 for our next release of Endeavour (v2.5). We have to ship in a few weeks and our 1.1-version of the portal will do fine on portal sites using ASP.NET 1.1. Customers using a ASP.NET 2.0-site can always create a new virtual server and configure it for ASP.NET 1.1 and install our portal product on that virutal server.
    However, in the near future we will have to do the conversion and as a result of this first exercise, I think we can expect a lot of complicated challenges to get things running well.


    More information:
    – Endeavour (dutch)
    – Case-study by Microsoft (english)
    – Endeavour Project Portal (dutch)

    Share this

Oud-medewerkers

View profile

Related IT training

Go to training website

Related Consultancy solutions

Go to infosupport.com

Related blogs

  • What's new in C# 12, a developer perspective

    What's new in C# 12, a developer perspective Tom van den Berg - 2 weeks ago

  • Continuous validation - Ensuring Availability and Resil…

    Continuous validation - Ensuring Availability and Resil… Tom van den Berg - 1 month ago

  • Continuous validation - Ensuring Availability and Resil…

    Continuous validation - Ensuring Availability and Resil… Tom van den Berg - 1 month ago

Data Discovery Channel

  • Data+AI Summit 2023

  • Blijf je Azure cloud omgeving de baas met CloudXcellence

  • MLOps

Nieuwsbrief

* verplichte velden

Contact

  • Head office NL
  • Kruisboog 42
  • 3905 TG Veenendaal
  • T +31 318 552020
  • Call
  • Mail
  • Directions
  • Head office BE
  • Generaal De Wittelaan 17
  • bus 30 2800 Mechelen
  • T +32 15 286370
  • Call
  • Mail
  • Directions

Follow us

  • Twitter
  • Facebook
  • Linkedin
  • Youtube

Newsletter

Sign in

Extra

  • Media Library
  • Disclaimer
  • Algemene voorwaarden
  • ISHBS Webmail
  • Extranet
Beheer cookie toestemming
Deze website maakt gebruik van Functionele en Analytische cookies voor website optimalisatie en statistieken.
Functioneel Always active
De technische opslag of toegang is strikt noodzakelijk voor het legitieme doel het gebruik mogelijk te maken van een specifieke dienst waarom de abonnee of gebruiker uitdrukkelijk heeft gevraagd, of met als enig doel de uitvoering van de transmissie van een communicatie over een elektronisch communicatienetwerk.
Voorkeuren
De technische opslag of toegang is noodzakelijk voor het legitieme doel voorkeuren op te slaan die niet door de abonnee of gebruiker zijn aangevraagd.
Statistieken
De technische opslag of toegang die uitsluitend voor statistische doeleinden wordt gebruikt. De technische opslag of toegang die uitsluitend wordt gebruikt voor anonieme statistische doeleinden. Zonder dagvaarding, vrijwillige naleving door uw Internet Service Provider, of aanvullende gegevens van een derde partij, kan informatie die alleen voor dit doel wordt opgeslagen of opgehaald gewoonlijk niet worden gebruikt om je te identificeren.
Marketing
De technische opslag of toegang is nodig om gebruikersprofielen op te stellen voor het verzenden van reclame, of om de gebruiker op een website of over verschillende websites te volgen voor soortgelijke marketingdoeleinden.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Voorkeuren
{title} {title} {title}