• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SQL

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic