Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems upgrading MM ver 2.0 to 2.3
Message
 
À
12/03/2007 14:43:10
Igor Grebentsov
Coalition America Inc
Georgie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01202809
Message ID:
01202885
Vues:
6
Igor,

>We created ASP.NET application using MM.NET ver 2.0. A few weeks ago we upgraded MM.NET to ver 2.3. After this upgrade none of the Web MM controls cannot be loaded on a web form.
>
>The thing that I tried to do is I removed old MM ver. 2.0 references and added new references to MM ver. 2.3 in project property pages, but it didn't solve the problem
>and the pages look absolutely the same.
>
>It looks like all the old MM controls on the form just were erased and new MM install failed to replace internal references to them automatically. If it is the case, the whole project got destroyed.
>
>What should I do in order to fix this problem? Thanks

Here are a few things to check:

  1. Make sure you have a reference to the MM .NET 2.3 assemblies in the following sections of your web.config:
    <assemblies>
    	<add assembly="Mere Mortals Framework 2005, Version=2.3.0.0, Culture=neutral, PublicKeyToken=511BD18E16C7F771"/>
    	<add assembly="Mere Mortals Framework Interfaces 2005, Version=2.3.0.0, Culture=neutral, PublicKeyToken=2312FEFB461DBB0E"/>
    	<add assembly="Mere Mortals Framework Web Forms 2005, Version=2.3.0.0, Culture=neutral, PublicKeyToken=E35DC9DDAD261220"/>
    	<add assembly="Mere Mortals Framework Web Services 2005, Version=2.3.0.0, Culture=neutral, PublicKeyToken=CF11DFCC07111904"/>
    </assemblies>
    <pages>
    	<namespaces>
    		<add namespace="OakLeaf.MM.Main.Web.UI.WebControls"/>
    	</namespaces>
    	<controls>
    		<add tagPrefix="mm" namespace="OakLeaf.MM.Main.Web.UI.WebControls" assembly="Mere Mortals Framework Web Forms 2005, Version=2.3.0.0, Culture=neutral, PublicKeyToken=e35dc9ddad261220"/>
    	</controls>
    </pages>
  2. Remove all references to the previous version of MM .NET assemblies in your Project Dependencies, then add in references to the latest MM .NET assemblies.
  3. Remove any hard-coded references to MM .NET assemblies from your web page's .aspx file
  4. Remove the MM .NET Web Controls tab from the Visual Studio Toolbox
  5. Add a new MM .NET Web Controls tab back to the Toolbox and add MM .NET Web controls into the new tab


Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform