You need to Register for free and Login to post a message in the forum.

Forum

Subject: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code
Prev Next
You are not authorized to post a reply.

Author Messages
fletcherdunton
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

05 Sep 2008 1:28 PM  

This thread may be answered somewhere else, so forgive me and point me to the solution

I'm currently using DNN 4.08.04 and doing some module and skin development with the Full Source Code Version of DNN. 

That being so, I've created and tested my new modules and new skins on my local DEV environment and now want to push the entire site to my webhost4life ASP.Net account.

So, I have 2 options:

1
- Copy the entire project in its pre-compiled state to the webhost account
2 - Use VS2005's "Publish Website Feature" to create a Pre-Compiled and Faster Loading/Running Website

Well Option #1 works great, but I'm kind of funny about deploying Source Code to a production site.

Also, it runs so painfully slow without being precompiled.

So in this case I've chosen Option #2.

And herein lies the Problem:

1. When Publish the site and try to invoke it in a browser, I get the following runtime error: "Could not find a part of the Path C:\DotNetNuke\App_GlogalResources\Locales.xml"

2. And sure enough, when I look at my deployed project there is no App_GlobalResources folder. 

3. When I copy it there and invoke the site, I get a message "'App_GlobalResources/' is not allowed because the application is precompiled."

4. So, I start debugging this with VS2005 and set a break point to find out that the App_GlobalResources folder is hardcoded into the Localization.vb module via Line via Line 819 and the static object
Localization.ApplicationResourceDirectory

5. See my VS2005 Screen shots.....

http://www.gorudeetours.com/DebugStuff/Local_XML_Not_Found1.png
http://www.gorudeetours.com/DebugStuff/App_GlobalResources_not_allowed1.png
http://www.gorudeetours.com/DebugStuff/App_GlobalResources_not_allowed2.png


Solution?

* I can always hard code around this and deploy the files in App_GlobalResources to another directory, but that sound like hack. 

* Or, I research MSDN on the proper deployment steps for packaging resource files in an ASP.Net precompiled project but I thought that this would have been covered by the DNN Localization Team. However, I can't find anything on DNN about this either...

So, perhaps, I'm missing the obvious.  If, so please enlighten me!

Thank you and Best Regards to All,
Fletcher

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2368


05 Sep 2008 1:48 PM  
I wouldn't recommend either of those approaches.

You don't have to use the source code version of DotNetNuke to make skins or modules.  If you make skins or modules, you should package them up as installable zip files.  I would also keep the skin/module development separate from your production site and from a local "site development" server.

This is what I would do:

  • Make a working copy of your site on a local machine, using copies of your database and web directories.
  • Install your skins
  • Install your modules
  • Configure your site
  • Move the local working copy of your site back to your production server

Joe Craig
DNN Creative Support
Subscribe to the website
fletcherdunton
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

05 Sep 2008 1:55 PM  
Hi Joe:

That makes perfect sense, but I failed to mention that some of the code that I'd added is not at the module level but at the DNN Page Level (Default.aspx.vb) and involes rendering information to PDA's and non JavaScipt based browsers. 

Sorry about that. I was trying to give a concise description and overlooked that...

I guess as a developer, I'm curious what the core team does on a release to address the afromentioned Globalization issue....

Any ideas?

Thank you and Best Regards,
Fletcher

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2368


05 Sep 2008 2:32 PM  
I think that you'd probably be better served asking question like those over on the DotNetNuke forums. When you start talking about modifying the core code and related issues, you leap over the boundaries of my knowlege into the great unknown!

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code



ActiveForums 3.7

Latest Forum Posts

RE: No Access for me too by ristori
it is ok now. Thanks for this action.
skin/container error load by islandman
Has anyone else run across this error when loading skins or containers from site settings?I am using...
Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
About catalook error by kishorpawar
 I am  using dnn 4.8.4 version in my project, this  site is in 2 language,whenver i click on the BYN...
RE: Menu Keeps Verticaly by ruimacdonald
Tnx for your help. It's done. Rui
RE: Menu Keeps Verticaly by jncraig
The configuration of the MENU skin object is defined in the skin.xml file. You'll need to modify th...
DotNetNuke Modules
RSS Feeds