Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  cannot load type
Previous Previous
 
Next Next
New Post 2/10/2006 5:13 AM
User is offline steve conard
95 posts
10th Ranked


cannot load type 

While building custom module (dnn 3.2), this error (bottom of post) appeared without cause and I have tried many things to get rid of it.

Deleted module dlls
Rebuilt solution and modules
Placed within another instance of dnn/sqlDatabase
Reinstalled framework 1.1 sp1
Removed module and replaced
Changed namespace for all components and controls
etc...


Error:
Multiple controls with the same ID 'ctr' were found. FindControl requires that controls have unique IDs.
And:
Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Parser Error: Could not load type 'dnnformWO.viewWOform'. ---> System.Web.HttpParseException: Parser Error: Could not load type 'dnnformWO.viewWOform'. ---> System.Web.HttpException: Could not load type 'dnnformWO.viewWOform'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase) at System.Web.UI.TemplateParser.GetType(String typeName) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text) at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, String virtualPath, String basePhysicalDir) at System.Web.UI.TemplateParser.ParseReader(TextReader input, String virtualPath, String basePhysicalDir) at System.Web.UI.TemplateParser.ParseFile(String filename, String virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in c:\inetpub\wwwroot\secureshares\admin\Skins\Skin.vb:line 462 --- End of inner exception stack trace ---

Thank You for any assistance.

 
New Post 2/10/2006 10:28 AM
User is offline simon tetreault
9 posts
10th Ranked


Re: cannot load type 

I had this problem before. I think that you are a problem in your database. I suppose when you are developping your module it doesn't work the first time and you have kill the page. So, the id of your module is again in the database ModuleId. Drop it and restart with new page.  

Also, if this doesn't work, the last thing is that you are a problem with your sql request. Don't forget add where cause with moduleId = @moduleId.

If all of this don't work, take a tutorial like http://15seconds.com/issue/050505.htm and look for difference between this and your custom module

icemx

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  cannot load type
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP