Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module PA Reference Problem to DotnetnukeModule PA Reference Problem to Dotnetnuke
Previous
 
Next
New Post
5/9/2007 8:18 AM
 

I have created a module following Michael Washington's guide on creating a module for DNN 4, located here http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1140/Default.aspx

I created the module using Visual Studio's 2005 Standard and DNN 4.5.1.

I have packaged the module and can install the module on other DNN 4.5.1 sites.  However, if I try to install the module on any 4.x site less than 4.5.1 I get an error.

Error: UserDirectory is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnn437\09c73e46\a7d93426\App_Web_viewuserdirectory.ascx.39a9c34e.ajooarys.0.vb(56): error BC32206: Indirect reference is being made to assembly DotNetNuke version 4.5.1.28, which contains 'StuartHilbert.Modules.UserDirectory.ViewUserDirectory'. This Project references a prior version of DotNetNuke version 4.3.7.14114. To use 'StuartHilbert.Modules.UserDirectory.ViewUserDirectory', you must replace the reference to DotNetNuke with version 4.5.1.28 or higher. ---> System.Web.HttpCompileException: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnn437\09c73e46\a7d93426\App_Web_viewuserdirectory.ascx.39a9c34e.ajooarys.0.vb(56): error BC32206: Indirect reference is being made to assembly DotNetNuke version 4.5.1.28, which contains 'StuartHilbert.Modules.UserDirectory.ViewUserDirectory'. This Project references a prior version of DotNetNuke version 4.3.7.14114. To use 'StuartHilbert.Modules.UserDirectory.ViewUserDirectory', you must replace the reference to DotNetNuke with version 4.5.1.28 or higher. 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 ---

I have seen some mention aroudn the forums about this but I haven't figured out how to address the issue.  How do I get my module to work on all versions of DNN 4?

 

Thank You,

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
5/9/2007 12:50 PM
 

If you want the module to be backwards compatiable you must built it as a module against a previous version of DotNetNuke.  Therefore if you want it to work with 4.4.1 and later you must built it against 4.4.1.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/9/2007 12:57 PM
 

Wow!  That isn't cool.  Thank you for the info though.

So where do I get DNN version 4.0? :)

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
5/9/2007 1:22 PM
 

You can download it from the "Downloads" section of this site.  If it isn't listed there, you will see a link to "Previous Versions" and can get it from there.

SImply change the reference to the older DotNetNuke.dll file and you will be set!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module PA Reference Problem to DotnetnukeModule PA Reference Problem to Dotnetnuke


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out