I'm trying to connect my Pentaho user console to MS SQL Server 2000. However, I always get this error:
Error connecting to database [sps]:
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database:(using class
com.microsoft.sqlserver.jdbc.SQLServerDriver)
Invalid URL:jdbc:sqlserver://172.16.1.134:1433;databaseName=sys_v2;
integratedSecurity=false;user=sa;pass
Can anyone tell me why I get this error & how to solve it? TQ
Related
Error message is like login failed for the user. But using the same user and credentials we were trying to connect the DB using MS SQL Server Connection type.
It is throwing errors only when connection type is changed to MS SQL Server (Native)
I upgraded SQLServer 2000 database to SQLServer2012. After that IIS started throwing error:
Error: ERROR#1: return code:0, State:28000, Native Error Code:18456:
Message:[Microsoft][SQL Server][SQL Server]Login failed for user
''. ERROR#2: return code:100, State:00000, Native Error
Code:18456: Message:
I can connect to the remote SQLServer 2012 database via ODBC 64 bit and 32 bit tool from IIS server with same user . No issues. is migrated from SQL Server 2000 to SQL Server 2012.
Able to connect remotely using the same user via sqlcmd.
Connected via Excel to the database using all connection tests works
except IIS.
I created new user in SQLServer 2012 database and got the same error.
IIS configuration info below:
<CfgSpecDataSource>
<Connection>
DRIVER=SQL Server; SERVER=Server_IP; DATABASE=DB_NAME; UID=<db_user>; PWD=passed;</Connection>
</CfgSpecDataSource>
I have mixed mode authentication (windows/sql server) defined on the sql instance.
Tried changing DRIVER=SQL Server Native Client 11.0
and got stuck with 18456 error;
Thanks to Vijunav Vastivch and sepupic for your suggestions.
1) This is a unique problem.
(Dropped the user and created again, tried with another new user ; no luck)
2) sepupic suggestion helped; I looked into the SQL Server Log and it displayed "Password did not match that for login provided"
Password was in UPPER case in the IIS configuration file. I narrowed down the possibilities of didn't match error and tried with lowercase password in configuration file. It worked.
I have 2 Databases with different credentials..
i try to connect the first database and it was successfully added and
i tried the second database but unfortunately failed.
it says "General SQL Server error: Check messages from SQL Server."
what are the possible reason why it failed..
Thanks.
I have Informatica PowerCenter installed on my local machine and am able to successfully connect to the local SQL Server Database instance. However when I try to connect to a remote server I am getting 'Login failed for user domain\MachineName$'.
Here is the full Error -
Error connecting to database [
Windows authentication is used to access the Microsoft SQL Server database
Microsoft SQL Server Native Client 11.0: Login failed for user '<>\<>$'.
SQL State: 28000 Native Error: 18456
State: 1 Severity: 14
SQL Server Message: Login failed for user '<>\<>$'.
Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [] and connection string [<>].].
Can someone throw light on how to get over this?
I installed MS SQL Server 2008 R2 on my laptop, just to practice SQL and it is running on localhost. I also downloaded Pentaho to learn a BI tools. The problem is I have been getting the below error for a week or so and cannot seem to find a solution.
Error connecting to database [test] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
I have tried every possible login combination and also installed the necessary Java drives.
Any help is much appreciated.
At the first, you check sql server is listening on default port, sometimes isnĀ“t take default port(antivirus,firewal, anyway).
Check the PID of SQL server service
type "netstat -a -n -o" command on console
search your PID on it and get your port where your sqlserver is listening