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:
- 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>
- 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.
- Remove any hard-coded references to MM .NET assemblies from your web page's .aspx file
- Remove the MM .NET Web Controls tab from the Visual Studio Toolbox
- 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