alexmonteiro / Redmine-Monitoring-Controlling

Redmine Plugin that works with Highcharts to show tasks on project throught Charts.
Other
132 stars 77 forks source link

Error 500 with SQL Server as DB #91

Open Atmis opened 10 years ago

Atmis commented 10 years ago

Hello,

I have the following issue since I moved from SQLite to SQL Server

Here is the log :

Completed 500 Internal Server Error in 45.0ms

ActiveRecord::StatementInvalid (TinyTds::Error: Incorrect syntax near the keyword 'AS'.: EXEC spexecutesql N'SELECT , ((SELECT COUNT(1) FROM issues where project_id in (16) and status_id = issue_statuses.id) / 72)_100 as percent, (SELECT COUNT(1) FROM issues where project_id in (16) and status_id = issue_statuses.id) AS totalissues FROM issue_statuses;'):

I hope you will be able to fix it :)

Pierre

felixacat3 commented 7 years ago

Hey I love this plugin, but since moving to mssql I get this error, Any chance this will be fixed? Thank you!