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 ...Value cannot be null. Parameter name: formatValue cannot be null. Parameter name: format
Previous
 
Next
New Post
4/10/2006 10:43 AM
 

I have setup and compiled 4.0.2 using VS2005.  It runs perfectly locally.  However when deploying to a web server I have these issues:

  • App_GlobalResources is not deployed (normal behavior I believe)
  • Drop down mens are missing their text
  • Most editing features crash with the following error:

System.ArgumentNullException was unhandled by user code
  Message="Value cannot be null. Parameter name: format"
  ParamName="format"
  Source="mscorlib"
  StackTrace:
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object arg0)
       at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)
       at DotNetNuke.UI.Skins.Skin.Page_Init(Object sender, EventArgs e)
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.UserControl.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Control.AddedControl(Control control, Int32 index)
       at System.Web.UI.ControlCollection.Add(Control child)
       at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DotNetNuke_2\Website\Default.aspx.vb:line 489
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at DotNetNuke.Framework.PageBase.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The actual line of code causing the error is line 489 in Default.aspx.db:

SkinPlaceHolder.Controls.Add(ctlSkin)

I have tried the solution at

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/107/threadid/14873/scope/posts/Default.aspx

However the same problem exists ... menus are missing and the editors crash.

Any ideas would be greatly appreciated, I have worked for hours on this.

 
New Post
4/10/2006 3:25 PM
 

Hi,

i've been having this issue for the past 2 weeks, finally got it resolved today, why this has to be done all of a sudden, i don't know,

maybe one of the core team can comment:

i just following the posting, and renamed app_gobalresources to dnn_globalresources, made the change to the localization.vb file -

recompiled the dotnetnuke.dll, and published the site, and all my text has come back, and the site seems to be working. (PS: copy the DNN_GlobalResources directory manually to your deployed website folder)

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"

hth

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Value cannot be null. Parameter name: formatValue cannot be null. Parameter name: format


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