This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQL

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running into alot of errors trying to get this forum to run off sql 2005, does anyone have updated files that they can share that would fix all the problems. Thanks.

1. java.sql.SQLException: Cannot insert explicit value for identity column in table 'jforum_forums_watch' when IDENTITY_INSERT is set to OFF.

2.java.sql.SQLException: Implicit conversion from data type nvarchar to varbinary(max) is not allowed. Use the CONVERT function to run this query.

3.java.sql.SQLException: Incorrect syntax near 'LIMIT'.

4.java.sql.SQLException: Ambiguous column name 'post_id'.

[originally posted on jforum.net by vpellicano]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MS SQL support has always been problematic.. mostly because MS hasn't supported LIMIT and OFFSET functionality. Until SQL 2005 supplied some stuff similar to this (but not identical). To be fair, AFAIK, LIMIT and OFFSET are "defacto" standards (supported by every other major DB...) and not really part of the SQL "standard" doc.

Because of this, jForum 2.1.8 is the first version to include MS SQL 2005 support in it. This is basically a "beta" version and still has bugs.

That said, I don't think anyone has put together a single comprehensive post on how to fix all the bugs. (Care to volunteer?) But there are solutions posted in the forums. You just have to search for them.
[originally posted on jforum.net by monroe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic