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 ForumsEventsEventsError installing Events 5.0.0.1 on DNN 4.9.4Error installing Events 5.0.0.1 on DNN 4.9.4
Previous
 
Next
New Post
7/7/2009 4:25 PM
 

Hi Roger,

I am running DNN 4.9.0, have SQL Server 2000 and upgraded from Events Module 4.0.2 to 5.0.1 and I ran into the situation described in this forum post. I'm interested in that script that you wrote. My existing events are no longer visible but they are still in the database.

When I upgraded my production DNN versions (2 of them), I failed to check the log for any errors and even failed to back up the database and DNN installations. This was my mistake--not feeling well today. I was able to reproduce the problem in my developer machine and confirmed the error message is there:

StartJob    Start Sql execution: 04.01.00.SqlDataProvider file
Failure    SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: The text, ntext, or image data type cannot be selected as DISTINCT. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /* Add dummy values to EventsRecurMaster table */ INSERT dbo.EventsRecurMaster ( ModuleID, PortalID, RRULE, DTSTART, Duration, Until, EventName, EventDesc, Importance, Notify, Approved, Signups, MaxEnrollment, EnrollRoleID, EnrollFee, EnrollType, PayPalAccount, ImageURL, ImageWidth, ImageHeight, ImageDisplay, Location, Category, Reminder, TimezoneOffset, SendReminder, ReminderTime, ReminderTimeMeasurement, ReminderFrom, CustomField1, CustomField2, EnrollListView, DisplayEndDate, AllDayEvent, CultureName, OwnerID, CreatedByID, CreatedDate, UpdatedByID, UpdatedDate ) Select Distinct ModuleID, Portalid, 'Dummy', GetUTCDate(), '0M', GetUTCDate(), '', '', 2, '', 0, 0, 0, '', 0, '', '', '', 0, 0, 0, null, null, '', 0, 0, 0, '', '', '', '', 0, 0, 0, '', 0, 0, GetUTCDate(), 0, GetUTCDate() from dbo.Events System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'RecurMasterID', table 'DotNetNuke.dbo.Events'; column does not allow nulls. UPDATE fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) /* Populate RecurMasterID field in Events table with dummy value */ UPDATE dbo.Events SET RecurMasterID = dbo.EventsRecurMaster.RecurMasterID FROM dbo.Events LEFT OUTER JOIN dbo.EventsRecurMaster ON dbo.Events.ModuleID = dbo.EventsRecurMaster.ModuleID WHERE Events.RecurMasterID is null /* Make RecurMasterID Mandatory */ ALTER TABLE dbo.Events ALTER COLUMN RecurMasterID INT NOT NULL
EndJob    End Sql execution: 04.01.00.SqlDataProvider file
 

 
New Post
7/7/2009 4:36 PM
 

Hi Mario,

Mail me - webmaster @ the domain in my profile.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/25/2009 4:11 PM
 

I am recieving the same error when upgrading the events module. The RecurMasterID field in the Events table is NULL and none of the events show up in the calendars.

 
New Post
9/25/2009 5:48 PM
 

Hi,

Can you mail me on the address supplied abobe. Did you use 5.0.1, or 5.0.2 for you install?

Thanks
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsError installing Events 5.0.0.1 on DNN 4.9.4Error installing Events 5.0.0.1 on DNN 4.9.4


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