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.0Problems building exising moduleProblems building exising module
Previous
 
Next
New Post
4/3/2007 9:03 PM
 
That object browser definitely helped. Ultimately, I needed the dotnetnuke 4.3.7 source project to point the blog project to at localhost/dotnetnuke.

However, there were some persistant error that kept popping up regarding two references to the dotnetnuke.dll. One was the source and one was in the temp directory that go built during the compilation process. So. I got around it by pointing to dotnetnuke.dll in a dotnetnuke site that I built using the dotnetnuke install zip.

Once I got that error figured out I  had around 170 reference errors do get over :P However, that was 20 minutes with the object browser.

Hopefully, other people have cleaner installs than I did :) but I am not complaining too much because now my project is building and I am able to make my changes to the blog project.

Cheers,
Stephen
 
New Post
4/4/2007 3:55 AM
 

One of the frustrating things currently about DNN and some of its core modules - is that those modules are currently NOT always source compatible with ASP.NET 2.0

In some cases the source code will be for ASP.NET 1.1 and the project targeted at VS2003.

>>>>

Unfortunately - this is not made clear currently on the DNN site for all mdoules

There are some clues to this if you look in the code - that will let in know what you are dealing with.

If you download the SOURCE code for the BLOG - you will find firstly that the currently available version for download has a last modified date on most of the files on 22/12/2005.  -  so the source code is a little old - the older it is the less likely to be 2.0

If you dig further - and look at pretty much any ascx.vb file in the install - you will see that the way the module classes are defined is incorrect for asp.net 2.0 and dnn4.x - they are defined as Must Inherit instead of Partial.

In addition, if you open the vbproj file in a text editor - and look for the framework statement - it should show the version of asp.net the project is currently targeted too.

>>>>>>>>>>>

Ok - so what can you do about this ... one place to start is the Module Wizzard in the DNN downloads area - which can assist in the conversion of a module from asp.net 1.1 to asp.net 2.0 compatibility.

Note however - that to do this you will most likely need to setup a DNN 3.x portal running asp.net 1.1 to get things happening.

>>  The wizzard does a reasonable job of handling the most common issues - and as best as I can seems to have been used to port forward at least some of the core modules.

Your other option is to start hacking away at the project yourself - file by file - do a search of the blogs here on the site - I seem to recall there being at least one blog that discusses how the wizzard works - and essentially what changes are being made.

Westa

 

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problems building exising moduleProblems building exising module


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