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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsCalendar Version 3.2 AvailableCalendar Version 3.2 Available
Previous
 
Next
New Post
1/28/2006 2:51 PM
 
favance wrote

Hi Benoit, does this happen when you install the module...or after you run it?  Can you pinpoint or give me more information on this?  Thanks, Alan

It's when I run it. Install seemed to be ok, I have not looked at the install logs in details but there was no red. Now, when I want to create an event, I get this error. Of course, my first thought was : we're after the 12th of the month, looks like a MM/DD/AAAA or DD/MM/AAAA problem. So I tried to insert an event on 1/2/2006, or 2/2/2006. Same error. I tried to set my user language as english.  Same. The default  dates in the begin and end date and time text boxes are : 1/3/2006  9pm and 9:30pm. I just confirm that. Error. The time zone is UTC -8. This is not my time zone (we're on UTC+1 here). The default language of the SQL database is french. The web.config is fr-FR and the website default is french.

Here is the full error message :

 Erreur: Editer un événement inconnue.
DotNetNuke.Services.Exceptions.ModuleLoadException: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The statement has been terminated. ---> System.Data.SqlClient.SqlException: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The statement has been terminated. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Modules.Calendar.Data.SqlDataProvider.CalendarSave(Int32 PortalID, Int32 EventID, Int32 ModuleID, DateTime EventDateBegin, DateTime EventDateEnd, DateTime EventTimeBegin, Int32 Duration, String EventName, String EventDesc, Int32 Importance, String CreatedBy, String CreatorID, Int32 Every, String Period, String RepeatType, String Notify, Boolean Approved, Boolean Signups, Int32 MaxEnrollment, String EnrollRoleID, Double EnrollFee, String EnrollType, String PayPalAccount, String PayPalPassword, Boolean Cancelled, String ImageURL, String ImageType, Int32 ImageWidth, Int32 ImageHeight, Boolean ImageDisplay, Int32 Location, String LocationName, String MapURL, Int32 Category, String CategoryName, String Color, String Reminder, Int32 TimezoneOffset, Boolean SendReminder, Int32 ReminderTime, String ReminderTimeMeasurement, String ReminderFrom) at DotNetNuke.Modules.Calendar.Business.CalendarController.CalendarSave(CalendarInfo objCalendar) at DotNetNuke.Modules.Calendar.CalendarEdit.updateButton_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
 
New Post
1/29/2006 8:31 PM
 

I seem to recall others having this problem.  I believe there is a thread on my site www.avanced.net where this was discussed.  I believe the answer was either the sql database needs to be set to English or the SQL Transact SQL scripts can be modified w/a "SET LANGUAGE us_english"... I would try adding this statement to all Stored Procs and see if it solves the issue...I don't remember, but I think the Web.Config should be set to English as well, since user's can set there own language dynamically...You might look elsewhere for help on setting up DNN.

As for the TimeZone...we know we have a bug and this will be corrected shortly and a new version of the Calendar Released.  Thanks.

 
New Post
1/30/2006 6:03 AM
 

Alan,

I've set my sql database to english, my web.config to en-US and my website default to english ... same error.

Now I think it has someting to do with the local language preference on my desktop. So I set my windows preference to english, and I get a different error : an error has occured, edit event unknown

Now, here is the strange thing ( I'm thinking of something like a double conversion ) :

- when I'm french in my windows desktop preference, the default date and time in avcalendar display like us english (MM/DD/AAAA   xx:yy am/pm )

when I'm US in my windows desktop preference, they appear ... the european way (DD/MM/AAAA  - 24h times)

Please note that this is EXACTLY the OPPOSITE to what you would expect.

I have opened my dev site for public tests on avcalendar, it here : www.regordane.fr first menu option calendar.

Would you please insert an event there from your desktop ?

Thanks

Benoit Sarton

www.dotnetnuke.fr

 

 

 


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
 
New Post
1/30/2006 9:12 AM
 

Hi Benoit.  I tried entering an Event in your site and got the error:

An error has occurred.
Error: Edit Event is currently unavailable

Not sure what's happening...but I can tell you that I'm not sure I would open the "Add Event" up to unauthenticated (unlogged on) users.  I don't believe data entry is intended for users that are not logged on....currently, the module needs the user id in order to support multiple user's editing on the same calendar there own events.

I know others have used the calendar in other languages...you might check the threads (search) on my sight (www.avanced.net) to see if you can come up with any help more specific to running the module in French.  Please keep me advised, since I would like to address this issue in the documentation for the module.

Thanks,
  Alan

 
New Post
1/30/2006 10:39 AM
 

Alan, I would not dare bother you if I had the least doubt that the problem could on my side, or related to french only.  

I've just spent 1 hour on the phone with David, my co-admin of dotnetnuke.fr

He is on a dev site under DNN 4.0.2 and AvC 3.20.0 and gets the same problem. We have been suspecting  a problem with the javascript date picker. If you do not type a title and change the start date, you get a javascript error when the script copies the start date into the end date. I do not know if this is related to the insert problem.

Error is line 230, car 3, 'null' has a Null value or is not an object

Code: 0 

Would you publish an intermediate version with a text box instead of the date/time picker ? I feel like it would help everybody find out what's wrong there.

Thanks

Benoit Sarton

  


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsCalendar Version 3.2 AvailableCalendar Version 3.2 Available


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