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.0DNN Version ConfilctDNN Version Confilct
Previous
 
Next
New Post
3/13/2008 4:32 PM
 

Hi. I'm trying to recompile a module in a 4.8.1 dev environment and I am deploying to a portal that is 4.8.0. I receive this error when the module loads:

System.Web.HttpCompileException: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a326790e\6534653\App_Web_settings.ascx.e1237348.g-hd0nmc.0.vb(53): error BC32206: Indirect reference is being made to assembly DotNetNuke version 4.8.1.0, which contains 'DNN.Modules.Test.Settings'. This Project references a prior version of DotNetNuke version 4.8.0.0. To use 'DNN.Modules.Test.Settings', you must replace the reference to DotNetNuke with version 4.8.1.0 or higher

Which reference am i supposed to replace? My project (wap) references 4.8.1

 
New Post
3/13/2008 5:04 PM
 

try deleting ALL of the files in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

see if that solves your problem

 
New Post
3/14/2008 10:13 AM
 

I did that but I still get errors. This time i get an error:

DotNetNuke.Services.Exceptions.ModuleLoadException: E:\inetpub\vhosts\hindsonline.com\httpdocs\DesktopModules\Test\test.ascx(7): error BC30451: Name 'GetContent' is not declared. ---> System.Web.HttpCompileException: E:\inetpub\vhosts\xoxoxox.com\httpdocs\DesktopModules\Test\test.ascx(7): error BC30451: Name 'GetContent' is not declared. 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 ---

This GetContent is a funciton that happens when the page loads. When I package the module and deploy to a 4.8.1 portal, it works fine. If I go below a 4.8.1 version I get errors.

I modified this module from the source of another module that I bought the source for. Again, my dev environment is 4.8.1. how can I make it backwards compatible????

 

 
New Post
3/15/2008 9:47 AM
 

in most cases you need to compile your module against the lowest core library that you want to support. so, for example if you develop a module and reference 4.5.0, your module should be installable on any DNN installation using 4.5.0 or greater. Usually compiled modules are not backward compatible, only forward compatible.

if you need to support 4.8.0, you should have a DNN 4.8.0 site and reference that DotNetNuke.dll in your project, then you can install you package in both 4.8.0 and 4.8.1 and most likely any upcoming releases as well.

 
New Post
3/18/2008 10:53 AM
 

ok. I created a fresh module and had the same result. If I try to reference an earlier dll, it will not compile.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Version ConfilctDNN Version Confilct


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