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.0Module using a different database and a webservice - pls suggest on config. management!Module using a different database and a webservice - pls suggest on config. management!
Previous
 
Next
New Post
6/4/2008 7:17 AM
 

Hi everyone!

This looks a good place for asking my question here.

Let starts from the problem and then I will give you some brief about the module which might help you to understand the problem in a big picture. The problem is, the dotnetnuke module is depended on two different configurations that we putted on the web.config file. Everytime when there are priority updates requested from Dotnetnuke community the deployment need to be very careful with web.config migration. The configuration about another database configuration settings and a webservice configuration & settings. The module required to request the data different from dotnetnuke database and a webservice.

 What would you suggest what should we do to ease our deployment procedure and a better way to manage module configuration?

Thanks for your time! I will be looking forward for a solution that do good and required least :-)

 

 
New Post
6/4/2008 7:29 AM
 

since DNN 4.6.0, Dotnetnuke upgrades do not require manual adoptions of the web.config file any longer, if this doesn't solve your problem, you can store the connection in module settings and retrieve on runtime.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/5/2008 6:24 AM
 

Thanks!

 
New Post
6/5/2008 6:24 AM
 


Could you please elaborate more? Don't you think keeping the connection string in the configuration file (if I get you correct then you mean keeping the configuration in the .dnn.config file) will be safe here not aside somehere else as this could be security threat keep open the conection string?

what would you suggest for the technical implementation?

 
New Post
6/7/2008 10:11 AM
 

It sounds like you are running into a common ASP.NET problem that is not only as issue for DNN but for any app that uses connection strings.  If you have several developers that all use there own database managing the web.config file is very difficult.  In ASP.NET 1.1 we used the very cool user.config file that we did NOT put in source control but if it was present in the developer's working folder that would take precidence over the web.config file.  Unfortunatly that only works for the appSettings group so this does not work for the ConnectionString group in ASP.NET 2.0.  Unfortunatly I don't have any suggestions for you other than we are feeling your pain as well.  Maybe MS gave us some other options in 3.5, I havn't checked yet.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module using a different database and a webservice - pls suggest on config. management!Module using a different database and a webservice - pls suggest on config. management!


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