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.0Page is not a member of ASP.desktopmodules ...Page is not a member of ASP.desktopmodules ...
Previous
 
Next
New Post
8/25/2006 2:50 PM
 
I have developed a module in VS2005 using the steps outlined by Vladan Strigo in his BlankModule.  In my development environment it works fine. However when I package it and install it on a clean DNN 4.3.4 (install.zp) I get an error:

DotNetNuke.Services.Exceptions.ModuleLoadException: F:\DNN Sites\DotNetNuke_2Test\DesktopModules\Statistics\View.ascx(6): error BC30456: 'Page' is not a member of 'ASP.desktopmodules_statistics_view_ascx'. ---> System.Web.HttpCompileException: F:\DNN Sites\DotNetNuke_2Test\DesktopModules\Statistics\View.ascx(6): error BC30456: 'Page' is not a member of 'ASP.desktopmodules_statistics_view_ascx'. 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 ---

Any suggestions as to where the ASP.desktopmodules may be coming from?

The module seems to have installed correctly and shows a single view control:
DesktopModules/Statistics/View.ascx

Why work in DNN source site and not DNN install site?

Declan


 
New Post
8/26/2006 8:57 AM
 
Solution:

After posting the above I was desperately poking about to see what might be different. What I discovered was the the version number on Dotnetnuke.dll was different in my dev and test installations. The dev install had been recompiled.

I reinstalled the original dev and test sites so the dotnetnuke.dll versions were the same. I then rebuilt my module and the problem has gone away.

This raises the question; Is my module now tied to a specific version build of dotnetnuke.dll?  Is the answer to change the property on the dotnetnuke.dll reference to "Specific Version = False"?  I'll test this later.


Declan

 
New Post
8/29/2006 2:58 AM
 

Well, I think that you are tied by DNN version only if one contains something that other does not (e.g. some compiled object or something similar)

But yes, try to set the specific version param to false... As I didn't have these problems I can't actually say that that will solve it, but if you do try pls. let me know so that I know for any future problems similar to this.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
8/29/2006 6:49 AM
 

Vladan,

Just to confirm that setting "Specific Version = False" solved the problem for me.

Declan


 
New Post
8/29/2006 6:58 AM
 

Hi Declan,

thanks for sharing that... I am sure that future users will find this thread usefull.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Page is not a member of ASP.desktopmodules ...Page is not a member of ASP.desktopmodules ...


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