# Change repository to sql server 2005

**URL:** <https://forum.servoy.com/t/change-repository-to-sql-server-2005/8032>\
**Category:** Classic Servoy\
**Created:** [August 20, 2007, 8:48pm UTC](https://forum.servoy.com/t/change-repository-to-sql-server-2005/8032 "2007-08-20T20:48:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srowe](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@srowe](https://forum.servoy.com/u/srowe)\
**Post date:** [August 20, 2007, 8:48pm UTC](https://forum.servoy.com/t/change-repository-to-sql-server-2005/8032/1 "2007-08-20T20:48:40Z")

</div>

Servoy Developer  
Version 3.5-build 513  
Java version 1.6.0\_02-b06 (Windows XP)  
Sql Server 2005

Can anyone help on changing the repository server to sql server 2005.

I created the databases in Sql Server 2005 databases.

I have copied the sqljdbc.jar to the servoy drivers folder.

Server URL:  
jdbc:sqlserver://Hamilton:1433;DatabaseName=repository\_server;SelectMethod=cursor

(Hamilton is the server name)

Driver:  
com.microsoft.jdbc.sqlserver.SQLServerDriver

I tried this and get the following error message:

com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot find the object “servoy\_groups” because it does not exist or you do not have permissions.  
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot find the object “servoy\_groups” because it does not exist or you do not have permissions.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 20, 2007, 8:52pm UTC](https://forum.servoy.com/t/change-repository-to-sql-server-2005/8032/2 "2007-08-20T20:52:52Z")

</div>

There are issues with the Microsoft driver. I suggest you use the open source jtds that comes with Servoy. That won’t give you any problems.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 20, 2007, 8:53pm UTC](https://forum.servoy.com/t/change-repository-to-sql-server-2005/8032/3 "2007-08-20T20:53:59Z")

</div>

But it also sounds you are using an outdated MS driver anyway…

> [Microsoft][SQLServer 2000 Driver for JDBC]

---

<div class="post-metadata">

**Author:** ![srowe](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@srowe](https://forum.servoy.com/u/srowe)\
**Post date:** [August 21, 2007, 12:51pm UTC](https://forum.servoy.com/t/change-repository-to-sql-server-2005/8032/4 "2007-08-21T12:51:19Z")

</div>

I changed the driver to the jtds and it works!

You guys are great!

Thanks
