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

Forum

Subject: Installing a module with a DLL and web.config change
Prev Next
You are not authorized to post a reply.

Author Messages
mrdash
Nuke Newbie
Nuke Newbie
Posts:9

14 Sep 2007 9:36 AM  
I have spent the last two weeks trying to figure out how to do this, there is no reference to it.  I have a module I created.  It calls a webservice and uses ajax techniques.  It works great locally.  When I package it up, either automatically (DNN) or manually, I make sure everything is included.

However, when it is installed on another DNN instance there are two things that need to happen.

1.) The web.config needs an appicationSettings entry to point to the web service

2.) The dll that has the code is eiter not installed (/Bin directory) because I do it separately or if I include the dll file in the dnn file, it gets put into a directory UNDER Bin called Modules.

Now I know there is a
After I install the module I have to move the dll back to the Bin directory and add the lines for the webservice to the web.config. then it works fine.

Problem is, the idea is that I can send this module to admins of disparate installations and they should be able to just install the module without directly editing the web.config or moving the dll file around.

Does anyone know any where I can find a reference on how to do this?

Also,
I have a C# template that I modified for my company and I can create a project which works great.  Installing that module throug the SQL statement and Add new definition, produces the exact same result...I still need to copy the dll file over and the web.config of the subdirectory is ignored...and that's the web.config that has the applicationSettings elements I need. so I need to copy those back to the root web.config.
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2505


14 Sep 2007 6:57 PM  
If you package your module up correctly, I imagine that you can do most of this. You might have to edit web.config manually, but I'd guess that there are ways to do that ... but I don't know how to do it. I'd love to learn, though!

Joe Craig
DNN Creative Support
Subscribe to the website
SupaHoopsa
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:13

06 May 2008 8:58 AM  
Did you manage to resolve this as I am facing the same problem
You are not authorized to post a reply.
Forums > DotNetNuke® > Modules > Installing a module with a DLL and web.config change



ActiveForums 3.7

Latest Forum Posts

Create new 'host' user? by jonathanbrickman0000
I have a DNN 4.7 web site successfully migrated to a new server.  There is only one hitch:  the 'hos...
RE: split copyrgt option in two lines by jncraig
You can put a in the copyright text. This may or may not put other text (to the right of the copyr...
RE: Can't Login! Login Page can't be accessed... by jncraig
Try: http://localhost/DNN/login.aspx http://localhost/DNN/?ctl=login If neither of those ge...
RE: HOw to upload site from localserver to www.mysite.com by jncraig
View this tutorial:How to transfer a localhost DotNetNuke installation to a live websitePay special ...
RE: Nightmare with SKINS... by jncraig
Before you get in too far, you might want to take a look at:An Introduction to the Principles of Dot...
RE: Nightmare with SKINS... by dougieladd
Hi Joe...thank you for that...I kind of assumed that was the case. As I understand it the skin comes...
HOw to upload site from localserver to www.mysite.com by aniket.rasal
Dear Friends,       I have created site. Its wolring fine on my local machine.But when i upload the ...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
It is on the Extensions page as well - named 'Batch Install Extensions' stefan blogged about it here...
How to Change fckeditor alignment by aniket.rasal
Hello Friends,       I am creating site with customized skin. In that i want to change the alignmen...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
Talk about hiding things - it took me a while even though it was staring me in the face!In the Contr...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
This post is worth a read in the main dnn forumsHaving upgraded, one thing that is confusing is wher...
RE: DotNetNuke 4.9.1 and 5.0.0 by leesykes
Hello, I've just been experimenting with this upgrading a fresh 4.6.2 (default installation no ex...
Can't Login! Login Page can't be accessed... by durationinc
Hi guys,I develop a website using DotNetNuke 4.9.1. I can't login after I did some modifications on ...
split copyrgt option in two lines by meenu
in dnn0408 website,I added copyright option in admin page settings.now my option is like this"Copyri...
PopUp Page by meenu
hiin my dnn0408 website i added one page named "PopUpMap".....in page settings of Popup page i selec...
RE: link to outlook by meenu
hi joei did the settings...working fine...thanks...
RE: Navigating between modules by Germaine
Hi Hi, anyone out there who can help me in this?? thanks
RE: New Logo cant display by Germaine
Hi Joe, yes I have a filed name Logo.png in the portal's root directory. I have added it into my pro...
Child portal to live site by psgrzelak
Hi all, I am new to the DNN universe but I have administered sites with Front page and Dreamweaver. ...
RE: PDF File Content by dongoldwater
I have reports that are strictly pdf files and want to incorporate them in a module. Can I insert t...
DotNetNuke Modules
RSS Feeds