You need to Register for free and Login to post a message in the forum.

Forum

Subject: Custom Module Development
Prev Next
You are not authorized to post a reply.

Author Messages
neenu
Nuke Newbie
Nuke Newbie
Posts:2

06 Oct 2008 11:06 PM  
I created my own module using DAL,by adding 4 class files in app_code directory, say alistinfo.vb,alistcontroller.vb,dataprovider.vb and sqldataprovider.vb.
And module being created is alist.ascx and alist.ascx.vb. now it gives error in sql.ascx.vb in one of the function called by its dataprovider,say "DataProvider.Instance().ExecuteSQL(txtQuery.Text)"
Function not found.
Can anybody tel wat can be the mistake or where can i get tutorials or any ebook (paid/free) to learn module development using DAL in DotNetNuke.
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2520


07 Oct 2008 7:48 AM  
I would recommend adefwebserver.com for good information on writing modules.

Without looking over your code, it's difficult to say what you might have done wrong. But, check the tutorials and see what you can find.

Joe Craig
DNN Creative Support
Subscribe to the website
neenu
Nuke Newbie
Nuke Newbie
Posts:2

08 Oct 2008 12:21 AM  
Thanks for replying.I have read from this site already and followed the same steps,made module coffeeshoplisting.I am attaching the code files herewith,one is under app_code directory and other is under desktopmodules.but on compiling it gives error in sql.ascx.vb in which i didnt do anything. Kindly see and plz solve my problem.

Attachment: 1108212148671.zip
Attachment: 1108212150254.zip

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2520


08 Oct 2008 7:15 AM  
You might be interested in the DotNetNuke module template that was released as a free download from EngageModules.com. See the blog entry on their home page.

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Custom Module Development



ActiveForums 3.7

Latest Forum Posts

RE: Child portal to live site by jncraig
Is there any URL that will get me to your site?
RE: Child portal to live site by jncraig
"Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than...
RE: Child portal to live site by jncraig
I'm sorry that I offended you.  I was trying to give an honest answer.  That answer is, I continue t...
RE: Child portal to live site by psgrzelak
Kind of a round about way of answering my question without answering it.... I prefer the straight fo...
RE: Child portal to live site by jncraig
A subscription to this site will let you view the tutorials.  I believe that will be useful.  In fac...
RE: Child portal to live site by psgrzelak
Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than w...
RE: DotNetNuke News 8th Dec 08 by jncraig
Yes, I'm getting an error, also. But ... you can probably get the podcast from this link: http...
RE: Can't Login! Login Page can't be accessed... by jncraig
This table is part of your DotNetNuke database.You might first want to review these tutorials to hel...
DotNetNuke News 8th Dec 08 by pwadding
When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
RE: Can't Login! Login Page can't be accessed... by e-kreator
a database that you mean.
RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
RE: PDF File Content by jncraig
If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
RE: Navigating between modules by jncraig
What is the URL that is generated? To which page does it send you?
RE: New Logo cant display by jncraig
There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
RE: Child portal to live site by jncraig
You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
RE: PopUp Page by jncraig
To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
RE: How to Change fckeditor alignment by jncraig
It might be easier to use a different skin for your administrative pages. There have been some ot...
RE: Can't Login! Login Page can't be accessed... by jncraig
If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
RE: Can't Login! Login Page can't be accessed... by e-kreator
Hello my problem is that the configuration management in login page page was sent to a Web page that...
RE: Create new 'host' user? by jncraig
You can change a regular user to a Host, by setting the "Host" user's IsSuperUser set to True in the...
AppTheory
RSS Feeds