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.0New to DNN: module not "Portable" or "Searchable"New to DNN: module not "Portable" or "Searchable"
Previous
 
Next
New Post
1/25/2007 10:21 AM
 
harsh.sheth wrote
i've come to understand that i need to have a ".dnn" file to add the property in order to instruct the module to load the controller class; but i've made the module from scratch, adding all the web user controls and resource files manually as instructed in the book, but its not been instructed how to add a "*.dnn.config" file.

wht do i have to do to add a well formed .dnn.config file ?


Just to clarify this question:

".dnn" files are only used when installing Module Packages, so when you are developing your module you don't really need to worry about them since you are configuring the Module Definition manually.

When you do create an installable package, you must create a ".dnn" file so that DNN knows how to install your module (what controls to use, the controller class, etc.). After installing the module, that ".dnn" file is placed in the DesktopModules/[YourModuleName] folder and renamed to add a ".config" extension to the end so that it cannot be downloaded over the web (ASP.Net prevents ".config" files from being served up from your website). So, the ".dnn.config" file is simply there as a copy of the ".dnn" file from the package (with the ".config" extension there to prevent other users from viewing it). You do not need to create the ".dnn.config" file.

Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
1/25/2007 11:48 AM
 

harsh.sheth wrote
thank u for the reply...

...but i've tried doing that too, but without any success...

Can you tell me what happend? Did it not allow you to enter the controller class? Are you using DNN 4.4.0 or higher? Thank You



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/28/2007 11:45 PM
 
thank u openarrow for the insight on .dnn files... it will surely help me in the future...
 
New Post
1/28/2007 11:48 PM
 
i put the exact name in the Controller Class box and clicked on Update. the page just refreshed and nothing changed on it.
 
New Post
1/29/2007 8:13 AM
 
  • You are using DotNetNuke 4.4.0 or higher?
  • You have the code for the Iportable and ISearchable in your App_Code directory?
  • You compared you code to the code samples on the PACKT site?
  • The site compiles in Visual Studio?


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0New to DNN: module not "Portable" or "Searchable"New to DNN: module not "Portable" or "Searchable"


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