DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Module Install Error

Sort:
You are not authorized to post a reply.





New Around Here





    I need to install modules on a DNN 8.0.4 site. I cannot, as I keep getting this error. Anyone have suggestions? See error below

    Thank you,

    SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'IsOrderable'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:58e19235-ff82-4b6d-aa8a-4ab775854ae6 Error Number:207,State:1,Class:16 IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.[EDS_NewsOrderByColumnName]') AND type in (N'FN', N'IF', N'TF', N'FS', N'FT')) BEGIN execute dbo.sp_executesql @statement = N'CREATE FUNCTION dbo.[EDS_NewsOrderByColumnName] ( @OrderByCustomFieldID INT ) RETURNS VARCHAR(30) AS BEGIN IF @OrderByCustomFieldID IS NULL RETURN NULL; DECLARE @ControlTypeID INT; SELECT @ControlTypeID = [ControlTypeID] FROM dbo.[EasyDNNfields] WHERE CustomFieldID = @OrderByCustomFieldID AND IsOrderable = 1; IF @ControlTypeID IS NULL RETURN NULL; DECLARE @OrderByColumnName VARCHAR(30); SELECT @OrderByColumnName = CASE @ControlTypeID WHEN 1 THEN N''[Text]'' WHEN 3 THEN N''[Int]'' WHEN 4 THEN N''[Decimal]'' WHEN 5 THEN N''[Decimal]'' WHEN 6 THEN N''[Text]'' WHEN 9 THEN N''[DateTime]'' WHEN 10 THEN N''[Text]'' ELSE NULL END RETURN @OrderByColumnName; END ' END






    Growing Member





      Are you the author of this module, or did you buy it?

      Looks like to me - possibly the sql script that runs when a module is installed either is not compatable with the sql server you are running, or it is flawed in some way.  Look at CREATE FUNCTION dbo.[EDS_NewsOrderByColumnName], invalid column name.  Maybe this already exists?

      Look in zip folder for : \Providers\DataProviders\SqlDataProvider the create function should be in there.  You can try running it against another test database - to see what happens.

       






      New Around Here





        It's possible it's the SQL. I bought it, it's the EasyDNNROtator module





        Veteran Member





          you should contact the vendor of the module for support.
          You are not authorized to post a reply.

          These Forums are dedicated to the discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. 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.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved