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.0Error when publishing (Starter Kit DNN 4.3, VS2005)Error when publishing (Starter Kit DNN 4.3, VS2005)
Previous
 
Next
New Post
6/21/2006 9:55 AM
 

Hi,

I have followed the instructions given in http://forums.asp.net/1114393/ShowPost.aspx to publish my modules as assemblies.

I'm using the Starter kit of DNN 4.3 to develope my modules and everything goes fine if I run my site using VS2005. But when I publish it to a folder and take from there the assemblies and ascx's, error BC30456 appears.

What I have done is the following:

1) I have updated my DNN 3.2 portal to 4.3 (everything goes ok)

2) I have created a new site using Starter Kit and converted my modules to ASP 2 (everything goes ok)

3) I have published the whole new site in a temporary folder, and then I've taken from there my modules folders from within DesktopModules and copied to the same place in my portal.

I have also copied all the assemblies related to my modules from bin in temporary folder to bin in my portal

4) When I access my portal, the following error appears:

DotNetNuke.Services.Exceptions.ModuleLoadException: C:\deploy\dnn4\neoteo\DesktopModules\FBlogCat\FBlogCatView.ascx(8): error BC30456: 'IDdelTab' is not a member of 'ASP.desktopmodules_fblogcat_fblogcatview_ascx'. --->

IDdelTab is a public function present at the codebehind of FBlogCatView.ascx. As I have said before, it works ok if I run it from the site created by the StarterKit.

I guess that FBlogCatView.ascx it's not being able to load the proper assembly (is stated as App_Web_fblogcatview.ascx.9076e4e6 in the ascx file) but I cannot find a way to make it work.

Any help will be apreciated.

Thanks in advance!

Pablo.

 
New Post
6/21/2006 11:21 AM
 

Ok, I've got it!

As I've said in the previous post, I updated the portal from DNN 3.2. So in the bin folder existed yet the old assemblies of my modules (DNN 3.2 versions).

Somehow, DNN got confused about that. I have just deleted the old dll's and everything is going fine now.

I guess that DNN (or just ASP.NET) loads all the dll's placed in bin folder and since the namespaces of my old version modules and the new ones were the same, there was a big mess about which objects to instantiate.

So, I hope this information could be useful for anybody who is upgrading his/her DNN portal.

Pablo.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Error when publishing (Starter Kit DNN 4.3, VS2005)Error when publishing (Starter Kit DNN 4.3, VS2005)


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