Register   Login
     
  Latest Posts  
Module Development Techniques
by hchattaway on 11/23/2008 5:14 PM
Customizing the URL a little further
by tmahmud on 11/23/2008 4:11 PM
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
RE: I cant get rss feeds to work correctly
by davidthomson on 11/22/2008 11:14 PM
  Forums  
Subject: Install Ok but module errors
Prev Next
You are not authorized to post a reply.

Author Messages
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/30/2007 4:11 PM  

 

Hi 

I have a strange intallation issue with the Article module.
If I install on a clean installation of 4.55 all is well.
If I install on an updated installation 4.41 - 4.55 then I get the error below when placing an instance of the main Article module.

aError: DnnForge - NewsArticles is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: 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 DnnForge.NewsArticles.UserTime.get_ClientToServerTimeZoneFactor(Int32 serverTimeZoneOffet) at DnnForge.NewsArticles.Common.GetAdjustedServerTime(ArticleSettings articleSettings, DateTime objDateTime) at DnnForge.NewsArticles.ucNewsListing.Page_Init(Object sender, EventArgs e) --- End of inner exception stack trace --- 

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/30/2007 5:46 PM  
Did you delete the timezone property in profile?

I'll add some handling overnight for this (with the enclosure release for RSS)

Scott McCulloch
Site Administrator
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/30/2007 7:23 PM  

Hi Scott

Brilliant - both sites with this problem have many members and I use UCanUse to present core fields in a nicer way.
On both sites I had difficulty with this property and may well have deleted it.

If you can help with a fix for this as you said I would be very greatful.

Thanks

Ian

Jack HoelzUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:810


8/30/2007 7:40 PM  

Thats probably it. We had an administrator do the same thing. Just go to Admin > User Accounts > Manage Profile Properties - Add New Profile Property - Property Name will be "Time Zone" - Property Type will be "Time Zone" - Property Category "Preferences"


Get The Net!!

Jack Hoelz
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 4:32 AM  

Hi Jack / Scott

Tried reinstating the Time zone property but the error persists.

Removed and reninstalled the article module.

Ian

 

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/31/2007 7:22 AM  
How were you able to delete the timezone property? In 4.5.5, I don't have an option to delete that property?

Scott McCulloch
Site Administrator
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 7:25 AM  

Hi Scott

The deletion was done to a 4.41 site.

Ian

Super User AccountUser is Offline
Nuke Addict
Nuke Addict
Posts:76

8/31/2007 7:33 AM  
Ah right - regardless, I've added some handling code, just testing it now.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/31/2007 8:12 AM  
ok - can you test the latest build?

Scott McCulloch
Site Administrator
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 8:15 AM  

Hi Scott

Off to do so now

Ian

Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 8:21 AM  

Hi Scott

Yes - All is now fine. Thank you very much.

I will leave a nice review on SC net time I'm there.

Ian

Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 8:25 AM  

Perhars I spoke too soon.

The error has gone but Create Article seems not to work.
Is this true for you too ?

Ian

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/31/2007 8:43 AM  
The create article works for me, but I have got a time zone profile property on this site.

Do you get an error on the create article page? (if so, can you send it support@ventrian.com)

Scott McCulloch
Site Administrator
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 8:48 AM  

Hi sorry not to have sent the log error previously - (doing 3 thimgs at once)

UserName: host
ActiveTabID: 203
ActiveTabName: Article System
RawURL: /OnTheWay/ArticleSystem/tabid/203/articleType/SubmitNews/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.royal-southern.co.uk/OnTheWay/ArticleSystem/tabid/203/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 1.1.4322; Media Center PC 4.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 95584750-39a4-4e33-86cf-3dc97bcdc3b0
InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ControlCollection.Add
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) --- End of inner exception stack trace ---

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/31/2007 8:57 AM  
Hmm, that's not what I was expecting in terms of errors. That indicates an issue with the aspx/ascx files not compiling correctly.

I think that is unrelated to the above issue and nowe have a seperate item. Were you able to get to create article before the latest change? (as I didn't change anything in create article).

There is something peculiar about your instance, I would need access to your site to investigate.

Scott McCulloch
Site Administrator
Ian MarlowUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:33

8/31/2007 9:18 AM  

Hi Scott

I would be OK with giving you access but this is my main clients site so  . .

I feel a bit guilty for causing this mess - I knew deleting that property would come back to bit me.

Shall I make you a super user and email you a copy of the web.config ?
If so what is the email address please.

Ian

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/31/2007 9:23 AM  
support@ventrian.com

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > News Articles > Install Ok but module errors



ActiveForums 3.7