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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...APP_CODE/HTML is not allowed because....APP_CODE/HTML is not allowed because....
Previous
 
Next
New Post
10/16/2008 3:20 PM
 

please note that precompilation of DotNetNuke is currently not supported.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/17/2008 11:12 AM
 

I think that the entire problem in pre-compilation is that the default modules that are installed on initial install are not pre-compiled.  I think that the biggest issue is with the stock HTML / Text module and the need for it to place code into the App_Code Directory.  There may be a remedy in precompiling, publishing,  and then replacing the stock modules with pre-complied ones.  Still researching that one.

 
New Post
10/17/2008 11:40 AM
 

My apologies if this is supposed to be a secret, but...

For Pre-Compiled:

  1. Change the app_GlobalResources directory name to DNN_GlobalResources
  2. Change the constant ApplicationResourceDirectory As String = "~/DNN_GlobalResources".  This is found in the ApplicationResourceDirectory
    in  DNNLibrary\Components\Localization\Localization.vb
  3. In the install directory of the website "Install\Module\": Replace the HTML_NN.NN_Install.zip with a true pre-compiled install zip.  You can create the zip by pre-compiling the module as part of a seperate DNN project (Same version) with fixed naming.  Then you can collect the components and re-package them in the zip.  I did this by looking over the current xml file and changing as needed.  I have a HTML_4.5.0_Install.zip that I craeted that works out for me.  It wouldn't hurt for DNN to be packaged with a pre-compiled HTML_nn.nn.nn_Install.zip.

This should fix the entire problem and give you a good pre-compiled DNN.

Please note that I have note done any extensive tests on this, but my site works fine.

MB

 
New Post
10/17/2008 1:08 PM
 

MBrooker wrote
 

My apologies if this is supposed to be a secret, but...

For Pre-Compiled:

  1. Change the app_GlobalResources directory name to DNN_GlobalResources
  2. Change the constant ApplicationResourceDirectory As String = "~/DNN_GlobalResources".  This is found in the ApplicationResourceDirectory
    in  DNNLibrary\Components\Localization\Localization.vb
  3. In the install directory of the website "Install\Module\": Replace the HTML_NN.NN_Install.zip with a true pre-compiled install zip.  You can create the zip by pre-compiling the module as part of a seperate DNN project (Same version) with fixed naming.  Then you can collect the components and re-package them in the zip.  I did this by looking over the current xml file and changing as needed.  I have a HTML_4.5.0_Install.zip that I craeted that works out for me.  It wouldn't hurt for DNN to be packaged with a pre-compiled HTML_nn.nn.nn_Install.zip.

This should fix the entire problem and give you a good pre-compiled DNN.

Please note that I have note done any extensive tests on this, but my site works fine.

MB

MB, you forgot point 4. Recompile all modules installed (including 3rd party modules), since constants like ApplicationResourceDirectory get replaced by its value during compilation. This is our known drawback, not allowing us to change the constant, because this would break all compiled modules, which support localization.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...APP_CODE/HTML is not allowed because....APP_CODE/HTML is not allowed because....


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