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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error: Value cannot be null. Parameter name: formatError: Value cannot be null. Parameter name: format
Previous
 
Next
New Post
1/11/2010 8:25 PM
 

I am getting this error in several places on my site.

 

Error: An error has occurred.

DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at System.String.Format(String format, Object arg0, Object arg1) at DotNetNuke.UI.UserControls.ModuleAuditControl.ShowCreatedString() at DotNetNuke.UI.UserControls.ModuleAuditControl.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

Product: DotNetNuke Community Edition

Version: 05.01.04 (3)

 

 

I am getting this error after doing something really silly.  I installed a language pack for DNN v4.8.4 from DNNEnglish.com - LANGUAGE PACK USST-484

United States / en-US / ST-TS / DNN v4.8.4

 

This is obviously the wrong version for my DNN installation.

I was originally trying to trouble shoot for an issue with the blog module the turned out to be due to the fact that no language was selected in the Admin account settings under Other Settings > Default Language there were no options to select.  I did finally find out that I needed to update the Admin > Language settings to have an enabled language.  Now I think I need to reinstall the original 5.1.4 En US translation or somehow undo the 4.8.4 install I did earlier. 

 

The error shows up during many but not all transactions, notably at the bottom of Admin -> Site Settings under the Update link.

I am also unable to install any extensions or resource files. I get the following error:

 

Since the installer is not working are there manual things I can do to make this work?

 

Any assistance would be greatly appreciated.

 

Site Settings page error

ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource:

AssemblyVersion: 5.1.4

PortalID: 0

PortalName: Hillsdale Baptist Church, Tampa FL

UserID: 1

UserName: xxxxxxxx

ActiveTabID: 39

ActiveTabName: Site Settings

RawURL: /extra/Admin/SiteSettings/tabid/39/Default.aspx

AbsoluteURL: /extra/Default.aspx

AbsoluteURLReferrer: http://www.hillsdalebaptist.org/extra/default.aspx

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: df1ae57b-e3d6-4983-b0b6-d34b1e0955de

InnerException: Value cannot be null. Parameter name: format

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.String.Format

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: formatat System.String.Format(IFormatProvider provider, String format, Object[] args)at System.String.Format(String format, Object arg0, Object arg1)at DotNetNuke.UI.UserControls.ModuleAuditControl.ShowCreatedString()at DotNetNuke.UI.UserControls.ModuleAuditControl.Page_Load(Object sender, EventArgs e)--- End of inner exception stack trace ---

Source:

SERVER NAME: xxxxx

 

 

Error when trying to install a new resource this is after browsing to the file and clicking Next

 

A critical error has occurred.

Object reference not set to an instance of an object.

 

Log

AssemblyVersion: 5.1.4

PortalID: 0

PortalName: Hillsdale Baptist Church, Tampa FL

UserID: 1

UserName: xxxxx

ActiveTabID: 205

ActiveTabName: Extensions

RawURL: /extra/Admin/Extensions/tabid/205/ctl/Install/rtab/205/Default.aspx

AbsoluteURL: /extra/Default.aspx

AbsoluteURLReferrer: http://www.hillsdalebaptist.org/extra/Admin/Extensions/tabid/205/ctl/Install/rtab/205/Default.aspx

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: aeda50a2-bd52-4458-aba6-48817e8a417a

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Services.Installer.Installers.LanguageInstaller.ReadCustomManifest

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.at DotNetNuke.Services.Installer.Installers.LanguageInstaller.ReadCustomManifest(XPathNavigator nav)at DotNetNuke.Services.Installer.Installers.FileInstaller.ReadManifest(XPathNavigator manifestNav)at DotNetNuke.Services.Installer.Installers.InstallerFactory.GetInstaller(XPathNavigator manifestNav, PackageInfo package)at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadComponents(XPathNavigator manifestNav)at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav)at DotNetNuke.Services.Installer.Installers.PackageInstaller..ctor(String packageManifest, InstallerInfo info)at DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav)at DotNetNuke.Services.Installer.Installer.ReadManifest(Stream stream)at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp)at DotNetNuke.Services.Installer.Installer..ctor(Stream inputStream, String physicalSitePath, Boolean loadManifest, Boolean deleteTemp)at DotNetNuke.Modules.Admin.Extensions.Install.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e)at System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e)at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e)at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args)at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---

Source:

SERVER NAME: xxxxx

 

 
New Post
1/12/2010 10:09 AM
 

I believe the error is caused because there's no value for the CreatedBy.Text key in /Controls/App_LocalResources/ModuleAuditControl.ascx.resx.  So, to fix the issue (and let you then reinstall whatever you need to), you can try editing that file, and adding an entry for CreatedBy.Text (my default text for that is "Created By {0} On {1}").

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
1/12/2010 10:34 AM
 

Hello Michael,

I have just sent you an email with an attached ZIP file containing all *.resx files from a Fresh DNN 5.1.4 Typical installation. You may unzip it, starting from your root folder and double-checking that all files overwrite the destination *.resx. That will "reset" all your English en-US Core resource files.

Please note that the ZIP file is not a Language Pack, it contains the final folder structure for the 'already installed' resource files.

If you get to try Brian's suggestion, please post your feedback, sounds like an interesting fix.

Please let us know how things go :-)

Saludos!
Alejandro. 

 
New Post
1/12/2010 10:29 PM
 

Brian,

Thanks for the reply.  That worked like a charm.  Although it shows the created by value as 1/1/0001 12:00 AM everywhere.  This is not a big concern but I am hoping to go back to the original core 5.1.4 '.resx' files.

Thanks again.

Michael

 
New Post
1/12/2010 10:32 PM
 

Alejandro,

I appreciate your quick response.  Unfortunately, I did not receive zip file you sent earlier could you please resend?

Thanks

Michael
 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error: Value cannot be null. Parameter name: formatError: Value 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