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...Administration ...Administration ...Edit user profileEdit user profile
Previous
 
Next
New Post
1/11/2007 9:36 AM
 
When I try to edit any userprofile I get the following error message:
Input string was not in a correct format.

The logfile says this:
AssemblyVersion: 04.04.00
PortalID: 0
PortalName: Webbased Learning Industriële Automatisering
UserID: 1
UserName: host
ActiveTabID: 48
ActiveTabName: Logboek
RawURL: /Admin/LogViewer/tabid/48/ctl/Profile/UserID/1/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://dnn.wblia.nl/Admin/LogViewer/tabid/48/ctl/Profile/UserID/1/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 22d1302d-219d-4503-a377-e7ed05e82ad5
InnerException: Input string was not in a correct format.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Text.StringBuilder.AppendFormat
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format.at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)at System.String.Format(IFormatProvider provider, String format, Object[] args)at DotNetNuke.Modules.Admin.Users.Profile.DataBind()at DotNetNuke.Modules.Admin.Users.ManageUsers.ShowPanel()at DotNetNuke.Modules.Admin.Users.ManageUsers.cmdProfile_Click(Object sender, EventArgs e)at DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e)at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
Server Naam: SV1105

Does anyone know how I can solve this problem?
 
New Post
1/17/2007 7:54 AM
 
I found the answer to my problem.
The file: admin/users/Profile.vb has a function called DataBind(). This function checks if the user is admin with the following statement:

            If IsAdmin Then
                lblTitle.Text = String.Format(Localization.GetString("ProfileTitle.Text", LocalResourceFile), User.Username, User.UserID.ToString)
            Else
                trTitle.Visible = False
            End If
I got an error on the line:
lblTitle.Text = String.Format(Localization.GetString("ProfileTitle.Text", LocalResourceFile), User.Username, User.UserID.ToString)
I changed it to:
lblTitle.Text = String.Format(User.Username)

This solution works fine for me. It seems to be that there is a problem with the localization.
P.S. I use the dutch langauge pack version 4.3.2
 
New Post
1/17/2007 8:09 AM
 

Met vriendelijke groet, Han Peper
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Edit user profileEdit user profile


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