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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Issue with precompiling 4.0.3 (even after renaming App_GlobalResources)Issue with precompiling 4.0.3 (even after renaming App_GlobalResources)
Previous
 
Next
New Post
5/8/2006 4:36 PM
 

Hi again

After precomiling/publishing DotNetNuke 4.0.3 site from source I got the error message:
"Value cannot be null. Parameter name: format"

I followed the instructions from here to fix it:
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/107/threadid/30257/scope/posts/Default.aspx

See quote:
"To workaround the problem it is required to rename DotNetNuke App_GlobalResources  folder (e.g. to Dnn_GlobalResources) and change the constant ApplicationResourceDirectory in  DNNLibrary\Components\Localization\Localization.vb to the same name, e.g.

Public Const ApplicationResourceDirectory As String = "~/Dnn_GlobalResources"

After rebuilding the entire solution and publishing the website, I am getting at the blank home page displaying:

An error has occurred.
An error has occurred.

The URL in by browser window states:
http://mywebsite/Default.aspx?tabid=74&error=Value+cannot+be+null.%0d%0aParameter+name%3a+format&content=0

I then tried a search and replace of the entire project for App_GlobalResources and replaced it with Dnn_GlobalResources (replaced a few instances in the website code, and a few in the skins area of the portal). Still not joy I'm afraid.

It still works perfect locally regardless.

I notice most people were running 4.0.2 with this issue and managed to fix it. I wonder if there is a different solution for 4.0.3?

Note IIS permission are set correctly for both local and remote sites.

Please can anybody help?

Cheers

Alex



Alex Shirley


 
New Post
5/9/2006 5:01 AM
 

After much experimentation last night I found out it only  works if you allow files to be updatable when precompiling/publishing. I guess this behaviour cannot be changed as the data files are within the assembley?

Cheers

Alex

 



Alex Shirley


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Issue with precompiling 4.0.3 (even after renaming App_GlobalResources)Issue with precompiling 4.0.3 (even after renaming App_GlobalResources)


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