Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Vote for DotNetNuke as your choice for winner of this year's PackT Open Source CMS Award
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  App_GlobalResources causes problems when precompiling site in DNN 4.03
Previous Previous
 
Next Next
New Post 3/29/2006 11:39 AM
User is offline Bert Corderman
108 posts
9th Ranked


App_GlobalResources causes problems when precompiling site in DNN 4.03 

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 10:48 AM
User is offline Jeff Martin
61 posts
www.jeffmartin.com
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 

we are getting similar problems with 4.0.2 

we will probably follow your idea #1


Jeff Martin
MCSD C#
My Site
 
New Post 5/11/2006 6:29 AM
User is offline Roland Flakfiser
2 posts
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 
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 9:01 AM
User is offline Bert Corderman
108 posts
9th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 
you need to dowlong the source version for this.

Bert
 
New Post 7/28/2006 3:21 AM
User is offline Pieter Claassens
4 posts
www.starbal.net
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  App_GlobalResources causes problems when precompiling site in DNN 4.03
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com
Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP