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.0creating private assembly for dnn 4.9creating private assembly for dnn 4.9
Previous
 
Next
New Post
10/23/2008 10:18 PM
 

Brian has that one correct - you most likely have a naming problem for your DLL , or your SqlDataProvider type.  You can step through the code code to see the point where it is trying to call 'loadAssembly' (or whatever the call is, I forget) with the typename.  Then work out what that type name is and rename your assembly.

I prefer PA dll module development because it's a self contained application, you dont' need the entire DNN site loaded into VS to code, and it's easier to source control.  It's also easier to develop for different DNN Version by sending the compiled DLL to different test installs.  And finally, it's easier to load into unit testing suites when it's a simple DLL.

 
New Post
10/24/2008 9:27 PM
 

I just have to add that the WSP mode is used for serious modules. These are all large modules that use the WSP method and the App_Code directory:

IWeb - DotNetNuke WebServices Module
IWebCF - DotNetNuke WCF Services Module
SilverlightDesktop for DotNetNuke

I do understand that some prefeer the compiled modules but it is important to note that there is no difference between the two methods unless you have the need to obfuscate your code.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
10/27/2008 11:31 AM
 
Thanks Brian... that was the problem. In my DataProvider.vb file, I had to change the following line in the Private Shared Sub CreateProvider() sub:

objProvider = CType(Framework.Reflection.CreateObject("data", "YourCompany.Modules.StudentInformation", ""), DataProvider)
to...

objProvider = CType(Framework.Reflection.CreateObject("data", "Company.Modules.StudentInformation", ""), DataProvider)

Where Company.Modules.StudentInformation is the name of the real namespace in my project.

btw for others reading this, the word Company would be replaced by the name of your real company. So if your name space was McDonalds.Modules.StudentInformation that is what you'd put in that line...

objProvider = CType(Framework.Reflection.CreateObject("data", "McDonalds.Modules.StudentInformation", ""), DataProvider)

Then the DNN framework will see your custom data provider and your database methods/calls will work.
 
New Post
10/30/2008 9:09 AM
 
To Forum Moderator or to All, sorry for posting this here but I don't know what else to do. For the past three days, every time I go to start a new thread on this forum, I get the error:

An error has occurred.
Error: Add/Edit Post is currently unavailable.

why is this happening? I cannot post a new thread and need to ask a question.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0creating private assembly for dnn 4.9creating private assembly for dnn 4.9


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