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:2368


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:2368


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

skin/container error load by islandman
Has anyone else run across this error when loading skins or containers from site settings?I am using...
Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
About catalook error by kishorpawar
 I am  using dnn 4.8.4 version in my project, this  site is in 2 language,whenver i click on the BYN...
RE: Menu Keeps Verticaly by ruimacdonald
Tnx for your help. It's done. Rui
RE: Menu Keeps Verticaly by jncraig
The configuration of the MENU skin object is defined in the skin.xml file. You'll need to modify th...
RE: Add New Profile Properties by jncraig
I have not seen that problem. Which version of DotNetNuke are you using?
DotNetNuke Modules
RSS Feeds