[Solved] Connecting my ms sql and AOO Base

Discuss the database features
Post Reply
User avatar
jenny143
Posts: 82
Joined: Wed Oct 19, 2011 1:40 am

[Solved] Connecting my ms sql and AOO Base

Post by jenny143 »

hi im trying to connect my ms sql server and Apache open office base

i already follow this steps:
http://www.finefrog.com/2008/04/14/conn ... officeorg/

and change my port and IP to my IP and to 1433
http://support.webecs.com/KB/a375/how-d ... emote.aspx

but my output is:
Network Error IOException: Connection refused: connect
Last edited by jenny143 on Fri Oct 19, 2012 6:34 am, edited 1 time in total.
Windows XP and Open Office 3.3
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Connecting my ms sql and AOO Base

Post by Robert Tucker »

I've not much experience with MS databases, but can you connect to MSSQL with any other application, from a command prompt for example?
LibreOffice 7.x.x on Arch and Fedora.
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: Connecting my ms sql and AOO Base

Post by r4zoli »

Try ODBC connection.
Or try MSSQL JDBC driver: http://forum.openoffice.org/en/forum/vi ... 642#p70642
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
User avatar
jenny143
Posts: 82
Joined: Wed Oct 19, 2011 1:40 am

Re: Connecting my ms sql and AOO Base

Post by jenny143 »

thanks for the replies

i already try it from my VB 6.0, and still working
but when i migrate to base... its not working for me
Try ODBC connection.
Or try MSSQL JDBC driver: viewtopic.php?f=20&t=15133&p=70642#p70642
when i try to test the class, the JDBC driver could not be loaded.. :(
i think the Microsoft JDBC Driver 4.0 for SQL Server is not working

net.sourceforge.jtds.jdbc.Driver is still bettter than this (working driver) but connection refused
Windows XP and Open Office 3.3
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Connecting my ms sql and AOO Base

Post by Robert Tucker »

Are you running mssql on the local machine? Have you seen this thread:

https://answers.atlassian.com/questions ... nfiguation
LibreOffice 7.x.x on Arch and Fedora.
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Connecting my ms sql and AOO Base

Post by Robert Tucker »

Have you tried telnet:
To check whether TCP/IP is enabled and the port is not blocked you can use "telnet <server_host> 1433"
http://www.digipedia.pl/usenet/thread/13899/13430/
LibreOffice 7.x.x on Arch and Fedora.
User avatar
jenny143
Posts: 82
Joined: Wed Oct 19, 2011 1:40 am

Re: Connecting my ms sql and AOO Base

Post by jenny143 »

when i change my IP10, IP1, IP2, IP5 to my IP Address from my TCP/IP and restart,

everything works fine now..

i think a restart is a solution... ?


thanks for your replies
Windows XP and Open Office 3.3
Post Reply