mmedici Posted September 1, 2010 Share Posted September 1, 2010 I am having a very hard time connecting my ireports to a new sql2005 server. If i use an odbc connection it tests fine.ODBC Connection Settings:Which sql server do you want to connect to? servername\x3logon ID/password: PROD/passwordchange default database to x3v5tests successfully if i go to create a JDBC connection in ireports i try the followingjdbc driver: i have tried both ms sqlserver (2005) (com.microsoft.sqlserver.jdbc.sqlserverdriver) and (net.sourceforge.jtds.jdbc.driver)for the settingsServer address: IP address of server, and servername\x3database: x3v5username: PRODpassword: password I always get an error of:SQL problems: network error IOexception: connection refused: connect jdbc:jtds:sqlserver://servername/x3v5orsql problems: the tcp/ip connection to the host servername, port 1433 has failed. error: connection refused: connect. Verify the connection properties, check that an instance of sql server is running and accepting tcp/ip connections at the port, and that no firewalls is blocking tcp connections to the port can anyone shed some light on this for me? Link to comment Share on other sites More sharing options...
mmedici Posted September 1, 2010 Author Share Posted September 1, 2010 i fixed the issue open SQL Server Configuration Manager -> Protocols for SQL SQLEXPRESS, select Properties of TCP/IP. In the tab IP Addresses, set the TCPPort in section IPAll to 1433. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now