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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...signin skin object parameter format?signin skin object parameter format?
Previous
 
Next
New Post
3/19/2007 12:16 AM
 
I have been trying to get the DNN signin skin object working but i keep getting this error?

Could Not Load Skin: /Portals/_default/Skins/itsmyfooty/2col_split.ascx Error: Value cannot be null. Parameter name: format

what value should i give to the format parameter
 
New Post
4/11/2007 10:56 AM
 

I had the same issue and discovered that when using it as a skin object some of the controls used in the signin control can not locate their localresourcefile. (password and profile)

However it is possible to set this in the SignIn skin object:

Locate the lines and add an option LocalResourceFile

<dnn:Profile ID="ctlProfile" runat="server" LocalResourceFile="/admin/Users/App_LocalResources/Profile" />

<dnn:Password ID="ctlPassword" runat="server" LocalResourceFile="/admin/Users/App_LocalResources/Password" />

This should work.

Good luck

 

 
New Post
4/27/2007 4:34 PM
 

I'm having the same issue (Could Not Load Skin: /Portals/1/Skins/Stihl/Stihl.ascx Error: Value cannot be null. Parameter name: format) and the proposed fix doesn't seem to have changed anything.  Any additional suggestions?

Here is the error log:

AssemblyVersion: 04.05.01
PortalID: 1
PortalName: Stihl Test Site
UserID: 1
UserName: ryan
ActiveTabID: 49
ActiveTabName: Event Viewer
RawURL: /dotnetnuke/Admin/LogViewer/tabid/49/Default.aspx
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://localhost/dotnetnuke/Home/tabid/37/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a84a443c-e7f6-40c9-af54-e75e60ae49aa
InnerException: Unhandled error loading page.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.Format
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at DotNetNuke.Modules.Admin.Users.Password.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at DotNetNuke.Framework.DefaultPage.LoadSkin(String SkinPath) --- End of inner exception stack trace ---
Source:
Server Name: EAG5030

 
New Post
4/30/2007 9:42 AM
 

Some more info...

The error appears to be coming from line 124 in Password.ascx.vb.

It appears the User member of the DotNetNuke.Modules.Admin.Users.Password class is being used before it has been initialized.

Does anyone have any insight as to why this is happening?  Any suggestions would be greatly appreciated.

 
New Post
4/30/2007 10:18 AM
 

Just for the record, I was incorrect about the cause of the error.  It was, in fact, the control not finding the LocalResourceFile.  To correct the problem I had to add the LocalResourceFile as directed but I also needed a "~" at the front of the path.  I.E.  LocalResourceFile="~/admin/Users/App_LocalResources/Password".  The User member of DotNetNuke.Modules.Admin.Users.Password not being initialized might still be a bug, however.  I'm not familiar enough with the code to say for sure.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...signin skin object parameter format?signin skin object parameter 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