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...Portal completely broken...Portal completely broken...
Previous
 
Next
New Post
7/19/2009 9:44 PM
 

I added this line to a module to see if it's at all possible to use custom User Account Settings...

lblMessage.Text += objUserInfo.Profile.ProfileProperties.GetByName("MEPUserID").PropertyValue;

 

it was within a try catch loop, and the error was being caught and displayed.

I clicked to another page (with nothing on it but the default text/html module, and I got the error pasted below.  I've closed out and attempted to reload the page... have tried it multiple browsers... but now this is the only thing that will be displayed.  Other portals within the application seem ok.

Any thoughts at all?  Thanks again...............................................

 

 

DotNetNuke Error: - Version 04.09.03


 

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.formatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberformatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberformatInfo info) at DotNetNuke.Entities.Users.UserProfile.get_TimeZone() at DotNetNuke.Entities.Users.UserTime.get_ClientToServerTimeZoneFactor() at DotNetNuke.Entities.Users.UserTime.get_CurrentUserTime() at DotNetNuke.UI.Skins.Controls.CurrentDate.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

 

 
New Post
7/20/2009 3:26 AM
 

 

Check for nul before using PropertyValue

if ( objUserInfo.Profile.ProfileProperties.GetByName("MEPUserID") <> null)

{

lblMessage.Text += objUserInfo.Profile.ProfileProperties.GetByName("MEPUserID").PropertyValue;

}

 

But error screenshot not realated to this. error may raising somewhere else before this code

 


Leo TechnoSoft Pvt.Ltd - The Biggest DotNetNuke Development Team
 
New Post
7/20/2009 3:27 AM
 

ty to revert your change and restart app pool by opening web.config with a text editor and saving it.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Portal completely broken...Portal completely broken...


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