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.0Custom module compilation errorCustom module compilation error
Previous
 
Next
New Post
6/19/2009 11:19 AM
 

I have made my new module.
I have installed a new dotnetnuke website and add to the main solution a prohect that is my module.

Hi have followed this toutorial

But Hi have my module/project that have the default directory in /DesktopModule/Modulename  (see the photo below) this create a lot of problem, for example a lot of lables have the same error:
Error 2 Name 'lblUserId' is not declared. C:\siti\xxxx\xxxx\DesktopModules\GyniusAdm\ElencoMacchine.ascx.vb

But the lable exist, i this that is possible tha visualstudio doesen't find correctly the items.

1) How do you create your module, its correct this way?

2) HI have a big  question the first line of my ascx files is the same

<%@ Control language="vb"  Inherits="MyCompany.Modules.GyniusAdm.GyniusMenu" AutoEventWireup="false" Explicit="True" Codebehind="GyniusMenu.ascx.vb" %>

Sometimes if I replace Codebehind with CodeFile the lables are founded but Dotnetnuke crash and i need to replace CodeBehind another time and refresh the page.

What you use Codebehind or CodeFile ?

 

thanks Rmartin

 

 
New Post
6/22/2009 10:28 AM
 

I use WAP for creating my modules. They live in their own project, not in the website project. Because of using WAP, Codebehind is utilized.


John Eimer
 
New Post
6/26/2009 4:04 AM
 

Hi Jhon

can you explain me the steps that you make when start a new project, and how to debug your project?

thanks
Rmartin

 
New Post
6/30/2009 10:12 AM
 

Can any one tell about his way to debug custom module?

rmartin

 
New Post
7/10/2009 11:38 AM
 

To debug my WAP project, I will attach to process w3p.exe. From there I can set breakpoints and step through the code.


John Eimer
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom module compilation errorCustom module compilation error


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