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.0Web.Config EntriesWeb.Config Entries
Previous
 
Next
New Post
10/2/2007 2:57 PM
 
Hi all,

Converting modules to DNN4.6 and VS2005 is no easy task but I have worked through a few of the tutorials and spent time on the forums.
So far all is converted based on the DNN Website Starter kit. All compiles ok, bar a few warnings which I'll deal with later.

In DNN 3.x, I had a "provider" entry similar to this in the web.config file:
(sorry, cannot show the real thing for privacy reasons...)



AND




type="MyCompany.Modules.SqlDataProvider, MyCompany.SqlDataProvider"
connectionStringName="SiteSqlServer"
upgradeConnectionString=""
providerPath="~\Providers\DataProviders\SqlDataProvider\"
objectQualifier="MC_"
databaseOwner="dbo"/>



I'm now confused as to where to point these parameters in the new framework and new web.config file.
PROBLEM - Once compiled and/or "published", WHERE is the SqlDataProvider.dll? It was once a separate project and separate .dll
Now all is tied into one and I'm not "grasping" the structure here at all.

Can anyone PLEASE point out what needs to be done here?
Been through everything here: http://dotnetnuke.adefwebserver.com/DotNetNuke/tabid/195/Default.aspx
but nothing tells me how/what to amend/change/fix in the web.config file

Connections are all OK as the DNN site runs just fine.

Just struggling to get my modules properly converted and configured in the DNN 4.6 framework and VS2005.

PLEASE advise!!

Thanks!
 
New Post
10/2/2007 3:00 PM
 
Sorry, I guess the system does not allow some entries thus my webconfig snippets didn't quite show as I pasted them.
But all the smart guy out there will know what I mean...

PLEASE HELP!!
 
New Post
10/2/2007 3:17 PM
 

have a look at the module tutorials from Michael Washington at dotnetnuke.adefwebserver.com and the Upgrade Wizard post from Charles Nurse in his Blog.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/2/2007 5:09 PM
 
Thanks, I have been through Mike Washington's tutorials and could not find any clear web.config intructions.
Also, I used to the DNN 3.x and VS2003 environment and that all made sense.
This DNN 4.6 and VS2005 doesn't quite do it for me right now as the project(s) modules built as per the Starter Kit are quite different as you know.
Guess it is just a matter of time and fiddling about...

I know I've not completed the web.config provider entry for my module correctly but cannot figure it out. All else actually does make sense...LOL

I will take a look a Charles Nurse's blogg.

THANKS
 
New Post
10/2/2007 5:18 PM
 

you do not need to care for the SQL dataprovider setting in web.config, it is all handled via dotnetnuke interface, have a look at HTML module for example.

General idea of WSP (the module type, you can create with VWD and StarterKit)  is that your data and business logic classes reside in a subfolder of /app_code and your UI in the appropriate sub folder of /desktopmodules. If you set up everything correctly, you shall also get the link to create the package from inside the ModuleDefinitions menu item.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Web.Config EntriesWeb.Config Entries


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