DBConnect Error - Trying to Connect to SQL Server 2008
Hi,
I am trying to connect to one of the SQL Server on the domain.
SQL Server 2008
OS: Windows 2008 R2 64 bit
I have done all the entries as mentioned in the Note. 178949 correctly but when I am testing this connection through program ADBC_TEST_CONNECTION it is showing me following error:
Testing a Database Connection Defined in DBCON
Could not open connection SQLCONNECTION
sql error 1- occured:
I have put DBMSSSLIB.DLL and DBMSSSLIB.PDB in the run directory as mentioned in the note too.
I have searched forum but couldn't find any solution for this. Please advice.
Thanks,
Usman Malik
Hi dude!
Checking the dbsl_w<NN> as it is explained in point 3 of the 'Troubleshooting' section of [SAP note 738371|https://service.sap.com/sap/support/notes/738371] would help a lot to know the reason of the failure.
I hope this helps you!
Cheers!
Similar Messages
-
Hi All,
BackGround
I used to connect to database with Encrypt set true in sql connection which helps established encrypted data base connection . I verified that created certificate in order
to provide Encrypted connection to database for client is valid.
Issue :Issue
is un-able to connect to sql sever2008 r2 from vs2013 by enforcing encryption to true.
while trying to test the connection from vs2013 error log getting recorded as well as error notification is getting populated as below .
Step1 :
from Vs2013 trying to connect to sql server 2008 r2
step 2: on Click test Connection . getting below mentioned error notification
Event Viewer Log:<o:p></o:p>
<o:p></o:p>
(Process Id: 7472)
<o:p></o:p>
.Net SqlClient Data Provider:<o:p></o:p>
A connection was successfully established with the server, but then an error
occurred during the login process. (provider: SSL Provider, error: 0 - The
target principal name is incorrect.)<o:p></o:p>
at
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,
Boolean breakConnection, Action`1 wrapCloseInAction)<o:p></o:p>
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)<o:p></o:p>
at
System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle,
SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean
callerHasConnectionLock)<o:p></o:p>
at System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean
canAccumulate)<o:p></o:p>
at System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte
flushMode, Boolean canAccumulate)<o:p></o:p>
at System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec,
FeatureExtension requestedFeatures, SessionData recoverySessionData)<o:p></o:p>
at
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean
ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)<o:p></o:p>
at
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean
redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential
credential, TimeoutTimer timeout)<o:p></o:p>
at
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer
timeout, SqlConnectionString connectionOptions, SqlCredential credential,
String newPassword, SecureString newSecurePassword, Boolean
redirectedUserInstance)<o:p></o:p>
at
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity
identity, SqlConnectionString connectionOptions, SqlCredential credential,
Object providerInfo, String newPassword, SecureString newSecurePassword,
Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions,
SessionData reconnectSessionData)<o:p></o:p>
at
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo,
DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions
userOptions)<o:p></o:p>
at
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool
pool, DbConnection owningObject, DbConnectionOptions options,
DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)<o:p></o:p>
at
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection
owningObject, DbConnectionOptions userOptions, DbConnectionInternal
oldConnection)<o:p></o:p>
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection
owningObject, DbConnectionOptions userOptions, DbConnectionInternal
oldConnection)<o:p></o:p>
at
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection
owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate,
Boolean onlyOneCheckConnection, DbConnectionOptions userOptions,
DbConnectionInternal& connection)<o:p></o:p>
at
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection
owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions,
DbConnectionInternal& connection)<o:p></o:p>
at
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions
userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&
connection)<o:p></o:p>
at
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1
retry, DbConnectionOptions userOptions)<o:p></o:p>
at
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)<o:p></o:p>
at
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)<o:p></o:p>
at System.Data.SqlClient.SqlConnection.Open()<o:p></o:p>
Inner Exception:<o:p></o:p>
:<o:p></o:p>
The target principal name is incorrectThe target principal name is incorrect
Hi Rahul.U,
Are you able to connect to SQL Server successfully from SQL Server Management Studio (SSMS) when enforcing encryption?
According to above error message, it could be caused by the inappropriate server name or incorrect TrustServerCertificate configuration in the connection string from Visual Studio. There are some proposals for you troubleshooting this error.
1. Make sure that you connect to the SQL server using the fully qualified domain name (FQDN).
2. When connecting to a SQL Server instance with a valid certificate, please add the
TrustServerCertificate
parameter and set it to true in the connection string. For more details, please review this
article.
However, if you can successfully connect to SQL Server via SSMS, but still fail to connect to SQL Server from Visual Studio, I would like to recommend you post the question in the .Net Framework forum at
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=netdevelopment . It is appropriate and more experts will assist you.
There are similar articles about error “The target principal name is incorrect” for your reference.
http://serverfault.com/questions/458935/aws-rds-sql-server-ssl-connection-the-target-principal-name-is-incorrect
http://www.derekseaman.com/2013/09/sql-2012-failover-cluster-pt-12-kerberos-n.html
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
Hi,
Getting following error while trying to connect MySQL server to the MDM Import manager.
logon Error:[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied
i have supplied the following paramter values.
Type : SQL server
Remote System : MDM
DBMS server : localhost
Database Name : testing
user: < MySQL user name>
password : < MySQL password>
pls let me know how can i solve this problem.
thanksRefer the blog
/people/rupesh.kumar4/blog/2008/08/20/how-to-integrate-mdm-with-mysql-server-50
thanks
Rupesh -
Hi,
I have one client and one server. In both hosts I created an OS-user named User1.
The user have been given various role under the prefix SQLServer2005.
The default instance of SQL Server and instance (background-process) of
Analysis Service are also run under User1.
I connected via Management Studio to Analysis Service directly in the
server. I set the permission to access Analysis Service to Everyone.
This means everyone should be able to use Analysis Service. I have set
ODBC data source to the server. Testing was successful.
I created a project to create a cube. The tables are fairly small (total 300 MB, biggest one 290).
On project setting (created at client) I set the server host as
deployment target. I managed to deploy project when all I have are Data
Source and Data Source Views.
But on deployment I always failed. The errors remain the same, begins with
OLE DB error: OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.; 08001.
I have tried 4 combinations of Impersonation :
(A) Use a specific username and password
* in which I supply User1 and the password of User1
(B) Use the service account
(C) Use the credentials of the current user
(D) Default
Why is this? The server does certainly exist. I think the error message is wrong.
I have seen 3 posting that seems related. One of them say the solution is giving the right impersonation, but gave no detail. About the privilege, User1 are granted the role of
SQLServer2005MSOLAP. What is the solution?
Thank you,
BernaridhoI just had this problem and solved it by creating an alias in SQL Server Configuration Manager, as below:
Scenario: My SQL server is accessible from the internet under my.domain.com, and from itself at ServerName. But the local network can't see itself through the router at my.domain.com, so the deployed project is unable to process the cube, since that would
require Analysis Services to be able to see the SQL Server at my.domain.com, which it can't do.
So I changed the server in my project from my.domain.com to ServerName, and I created a local alias to ServerName in SQL Server Configuration Manager, under SQL Native Client 11.0 Configuration, Aliases. In my case, I pointed it to localhost port 1333, and
used SSH -L 1333:my.domain.com:1433, but I could have pointed the alias directly to the server, just as well. (Verifying... yes, that worked too, so you can forget SSH if you have no interest in it.) -
Null connection when trying to connect to SQL Server 2000 in Tomcat4.1.29
Hi All,
I am still struggling with null connection when trying to connect to sql server 2000 with tomcat using sun.jdbc.odbc.JdbcOdbcDriver
Here is my server.xml
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
<Resource auth="Container" description="Users and Groups
Database" name="UserDatabase"
scope="Shareable"
type="org.apache.catalina.UserDatabase"/>
<Resource name="jdbc/DefaultDS" scope="Shareable"
type="javax.sql.DataSource"/>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.
MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
<ResourceParams name="jdbc/DefaultDS">
<parameter>
<name>validationQuery</name>
<value></value>
</parameter>
<parameter>
<name>user</name>
<value>sa</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>password</name>
<value>sa</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:odbc:JBoss-SQL://localhost:1433;databaseName=Development;selectMethod=cursor;</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>sun.jdbc.odbc.JdbcOdbcDriver</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />
</Connector>
-->
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8009 --><Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/DefaultDS" auth="container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/DefaultDS">
<!-- Maximum number of dB connections in pool.
Set to 0 for no limit.
-->
<parameter>
<name>maxActive</name>
<value>8</value>
</parameter>
<!-- Maximum number of idle dB connections to retain in pool.
Set to 0 for no limit.
-->
<parameter>
<name>maxIdle</name>
<value>4</value>
</parameter>
<!-- Maximum time to wait for a dB connection to become available
in ms, in this example 10 seconds. An Exception is thrown if
this timeout is exceeded. Set to -1 to wait indefinitely.
-->
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<!-- MS Sql Server dB username and password for dB connections
-->
<parameter>
<name>user</name>
<value>sa</value>
</parameter>
<parameter>
<name>password</name>
<value>sa</value>
</parameter>
<!-- Class name for MS Sql Server JDBC driver
-->
<parameter>
<name>driverClassName</name>
<value>sun.jdbc.odbc.JdbcOdbcDriver</value>
</parameter>
<!-- The JDBC connection url for connecting to MS Sql Server dB.
-->
<parameter>
<name>url</name>
<value>jdbc:odbc:JBoss-SQL://localhost:1433;databaseName=Development;selectMethod=cursor;</value>
</parameter>
<!-- This Databae Connection Pool Description.
-->
<parameter>
<name>description</name>
<value>JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver</value>
</parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
<ResourceLink name="linkToGlobalResource"
global="simpleValue"
type="java.lang.Integer"/>
</Host>
</Engine>
</Service>
</Server>
and my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!-- Standard Action Servlet Mapping -->
<web-app>
<resource-ref>
<res-ref-name>jdbc/DefaultDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
and JBoss-SQL is data source I created from control panel settings and here is way I am retrieving connetion
InitialContext initCtx = new InitialContext();
DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/DefaultDS");
Connection con = ds.getConnection();
return con;
I tried connecting as mentioned in this website
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Common%20Problems.But didn't help
Please help urgent
Sorry for long file. Can any one please help me in solving this problem.
Thanks in advnace
KurakulaI'd recommend that you not use the JDBC-ODBC bridge driver to connect to SQL Server. M$ and jTDS are two free type IV JDBC drivers that you should use instead. Put those JARs in the WEB-INF/lib directory.
The database URL you're using is not correct if you change drivers. Consult the docs to find out what the proper syntax is.
MOD -
I have installed the chat vu and the chat portal server. All the VU's are but still when i start the chat (ip address on the usl) and fill all the credintials, i get the error "Error trying to connect to the Server. The Server is not available, please try again later"
I have tested the connection in the IIS ChatVU and it is ok.
Please guide !!!
Thanks and Regards
RohitHi Rohit,
Did you change the \ChatAS\web.config file with the right IP address of you Chat Portal VU?
For your referente check page 116 (Internal Chat Client) from "SAP BCM 7 SP5 Basic Installation Example" document.
Regards,
Heber Olivar -
Icloud encountered an error trying to connect to the server.
When I try to sign in to my iCloud through iCloud.com I get this error: "icloud encountered an error trying to connect to the server.". However, at the same time I can login with my different Apple IDs. It seems to me the problem is with this account. For sure I have already verified my account and I enter the correct password
For further info, My iMac also cannot sync anything with the cloud. Meaning that, Also Im not able to manage my iCloud in system preference neither.
Does anyone have any idea?! Could you please help me out if you know whats wrong?If it only does it at work, then the most likely reason is that your work network is blocking it, or one of the servers iCloud connects to.
Have you asked the IT people at work? Checked it on another computer at work? -
Cannot connect to SQL Server 2008 R2 Express
I have a database application that connects to the Northwind sample db in MS Access and lets the user perform CRUD operations.
Now I want to add the same for MS SQL Server, however, I have trouble connecting to it using this connection string:
I changed the server properties in SQL Server Management Studio to allow windows and SQL Server authentication, yet, I still get this exception when trying to open the connection:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I thought it might be because the server is not allowing remote connections and followed this guide to allow remote connections:
http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/
But the SQL Server windows service won't start. The Browser works fine, but the server doesn't do anything.
When trying to start it I get this error:
The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
The event log says:
2011-07-07 17:02:55.35 spid51 Starting up database 'Northwind'.
2011-07-07 17:02:59.98 spid51 Starting up database 'Northwind'.
2011-07-07 17:03:03.68 spid53 Starting up database 'Northwind'.
2011-07-07 17:03:07.01 spid55 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
2011-07-07 17:03:07.30 spid55 Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
2011-07-07 17:03:07.76 spid55 Starting up database 'pubs'.
2011-07-07 17:03:08.89 spid55 Starting up database 'pubs'.
2011-07-07 17:03:09.30 spid55 Starting up database 'pubs'.
2011-07-07 17:04:11.37 spid55 Starting up database 'pubs'.
2011-07-07 17:08:17.28 spid52 Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
2011-07-07 17:08:17.35 spid52 Using 'xplog70.dll' version '2009.100.1600' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
However, when starting SQL Server Management Studio, I can normally work with the databases, perform CRUD operations, etc.
I was wondering if it might be a connection string issue.
I'm using this string:
@"Server=lolcalhost;Database=Northwind;User ID=BEN-A350C47E32F;Password=;Trusted_Connection=False;";
I added the Northwind database as data source to the project and the connection string is in the app.config:
<connectionStrings>
<add name="NwindConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Nwind.mdb" providerName="System.Data.OleDb"/>
</connectionStrings>
using this code to access it:
constringServer = ConfigurationManager.ConnectionStrings["NwindConnectionString"].ToString();
but when using this string I get an ArgumentException:
Keyword not supported: 'provider'.
I'd appreciate any help that would let me connect to the server from a program.Here is an active Sql connection string we use currently from our app.config file:
<connectionStrings>
<clear/>
<add name="ServerConnectionString" connectionString="Data Source=SqlBox;Initial Catalog=YourCatalog;User Id=Username; Password=password;" providerName="System.Data.SqlClient"/><br/> </connectionStrings>
here is one for Sql Express:
<add name="LocalConnectionString" connectionString="Data Source=MachineName\SqlExpress;Initial Catalog=YourCatalog;Integrated Security= true;" providerName="System.Data.SqlClient"/> -
Login fails when connecting to SQL Server 2008
There were 3 databases and a report server database on sql server 2008 r2. All were renamed. Now, when trying to connect to sql server I am getting a login failed error for default database. I'm guessing because the default db name was changed. How
can I fix this so that I can connect to the db server\instance?
ThanksHi ,
According to your description, I do a test in SQL Server 2008R2. If you use windows system admin account to log in the instance via Windows authentication, even if you change all use database name, you can still log in successfully. However, if you create
a SQL Server login name to connect to instance via SQL Server authentication, when you change the default database name, it will
occur the error which just like at follows .
//Cannot open user default database. Login failed.
Login failed for user '***'. (.Net SqlClient Data Provider), Error Number: 4064//
I recommend you change the default database any existing database on your server like master via clicking on Option , or you can run following statement for username
to replace your original database name with master.
ALTER LOGIN [login name] WITH DEFAULT_DATABASE = master
GO
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
How to enable remote connections in SQL Server 2008
I'm trying to enable remote connections in SQL Server 2008 R2 as described in the following article. I see the error message at the top of the article.
http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx
One step in the article describes how to enable TCP/IP in Configuration Manager. Specifically it says that
'SQL Server NETWORK Configuration' should have TCP/IP enabled.
The issue I've encountered is that my Configuration Manager
is different than what appears in the article. My Configuration Manager shows the following:
SQL Server 2005 Services
SQL Server 2005 Network Configuration (32 bit)
- Protocols for SQLExpress
SQL Native Client Configuration (32 bit)
- Client protocols
- Aliases
Note that I see 'SQL Server 2005 Network Configuration'
rather than that for 2008. When 'Protocols for SQLExpress'
is expanded, there is a TCP/IP setting, but it's disabled and I see an
Access Denied message if I try to enable this.
I also see a TCP/IP setting under Client protocols and successfully enabled this. This uses port 1433 and I configured my firewall to accomodate this port as suggested in the article.
I also followed the other steps in the article, but still don't have remote access to SQL Server 2008 R2. (I can access it from the office.) I'm wondering if this remote access issue is because SQL Server
2008 Network Configuration does not appear in Configuration Manager
and if so, I'm interested in how this might be resolved. (I'm running Windows 7 - 64 bit.)
I'd appreciate any ideas on this. Thanks.Hello,
Please refer to the following resource.
http://support.microsoft.com/kb/KbView/914277
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Unable to connect to SQL Server 2008 from OBIEE 11G(on 64 bit Linux box)
We are unable to connect to connect to SQL Server 2008 from OBIEE 11G which is on 64 bit Red Hat Enterprise Linux.
Infrastructure: OBIEE 11.1.1.5 64bit, on 64 bit Red Hat Linux Enterprise Linux 5.6 , MS SQL Server 2008 on 64 bit Microsoft Windows Server
Issue Description: Unable to connect to SQL Server 2008 from OBIEE11G RPD
Details: We are unable to connect to SQL Server 2008 from OBIEE which is on a 64 bit Linux box. We created the ODBC connection on Linux box to the SQL server. Whenever we try to import metadata it throws an error that says ‘Connection Failed’.
Here are the steps we followed to setup the ODBC connection on Linux box.
1) We updated the user.sh file with the LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 values that point to $ORACLE_HOME/bifoundation/odbc/lib
This is where we found the driver for SQL server SEmsss23.so.
2) We updated the odbc.ini file with the entry for SQL server with the connection details
SI_SQL_Server_DEV = SQL Server
[SI_SQL_Server_DEV]
Driver=/u001_OAS/Oracle/Middleware/Oracle_BI1/bifoundation/odbc/lib/SEmsss23.so
Description=DataDirect 5.1 SQL Server Wire Protocol
Address=10.230.216.52,54970
AlternateServers=
AnsiNPW=Yes
ConnectionRetryCount=0
ConnectionRetryDelay=3
Database=SVBDW_NEW
LoadBalancing=0
LogonID=SIDatavalidation
Password=~~~Password123
QuoteID=No
ReportCodePageConversionErrors=0
3) We updated the IDENTIFIER_QUOTE_CHAR with single quotes instead of double quotes in the DB features of the RPD
4) We updated the bash_profile file to point the ODBCINI variable to the path where the OBIEE odbc.ini file is present.
Export ODBCINI=/u001_OAS/Oracle/Middleware/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/odbc.ini
The error in nqsserver.log file says “[nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified.”Hi,
Make sure SQL Configuration Manager make sure the TCP/IP enabled. please try below method
Method 1
Re Create a new ODBC & Oracle Bi Server DSN Configuration test it and use it in the connection pools.
define your ODBC data source in your server where the BI Server is installed. Check your DB connections in your physical layer and make they are defined on your BI Server as well.
Method 2:
try using the complete TNS in below format in the datasource name section:
(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST =DB IP)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) and provide the credentials.
Method 3:
To use the OCI call interface you need to have oracle client DB to be installed so that you can establish a connection using that DB credentials and connect to the remote dB and then import the tables.....this is the rule of thumb.
hope helps you.
Thanks
Deva -
An error occurred attempting to install SQL Server 2008 Express Service Pack 1
i have Setup application with complete prerequisite requirement package create from Visual Studio 2010 setup application.And yes this setup working fine in windows 7 and windows vista but not working in windows xp service pack 3.and getting error when install "An error occurred attempting to install SQL Server 2008 Express Service Pack 1"Give me solution as soon as possible.I have listed summery.txt and log.txt. please refer it.Summery.txt
===============================================================Component SQL Server 2008 Express has failed to install with the
following error message:
"An error occurred attempting to install SQL Server
2008 Express Service Pack 1."
The following components were successfully
installed:
- Microsoft .NET Framework 4 Client Profile (x86 and
x64)
The following components failed to install:
- SQL Server 2008
Express
See the setup log file located at
'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\install.log' for more
information.Install.log
==========================================================================The following properties have been set:
Property: [AdminUser]
= true {boolean}
Property: [InstallMode] = HomeSite {string}
Property:
[ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.3
{version}
Running checks for package 'Windows Installer 3.1', phase
BuildList
The following properties have been set for package 'Windows
Installer 3.1':
Running checks for command
'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running
operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1':
true
Result of checks for command
'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is
'Bypass'
'Windows Installer 3.1' RunCheck result: No Install
Needed
Running checks for package 'Microsoft .NET Framework 4 Client Profile
(x86 and x64)', phase BuildList
Reading value 'Version' of registry key
'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Unable to read
registry value
Not setting value for property
'DotNet40Client_TargetVersion'
The following properties have been set for
package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Running
checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
Result of
running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite':
true
Result of checks for command
'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
Running checks
for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running
operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite':
false
Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was
not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser'
and value 'false': false
Result of running operator 'VersionLessThan' on
property 'VersionNT' and value '5.1.2': false
Result of running operator
'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64':
false
Result of checks for command
'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
'Microsoft .NET
Framework 4 Client Profile (x86 and x64)' RunCheck result: Install
Needed
Running checks for package 'SQL Server 2008 Express', phase
BuildList
Running external check with command
'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SqlExpressChk.exe' and
parameters '10.0.1600 1033'
Process exited with code 2
Setting value '2
{int}' for property 'SQLExpressChk'
The following properties have been set
for package 'SQL Server 2008 Express':
Property: [SQLExpressChk] = 2
{int}
Running checks for command
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator
'ValueNotExists' on property 'VersionNT': false
Result of running operator
'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of
running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0':
false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and
value '5.2.1': false
Result of running operator 'ValueEqualTo' on property
'AdminUser' and value 'false': false
Result of running operator
'ValueEqualTo' on property 'SQLExpressChk' and value '-1': false
Result of
running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-2':
false
Result of running operator 'ValueEqualTo' on property 'SQLExpressChk'
and value '-3': false
Result of running operator 'ValueEqualTo' on property
'SQLExpressChk' and value '-4': false
Result of running operator
'ValueLessThan' on property 'SQLExpressChk' and value '-4': false
Result of
running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value
'Intel': false
Result of running operator 'ValueNotEqualTo' on property
'SQLExpressChk' and value '1': true
Result of checks for command
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
Running checks for command
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator
'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel':
false
Result of running operator 'ValueNotEqualTo' on property
'SQLExpressChk' and value '2': false
Result of checks for command
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Install'
Running checks for
command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator
'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64':
true
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is
'Bypass'
Running checks for command
'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator
'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64':
true
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is
'Bypass'
'SQL Server 2008 Express' RunCheck result: Install Needed
EULA
for components 'Microsoft .NET Framework 4 Client Profile (x86 and x64)' was
accepted.
EULA for components 'SQL Server 2008 Express' was
accepted.
Copying files to temporary directory
"C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\"
Downloading files to
"C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\"
(11/15/2014 3:59:51 PM)
Downloading 'DotNetFX40Client\dotNetFx40_Client_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182804'
to 'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\'
Download completed at
11/15/2014 3:59:53 PM
Verifying file integrity of
C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust
returned 0
File trusted
(11/15/2014 3:59:53 PM) Downloading
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' from 'http://go.microsoft.com/fwlink/?LinkID=153228&clcid=0x409'
to 'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\'
Download completed at
11/15/2014 4:00:22 PM
Verifying file integrity of
C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE
WinVerifyTrust
returned 0
File trusted
Running checks for package 'Microsoft .NET
Framework 4 Client Profile (x86 and x64)', phase BeforePackage
Reading value
'Version' of registry key 'HKLM\Software\Microsoft\NET Framework
Setup\NDP\v4\Client'
Unable to read registry value
Not setting value for
property 'DotNet40Client_TargetVersion'
The following properties have been
set for package 'Microsoft .NET Framework 4 Client Profile (x86 and
x64)':
Running checks for command
'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator
'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite':
false
Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was
not defined
Result of running operator 'ValueEqualTo' on property 'AdminUser'
and value 'false': false
Result of running operator 'VersionLessThan' on
property 'VersionNT' and value '5.1.2': false
Result of running operator
'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64':
false
Result of checks for command
'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
'Microsoft .NET
Framework 4 Client Profile (x86 and x64)' RunCheck result: Install
Needed
Verifying file integrity of
C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
WinVerifyTrust
returned 0
File trusted
Installing using command
'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe'
and parameters ' /q /norestart /ChainingPackage ClientX64ClickOnce /lcid
1033'
Process exited with code 0
Running checks for package 'Microsoft
.NET Framework 4 Client Profile (x86 and x64)', phase AfterPackage
Reading
value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework
Setup\NDP\v4\Client'
Read string value '4.0.30319'
Setting value
'4.0.30319 {string}' for property 'DotNet40Client_TargetVersion'
The
following properties have been set for package 'Microsoft .NET Framework 4
Client Profile (x86 and x64)':
Property: [DotNet40Client_TargetVersion] =
4.0.30319 {string}
Running checks for command
'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator
'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite':
false
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'DotNet40Client_TargetVersion' and value '4.0.30129': true
Result of checks
for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is
'Bypass'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck
result: Install Succeeded
Running checks for package 'SQL Server 2008
Express', phase BeforePackage
Running external check with command
'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SqlExpressChk.exe' and
parameters '10.0.1600 1033'
Process exited with code 2
Setting value '2
{int}' for property 'SQLExpressChk'
The following properties have been set
for package 'SQL Server 2008 Express':
Property: [SQLExpressChk] = 2
{int}
Running checks for command
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator
'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel':
false
Result of running operator 'ValueNotEqualTo' on property
'SQLExpressChk' and value '2': false
Result of checks for command
'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Install'
'SQL Server 2008 Express'
RunCheck result: Install Needed
Verifying file integrity of
C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE
WinVerifyTrust
returned 0
File trusted
Installing using command
'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
and parameters '/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS
/skiprules=RebootRequiredCheck'
Process exited with code
-2068578302
Status of package 'Microsoft .NET Framework 4 Client Profile (x86
and x64)' after install is 'InstallSucceeded'
Status of package 'SQL Server
2008 Express' after install is 'InstallFailed'
S S ManneHi Manne,
As your description, you come across an error when trying to install SQL Server 2008 express Service Pack 1 on windows XP Service Pack 3 machine. From your error log, I get the error(unable to read registry value). As my analysis, the issue could be due
to that your account doesn't have access to registry. Below are the recommendations for troubleshooting the issue.
1. Make sure that you log in as an administrator of the machine.
2. Please follow the steps below to make sure that you have granted the right permission to registry.
a. Located HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server in registry.
b. Right click and go to Permission, then you could see user accounts or groups. If your user account is not in the list, you could click Add to add your account there.
c. Select your account and Click on Advance.
d. Check on both check box ('Include inheritable permissions from this object's parent'.
and 'Replace all child object permissions with inheritable permissions from this object'), click OK.
e. Click OK again.
Regards,
Michelle Li -
i'm recently working on hardening of sql server 2008. now i face with a problem. my problem is how to secure connection in sql server 2008? my main problem is which certificate should i add in mmc? what are these certificates about?and guide
me in choosing the appropriate certificate.
and how should i know that the connection in sql server is secured?
plz guide me from the beginning cause i'm rookie in this subject.
thanks in advance.Hi sqlfan,
Question 1: my problem is how to secure connection in sql server 2008?
Microsoft SQL Server can use Secure Sockets Layer (SSL) to encrypt data that is transmitted across a network between an instance of SQL Server and a client application. For more information about Encrypting Connections to SQL Server, please refer to the following
article:
http://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx
Question 2: my main problem is which certificate should i add in mmc? what are these certificates about?and guide me in choosing the appropriate certificate.
To install a certificate in the Windows certificate store of the server computer, you will need to purchase/provision a certificate from a certificate authority first. So please go to a certificate authority to choose the appropriate certificate.
For SQL Server to load a SSL certificate, the certificate must meet the following conditions:
The certificate must be in either the local computer certificate store or the current user certificate store.
The current system time must be after the Valid from property of the certificate and before the Valid to property of the certificate.
The certificate must be meant for server authentication. This requires the Enhanced Key Usage property of the certificate to specify Server Authentication (1.3.6.1.5.5.7.3.1).
The certificate must be created by using the KeySpec option of AT_KEYEXCHANGE. Usually, the certificate's key usage property (KEY_USAGE) will also include key encipherment (CERT_KEY_ENCIPHERMENT_KEY_USAGE).
The Subject property of the certificate must indicate that the common name (CN) is the same as the host name or fully qualified domain name (FQDN) of the server computer. If SQL Server is running on a failover cluster, the common name must match the host
name or FQDN of the virtual server and the certificates must be provisioned on all nodes in the failover cluster.
Question 3: how should i know that the connection in sql server is secured?
If the certificate is configured to be used, and the value of the ForceEncryption option is set to Yes, all data transmitted across a network between SQL Server and the client application will be encrypted using the certificate. For more detail about this,
please refer to Configuring SSL for SQL Server in the following article:
http://technet.microsoft.com/en-us/library/ms189067(v=sql.105).aspx
If you have any question, please feel free to let me know.
Regards,
Donghui Li -
Trying to connect to SQL SERVER
We have SAP on Oracle database but as we are implementing our HR system on SQL Server so we need to connect to SQL SERVER through ABAP in order to retrieve some information. We created the Connection successfully but when trying to retrieve the data it is giving us following dump :
Runtime Errors DBIF_DSQL2_INVALID_CURSOR
Except. CX_SY_NATIVE_SQL_ERROR
Invalid interruption of a database selection
The code through which i am trying to retrieve the data is as follows :
DATA: c1 TYPE cursor.
DATA : BEGIN OF EMP_DATA OCCURS 0,
FNAME(5000) TYPE C,
END OF EMP_DATA.
DATA : fnm TYPE STRING.
EXEC SQL.
CONNECT TO 'HRMS'
ENDEXEC.
if sy-subrc eq 0.
MESSAGE 'Connected..' TYPE 'I'.
else.
MESSAGE 'Not Connected..' TYPE 'I'.
endif.
EXEC SQL.
OPEN c1 for
SELECT FNAME
FROM view_EMPDATAPayroll_New
ENDEXEC.
if sy-subrc eq 0.
MESSAGE 'Access Successful..' TYPE 'I'.
else.
MESSAGE 'Access Not Successful..' TYPE 'I'.
endif.
DO.
EXEC SQL.
FETCH NEXT c1 INTO :EMP_DATA.FNAME;
ENDEXEC.
APPEND EMP_DATA.
IF sy-subrc <> 0.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE c1
ENDEXEC.
EXEC SQL.
DISCONNECT 'HRMS'
ENDEXEC.
We have tried a lot to solve the error but every time we are getting the same dump. It is giving dump at the following command :
FETCH NEXT c1 INTO :EMP_DATA.FNAME;
The connection properties are also as follows :
DB Connection HRMS
DBMS MSS
User Name sa
Conn. info MSSQL_SERVER=192.168.0.60\SQLEXPRESS MSSQL_DBNAME=HRAlign_Rubamin
Please help me out.
Tarun.Thanks for your timely response Arun. Solved the issue as I was using Message inside the cursor , I removed that and problem is solved.
When I am retrieving only 2 columns in select statement then it is getting executed but when I am giving more than 2 columns then it is giving error "Incorrect Syntax Near".
But now I made following changes in program and getting dump (with different message).
The code is as under.
DATA: c1 TYPE cursor.
DATA : BEGIN OF EMP_DATA OCCURS 0,
FNAME(100) TYPE C,
LNAME(100) TYPE C,
JOINING_CTC(16) TYPE P DECIMALS 2,
END OF EMP_DATA.
DATA : fnm(100) TYPE c,
lnm(100) TYPE c,
jng_ctc(16) TYPE P DECIMALS 2.
EXEC SQL.
CONNECT TO 'HRMS'
ENDEXEC.
EXEC SQL.
OPEN c1 for
SELECT FNAME LNAME JOINING_CTC FROM view_EMPDATAPayroll_New.
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT c1 INTO :EMP_DATA
ENDEXEC.
APPEND EMP_DATA.
IF sy-subrc <> 0.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE c1
ENDEXEC.
EXEC SQL.
DISCONNECT 'HRMS'
ENDEXEC.
LOOP AT EMP_DATA.
WRITE: EMP_DATA-FNAME , EMP_DATA-LNAME , EMP_DATA-JOINING_CTC.
ENDLOOP.
At execution I am getting dump with the following message:
Short text
SQL error 102 occurred when executing Native SQL.
What happened?
The error 102 occurred in the current database connection "HRMS".
Error Text of Database: "Incorrect syntax near 'JOINING_CTC'."
SQL Statement Responsible:"SELECT FNAME LNAME JOINING_CTC FROM
view_EMPDATAPayroll_New."
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_NATIVE_SQL_ERROR', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
Error Text of the Database: "Incorrect syntax near 'JOINING_CTC'."
Regards.
Tarun. -
Some times on Tomcat start up it creates SSL error while JDBC connection to SQL server
We are using Apache Tomcat 6 and SQL server 2008 on production. In the application in ServletContextListner we make DB connection to read some property from DB. When we restart the Tomcat 6.0 in that case sometimes it does not gets DB connection till 5 to
10 minutes. It does not happen every time. We are using JNDI for getting the Datasource objectand using SQL JDBC 3.0 driver. We get following error in log
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at com.rightwave.util.RWDBConnectionManager.getConnection(RWDBConnectionManager.java:145)
at com.rightwave.util.RWDataBaseDAO.executeQuery(RWDataBaseDAO.java:306)
at com.rightwave.util.RWDataBaseDAO.executeQuery(RWDataBaseDAO.java:289)
at com.rightwave.admin.RWApplicationContext.setMConfigurationProperties(RWApplicationContext.java:226)
at com.rightwave.admin.RWAdminApplicationContext.initialize(RWAdminApplicationContext.java:85)
at com.rightwave.admin.RWServletContextListener.contextInitialized(RWServletContextListener.java:186)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1412)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1058)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:833)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:716)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841)
at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
... 31 more
Caused by: java.io.IOException: Connection reset by peer: socket write error
at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:500)
at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:570)
at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:562)
at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:757)
at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:745)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1379)
... 39 more
Urgent help will be appreciated.So, you've got a network error.. Check your physical layer.
Maybe you are looking for
-
ADF scanning with HP Office jet pro 8600
Have a new machine. I can scan documents individually on the scanner glass no problem, and when I feed documents through the ADF it all feeds through ok and says "scan successful" however what I have scanned through the ADF always shows as a blank do
-
[mac] hot to launch PDFs/AVIs from a mac player?
Hi all, I need to create a movie with Flash that runs on Macintosh. I can do this easily with Windows, using lots of solution provided by developers around the word. I expecially use a little exe file that I can configure to run any kind of file (PDF
-
Trash bin crashes error code -8003
Any thought on my trash bin not working?
-
IPod won't work with new computer - please help
When I bought my iPod, I had it hooked up with Computer #1. That went with my ex-husband in the divorce, so I no longer have that computer. I now have my parents' old computer, Computer #2. My dad has an iPod that was originally used with this comput
-
I've been given a DVD burned by my friend using DVDSP, and I'm wondering how, exactly, to make a copy for myself...? I've copied the video and audio ts files from the DVD onto my desktop (about 60mb)... but now what? I've tried copying those folders