Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MM 2003 - Can't find Web Controls to add to ToolBox
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00796251
Message ID:
00796372
Vues:
11
Ms. H!

>I updated from 2002 to 2003 (installed .Net 2003 and the MM beta (dated 4/27/03)). Now when I try to run my asp.net app, I get an error from my ASPX pages that it can't find the assembly for the MM Web Form controls. I re-added the references to my solution (and all projects) to point to the MM 2003 version. I can see the MM Winforms controls when I'm trying to add Webform controls to the toolbox, but when I pick the WebForms.DLL I get a message that goes something like "Webforms.dll does not contain any controls that can be added to the toolbox" or something like that.

Sounds like there's a few .NET issues going on here.

1. First, check out the MM .NET Dev Guide topic "Adding MM .NET Web Forms Controls to the VS .NET Toolbox". At the bottom of the topic I describe a VS .NET bug that's causing this registration problem and show you how to get around it.

2. Second, did you have an existing Web Forms application you created in VS .NET 2002 that you are now trying to use in VS .NET 2003? If so, UNFORTUNATELY, Web Forms store the hard-coded version of Web Form control dlls in each page. To upgrade your forms to 2003, do the following:

* Open each Web Form and click on the HTML tab at the bottom left of the IDE.
* At the top of the HTML page, make sure the version is:

Version=1.1.1158.18447

And the public key token is:

PublicKeyToken=A16649D902B008D4

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