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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  App_GlobalResources causes problems when precompiling site in DNN 4.03
Previous Previous
 
Next Next
New Post 11/30/2006 9:38 AM
User is offline Harold Chattaway
33 posts
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 
 Bertcord wrote

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

 

 

Has this original problem been solved in the Nov release? This was a real problem. I have had to just upload the entire site to get around this issue.


Thanks

Harold

 

 
New Post 11/30/2006 10:11 AM
User is offline ErikVB
2698 posts
www.apollo-software.nl
5th Ranked










Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 
 ErikVB wrote

It was done, but it turned out the change would cause issues with modules using constant values which contained references to the directory. Constant values are changed into static strings in the vb.net compiler, so modules would point to the wrong directory. Untill we find a better way to solve this, it was reverted to the old situation....

the answer i gave earlier still applies


Erik van Ballegoij, Apollo Software
If what i am saying is wrong: blame Google
MLSkinHelper: the easy way to put editable text in your skin!
Nederlandse DotNetNuke Gebruikersgroep Apollo Software
 
New Post 11/30/2006 3:45 PM
User is offline Harold Chattaway
33 posts
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 
So is uploading the entire site an appropriate solution or is there some compiled version that can be transferred to the server without running into this problem?

Thanks
Harold
 
New Post 12/7/2006 9:47 AM
User is offline Kevin Donahoe
15 posts
www.NewTechnologyAdvantage.com
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 

Hi Erik!

Sometimes it is all in your mindset and prioritization done by top leadership.  In other words, shifting from I CANT to I CAN DO! and carefully evaluating "nice to haves from show stopper bugs".

Here is a tangible example of what I mean, rather than say "Untill we find a better way to solve this, it was reverted to the old situation"

Have Shaun make an top level executive decision to be more "CAN DO" and say this kind of thing here at this location.

We (the DotNetNuke team) strongly believes in supporting professional development and using ROADMAP SOFTWARE PLANNING and will for sure address this problem in DNN version ?.?.?.  We have Shauns word that he had not left professional developers out in the COLD!

Sometimes we all know the solution is hard.  Especially with great software like you guys produce.  Perhaps this problem is very hard to fix.  I do not personally know.  But if Shaun acts as a priority setting manager and sees this is TRUELY A SHOW STOPPER TO PROFESSINAL DEVELOPMENT then he will point your DotNetNuke team at a specific DotNetNuke release in the future and give his word / promise to the public the problem will be fixed in the DNN PLANNED ROADMAP future version of DotNetNuke.


Kevin Donahoe CEO, Architect, and .Net Developer http://www.NewTechnologyAdvantage.com
 
New Post 2/24/2007 5:24 AM
User is offline d
2 posts
10th Ranked


Re: App_GlobalResources causes problems when precompiling site in DNN 4.03 
Have to bump this up because I'm runnin into the same issue with 4.4.1. Has there been a viable solution for this? It looks like this bug was discovered a while ago and I'm hoping that it has been resolved.
 
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.

 


ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com

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