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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksApp_GlobalResources causes problems when precompiling site in DNN 4.03App_GlobalResources causes problems when precompiling site in DNN 4.03
Previous
 
Next
New Post
3/29/2006 2:39 PM
 

When recompiling a DotNetNuke using version 4.0.3 the App_GlobalResources directory is removed and all files are compiled into an assembly.  This causes issues for DotNetNuke localization. It is not possible to copy this directory to a precompiled site as you will get the following error.

The directory '/DotNetNuke/App_GlobalResources/' is not allowed because the application is precompiled.

3 solutions I see for this ….

  1. Rename App_GlobalResources directory to AppGlobalResources.  Change line 62 in Localization.vb to

Public Const ApplicationResourceDirectory As String = "~/AppGlobalResources"

I have done this on my local machine for now and it appears to work ok

  1. Rename App_GlobalResources directory to App_localRespource. This directory is not precompiled if site is set to be updateable.  This might not be ideal if site is to be compiled with no update option.
  1. Change logic engine to pull resources from DLL.  Probably not ideal as two code bases would need to be maintained

Any thoughts?

Bert

 

 
New Post
4/24/2006 1:48 PM
 

we are getting similar problems with 4.0.2 

we will probably follow your idea #1


Jeff Martin
MCSD C#
 
New Post
5/11/2006 9:29 AM
 
i've tried doing this, but i don't have a localization.vb file, and i've tried searching for the line to change as well, with no result.  any ideas?
 
New Post
5/13/2006 12:01 PM
 
you need to dowlong the source version for this.

Bert
 
New Post
7/28/2006 6:21 AM
 

I experienced this with version 4.03 & now with 4.33 also- If I publish the site to another web server  and the page loads etc. but whenever I try to edit some content I got the "Value cannot be null. Parameter name: format" error.

To fix this I tried option 1 and copied the dotnetnuke.dll file (using the source package with a changed Localization.vb file) Now it seems error just moved somewhere else - I can now edit fields and everything is ok  - but the error moved to the registration page & users admin page.

Any ideas?

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksApp_GlobalResources causes problems when precompiling site in DNN 4.03App_GlobalResources causes problems when precompiling site in DNN 4.03


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