SQL Execution resulted in
following Exceptions: System.Data.SqlClient.SqlException: Cannot resolve
collation conflict for column 11 in SELECT statement. at
System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean
breakConnection) at System.Data.SqlClient.SqlInternalConnection. (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)
CREATE procedure dbo.GetEvent
@ItemId int, @ModuleId int as select Events.ItemId, Events.ModuleId,
Events.Description, Events.DateTime, Events.Title, Events.ExpireDate,
'CreatedByUser' = Users.FirstName + ' ' + Users.LastName, Events.CreatedDate,
Events.Every, Events.Period, 'IconFile' = case when Files.FileName is null then
Events.IconFile else Files.Folder + Files.FileName end, Events.AltText from
Events left outer join Users on Events.CreatedByUser = Users.UserId left outer
join Files on Events.IconFile = 'fileid=' + convert(varchar,Files.FileID) where
ItemId = @ItemId and ModuleId = @ModuleId System.Data.SqlClient.SqlException:
Cannot resolve collation conflict for column 11
in SELECT statement. at
System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean
breakConnection) at
System.Data.SqlClient.SqlInternalConnection. (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) CREATE procedure dbo.GetEventsByDate @ModuleId int, @StartDate
datetime, @EndDate datetime as select Events.ItemId, Events.ModuleId,
Events.Description, Events.DateTime, Events.Title, Events.ExpireDate,
Events.CreatedByUser, Events.CreatedDate, Events.Every, Events.Period,
'IconFile' = case when Files.FileName is null then Events.IconFile else
Files.Folder + Files.FileName end, Events.AltText from Events left outer join
Files on Events.IconFile = 'fileid=' + convert(varchar,Files.FileID) where
ModuleId = @ModuleId and ( (Period is null and (DateTime >= @StartDate and
DateTime <= @EndDate)) or Period is not null ) order by DateTime
System.Data.SqlClient.SqlException: Cannot resolve collation conflict for
column 11 in
SELECT statement. at System.Data.SqlClient.SqlConnection. (SqlException
exception, Boolean breakConnection) at
System.Data.SqlClient.SqlInternalConnection. (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) CREATE procedure dbo.GetEvents @ModuleId int as select Events.ItemId,
Events.ModuleId, Events.Description, Events.DateTime, Events.Title,
Events.ExpireDate, Events.CreatedByUser, Events.CreatedDate, Events.Every,
Events.Period, 'IconFile' = case when Files.FileName is null then
Events.IconFile else Files.Folder + Files.FileName end, Events.AltText,
'MaxWIdth' = (select max(WIdth) from Events left outer join Files on
Events.IconFile = 'fileid=' + convert(varchar,Files.FileID) where ModuleId =
@ModuleId and (ExpireDate > getdate() or ExpireDate is null)) from Events
left outer join Files on Events.IconFile = 'fileid=' +
convert(varchar,Files.FileID) where ModuleId = @ModuleId and (ExpireDate >
getdate() or ExpireDate is null) order by DateTime