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
3/29/2007 10:50 PM
 
Hi, I have a DNN 4.3.7 site up and running and I am having the hardest making a change to the blog module. I will try to state the best that I can what I have tried and maybe you can tell me where I went wrong.

Intent. I need to make a small change to the blog module so I got the source and I am trying to compile. I am trying to compile before I make any changes to get that variable out of the equation.

Environment
Blog 03.02.00
VS2005
WD2005 Express
IIS
SSrvr 2005 Express

I have gotten a site up in running in several fashions.

I have tried running a site build from the 4.3.7 install package at localhost/dotnetnuke served by IIS. When I do this the blog source project tells me that is can't find the solution at the http://localhost/dotnetnuke project referenced in the source.

I have also tried serving the 4.3.7 source and I still get an error. (I appologize but I just realized I forgot to email myself the exact error) The gist of it though is that it finds the project but can't find things like the security module.

So, am I missing something really obvious? I see the documentation on building a new module using the quick start and have done that successfully. I just can't get the blog module to build.

Any help would be great. If there is a tutorial or FAQ that I am missing... I will RTFM (Just point me to it :P)  Right now I just can't find any example of extending and building an existing modules.

Thanks,
Stephen
 
New Post
3/30/2007 8:56 AM
 
The basic process for compiling the source version of a module will be something like this:

1) Download the source version from the project subsite (obviously :) )
2) Unzip the source files somewhere on your hard drive. IIRC, you will need to unzip the resources.zip file, because that's the one that contains the source files. One of these files will be a .vbproj file.
3) Open VS2005, and load this project. Ensure that the companion source files (.vb, .ascx) are also loaded.
4) Compile the project, correct reference errors (see below).

The "second" attempt you described above sounds like it's the closest to working. When you load a project for the first time, it will likely have some bad references that you will need to manually add. This is why you are getting errors about the "security module" -- its reference is not currently in your project.

To correct, click on "My Project", then on the References tab. Add the missing references.

What are the missing references? Well, dotnetnuke.dll is always needed. Other than that, you will need to look at the error list and determine what assembly the missing classes are located in. The object viewer (ctrl-alt-j) is invaluable in performing this task. Say I was missing the class "DNNToolbar". I'd open the object browser, search for DNNToolbar, and see that it was located in the "DotNetNuke.Webcontrols" assembly. I'd add a reference to this assembly to my project, and the compiler would be able to find it.

Hope this helps!

Brandon

Brandon Haynes
BrandonHaynes.org
 
New Post
4/2/2007 12:28 PM
 
Hi Brandon,
It seems that I am missing Framework.Providers.Provider and .ProviderConfiguration

I will Google to see what I find.
 
New Post
4/2/2007 12:28 PM
 
Hi Brandon,
It seems that I am missing Framework.Providers.Provider and .ProviderConfiguration

I will Google to see what I find.
 
New Post
4/3/2007 10:13 AM
 
As I mentioned above, if you use the object browser in VS2005, you will see that the ProviderConfiguration and Provider classes are contained within the DotNetNuke.dll assembly.

Brandon

Brandon Haynes
BrandonHaynes.org
 
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