Focal Point
Reportcaster not able to create repository tables

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2401060442

August 27, 2007, 11:36 AM
Kamesh
Reportcaster not able to create repository tables
Hello,

I am using SQL Server Database as my Reporsitory for the report caster.

But when I try to generate the tables for that database using the CreateUtil, it gives me the following Exception:

Start creating...
CREATE TABLE BOTSCHED .... Fail
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'IN'.
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'IN'.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3065)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
at ibi.broker.apputil.SCHDBConstructor.create_SQL(SCHDBConstructor.java:253)
at ibi.broker.apputil.SCHDBConstructor.create_SQL(SCHDBConstructor.java:270)
at ibi.broker.apputil.SCHDBConstructor.create(SCHDBConstructor.java:154)
at ibi.broker.apputil.SCHCreateDBs.makeDB(SCHCreateDBs.java:269)
at ibi.broker.apputil.SCHCreateDBs.buildDBs(SCHCreateDBs.java:199)
at ibi.broker.apputil.SCHCreateDBs.buildSchedDBs(SCHCreateDBs.java:206)
at ibi.broker.SCHCreateUtil.create(SCHCreateUtil.java:568)
at ibi.broker.SCHCreateUtil.main(SCHCreateUtil.java:410)
CREATE UNIQUE INDEX IDXSCHED ON BOTSCHED ( SCHEDULEID ) .... Fail

Please suggest me,

Thanks


WFConsultant

WF 8105M on Win7/Tomcat
August 28, 2007, 08:39 AM
RichH
Hi Kamesh,
A quick search of the techsupport site and the
hits all point to...
Remove the DBname from the ReportCaster Server Configuration under Repository
Hope that helps.


WebFOCUS 8202 Win 2012
Test - WebFOCUS 8203 on Win 2012
August 29, 2007, 02:16 PM
Kamesh
Hello Rich,
You are right, removing the dbname works.

After I restarted the Reportcaster server, tried getting in to reportcaster console but after I logged in it throws me a error saying 'Unable to communicate to the distribution server .... '

Any idea about that error,

Thanks
Kamesh


WFConsultant

WF 8105M on Win7/Tomcat
August 30, 2007, 08:10 AM
hammo1j
Goto webfocus client console and there will be a setting under reportcaster you need to change.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
August 30, 2007, 09:00 AM
Kamesh
Finally found the solution to this issue. The sqlserver driver has to be in Tomcat classpath. Once I add that it worked fine.

Thanks for all your inputs,


WFConsultant

WF 8105M on Win7/Tomcat