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  |  

Engage Software - Training Partner for DotNetNuke
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


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.

 


MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com
telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com

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