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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  namespace problems
Previous Previous
 
Next Next
New Post 4/7/2008 9:24 AM
User is offline bradwCCG
19 posts
10th Ranked


namespace problems 

I currently have three user controls set up for this module that I am starting to write.  Two of the three (Settings and View) are already included in the namespace.  The third (Edit) works just fine when it is not included in the namespace.  When I try to include it in the namespace I am getting the following (very undescriptive) error (on the front end), any idea why?

DotNetNuke.Services.Exceptions.ModuleLoadException: External component has thrown an exception. ---> System.Web.HttpCompileException: External component has thrown an exception. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

 

From the Error log:

ModuleId: 384
ModuleDefId: 137
FriendlyName: Edit Video Clip Viewer
ModuleControlSource: DesktopModules/VideoClipViewer/EditVideoClipViewer.ascx
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 56
ActiveTabName: VideoClip Viewer Test
RawURL: /DotNetNuke435/VideoClipViewerTest/tabid/56/ctl/EditVideoClipViewer/mid/384/Default.aspx
AbsoluteURL: /DotNetNuke435/Default.aspx
AbsoluteURLReferrer: http://localhost:1785/DotNetNuke435/VideoClipViewerTest/tabid/56/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; IEMB3; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; IEMB3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 69c9519b-65d1-431c-a73f-df6c61579242
InnerException: External component has thrown an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.AssemblyBuilder.Compile
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: External component has thrown an exception. ---> System.Web.HttpCompileException: External component has thrown an exception. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Source:

Thanks in advance,

Brad W.

 
New Post 4/7/2008 10:38 AM
User is offline William Severance
842 posts
www.wesnetdesigns.com
7th Ranked






Re: namespace problems 
Modified By William Severance  on 4/7/2008 12:40:39 PM)

The external component exception is often caused by a problem in your .ascx file. I'd begin by double and triple checking that the full namespace.class used in the Inherits attribute of the @ Control tag of the .ascx exactly matches that you are using in the codefile or codebehind.  Is there any possibility that there is an ambiguity in the namespace?

Also check that any methods referenced in databinding constructions in the .ascx are not out of scope when the namespace is added.


Bill, WESNet Designs
 
New Post 4/7/2008 11:25 AM
User is offline bradwCCG
19 posts
10th Ranked


Re: namespace problems 

William,

First issue was the problem.  Since I am still fairly new to DNN Module development that is probably to be expected.  Thanks again for your help.

Brad W.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  namespace problems
 


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.

 


Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com
SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net

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