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 ForumsEventsEventsSQL Error Installing 4.1.0 BetaSQL Error Installing 4.1.0 Beta
Previous
 
Next
New Post
12/19/2008 9:01 AM
 

I received the error below when I installed the beta.  I tried installing again and I don't get it this time.

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 'BTSDIntranet.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

 

 

 
New Post
12/19/2008 9:18 AM
 

What version are you upgrading from?

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
12/29/2008 4:35 AM
 

I have the same issue.

Upgrade from Events module version 04.00.02

 
New Post
12/29/2008 4:48 AM
 

François CID wrote
 

I have the same issue.

Upgrade from Events module version 04.00.02

Is it possible to send us a SQL backup of the pre-upgrade DNN database? So we can reproduce the issue? If so: please backup/zip the SQL database and (if the .zip is not > 2Mb) send it to webmaster at dnnevents.net?


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsSQL Error Installing 4.1.0 BetaSQL Error Installing 4.1.0 Beta


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