Unable to connect / SQLState=01000
New install of
SQL*Plus 8.1.7.0.0
and
Oracle 8i ODBC Driver 8.1.7.2.0
It works on my personal machine,
but on the production machine,
I get following error
------- verbatim of error ---
Unable to connect
SQLState=01000
The driver returned invalid (or
failed to return)
SQL_DRIVER_ODBC_VER: 03.51
-------- end verbatim
null
Install an updated version of the Microsoft Data Access Components (MDAC) from Microsoft @ <http://www.microsoft.com/data>. The version of the ODBC Driver Manager on the failing machine isn't aware that ODBC 3.51 is a valid version of the protocol.
Justin
Similar Messages
-
Unable to connect SQLState=08004 Oracle ODBC Ora-12154
Hi Sir/Madam,
I am Wayne, I need your help to resolve my issue in oracle database 11g.
1. I installed Oracle 11g Personal Edition, Release 11.2.0.10, 64bits,
2. Test connection(oracle in oradb11g_home1) is successed in data source, odbc,
2. Then, I tried to connect this with Visual Basic(Visual Studio 2010), data connections, add connections, .net framework data provider for oracle,
3. but I received an error message as "Attempt to load Oracle client libraries threw BadImageFormatException."
4. Then, I download the ODAC(11.2.0.3.0) for 64bits, and installed,
5. I tried to test the connection, but failed with error message as stated above,
"Unable to connect SQLState=08004 Oracle ODBC Ora-12154: TNS:could not resolve the connect identifier specified"
Could you please give me a help on this, do I need to install ODAC for 11g Personal Edition ? Please advice accordingly, thanks.Hi;
Please review:
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2309520
http://stackoverflow.com/questions/206055/oracle-ora-12154-tns-could-not-resolve-service-name-error
Regard
Helios -
Unable to connect SQLState=IM003
Hi all
am new to OBIEE. I have Installed OBIEE and oracle 10g and when am trying to create Datasource connection its giving following error.
'Unable to connect
SQLState=IM003
specified driver could not able to load due to system error 998(oracle in oraDb10g_home1)'
Please advice me..
Thanks
RajHi,
Are you able to create DSN for db? Did you test connection?
Check this....http://forums.oracle.com/forums/thread.jspa?messageID=2556992
Oracle ODBC driver configuration
Problem is with path variables.Verify path variables and syntax carefully.At this location...Start -> Control Panel -> System -> Advanced -> Environment Variables
http://www.dba-oracle.com/t_pc_rac_variables.htm
Regards,
Srikanth -
Unable to connect SQLState=IM004 ODBC Driver Manager] Driver's SQLAllocHand
Hi All,
When I have tried to create dsn connection it start throwing the following error,
do you have any idea how to resolve this..
Unable to connect SQLState=IM004 ODBC Driver Manager] Driver's SQLAllocHandInstall an updated version of the Microsoft Data Access Components (MDAC) from Microsoft @ <http://www.microsoft.com/data>. The version of the ODBC Driver Manager on the failing machine isn't aware that ODBC 3.51 is a valid version of the protocol.
Justin -
Unabel to connect SQLState=IM001
Hi all,
I am trying to connect to the server throught the Oracle client 9.2.0.1
I get the following error message
Unable to connect
SqlState=IM001
*[Microsoft][ODBC Driver Manager] Driver does not support this Function.*
I copied the 9.2.0.2 ODBC diver and also the .dll files from bin to the Oracle client folder 9.2.0.1 which did not have the ODBC folder in it.
But I dont know where I am going wrong.
Thank You,Download Oracles "instant client" or "SQLDeveloper", both are free.
http://www.oracle.com/technology/software/index.html -
Hi.
I have a Oracle 10g client on my PC and Visual Studio 2005 and saw the free download of the Oracle Developer Tools (ODTwithODAC10202.exe).
After installing the package I get an error when I try and connect to my Oracle database server (which is NOT installed locally).
The error is:
Unable to connect
SQLState=IM004
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
and I can press OK.
I've checked my TNSNAMES file if my old entry was still there and it was.I uninstalled the program and now everything works great.
BTW. It seems that the installer installs the Oracle stuff in a wrong directory compared to where my already installed Oracle files are placed.
Like this:
C:\Oracle\10.2.0\client_1
C:\Oracle\product\10.2.0\client_1
I'm left with both dirs as I can't remember which is the right one. Also I'm affraid to let the installed overwrite my existing installation.
But it's probably related to this... -
Unable to Connect, ORA 12154, Setup routine for Microsoft ODBC errors
Hi all,
I have a Windows 7 Enterprise 64bit SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with ODBC configuration.
I have currently installed both below in ... product\11.2.0\client_1 folder:
1. Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
2. 64-bit Oracle Data Access Components (ODAC) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
I launched ODBC Data Source Administrator and added a User DSN but resulted to two errors:
1. The setup routines for the Microsoft ODBC for oracle ODBC driver could not be found. Please reintall the driver.
2. The specified DSN contains an architecture mismatch between the driver and application.
On top of that, if I go to System DSN tab, and tried to test the connection it give me an error:
1. Unable to connect SQLState = 08004 [Oracle][ODBC][Ora]ORA-12154: TNS: Could not resolved the identifier specified.
Can someone please guide me through this? Thanks in advance!
Edited by: VTech on Feb 26, 2013 2:13 PMVTech wrote:
Hi all,
I have a Windows 7 Enterprise 64bit SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with ODBC configuration.
I have currently installed both below in ... product\11.2.0\client_1 folder:
1. Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
2. 64-bit Oracle Data Access Components (ODAC) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
You only need one of these (the second one should suffice).
I launched ODBC Data Source Administrator and added a User DSN but resulted to two errors:
1. The setup routines for the Microsoft ODBC for oracle ODBC driver could not be found. Please reintall the driver."Microsoft ODBC for Oracle" is a different provider than "Oracle ODBC". Make sure you're not using the Microsoft one.
2. The specified DSN contains an architecture mismatch between the driver and application.This can happen if you're mixing 32-bit and 64-bit. There's two ODBC control panels in Windows 7:
- the 64 bit one is the one in control panel
- the 32 bit one is c:\windows\syswow64\odbcad32.exe
Since you're using a 64 bit Oracle driver, you should be using the 64 bit ODBC administrator, and 64 bit applications. If you're trying to use this ODBC connection with a 32 bit application, you'll need to use the 32 bit ODBC (and the 32 bit Oracle driver).
On top of that, if I go to System DSN tab, and tried to test the connection it give me an error:
1. Unable to connect SQLState = 08004 [Oracle][ODBC][Ora]ORA-12154: TNS: Could not resolved the identifier specified.Well that actually means it's loading Oracle correctly, so that's something. You need to add an entry for the server you want to connect to into tnsnames.ora, located in the \network\admin folder inside of your Oracle client installation. Since it sounds like someone else set up the server you want to connect to, your DBA should be able to provide the information that goes into the file. -
Help,
setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine. When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
i get the following error:
Connection failed:
SQLState:'01000'
SQL Server Error:67
[Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
(Connect()).
Connection failed:
SQLState:'08001'
SQL Server Error:17
[Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled. I can connect to the other sql server in studio manager on the new machine however, i can't go do
the same in the old server, says:
cannot connect to hbfsqlpro1\hbfsqlpro1
Additonal information a network related or instance specifc error occured while establising 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:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)
the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine. STarting to pull my hair out somewhat, i'm sure it's something really simple!Hello,
You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
Make sure TCP/IP is enabled.
http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Dear all,
i have a Windows 2008 Server (X64) with SQL 2005 SP3 and some troubels...
The SQL works since some week, this week we installed SQL SP3 and change of the local Admin password.
Yesterday we reboot the Server, now the SQL Server Agent is unable to start!
The SQL Server is up and running,
Errorlog:
2009-11-06 09:49:52.56 Server Microsoft SQL Server 2005 - 9.00.4035.00 (X64)
Nov 24 2008 16:17:31
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.0 (Build 6002: Service Pack 2)
2009-11-06 09:49:52.56 Server (c) 2005 Microsoft Corporation.
2009-11-06 09:49:52.56 Server All rights reserved.
2009-11-06 09:49:52.56 Server Server process ID is 5912.
2009-11-06 09:49:52.56 Server Authentication mode is WINDOWS-ONLY.
2009-11-06 09:49:52.56 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2009-11-06 09:49:52.56 Server This instance of SQL Server last reported using a process ID of 4424 at 11/6/2009 9:43:23 AM (local) 11/6/2009 8:43:23 AM (UTC). This is an informational message only; no user action is required.
2009-11-06 09:49:52.56 Server Registry startup parameters:
2009-11-06 09:49:52.56 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2009-11-06 09:49:52.56 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2009-11-06 09:49:52.56 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2009-11-06 09:49:52.59 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2009-11-06 09:49:52.59 Server Detected 4 CPUs. This is an informational message; no user action is required.
2009-11-06 09:49:52.67 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2009-11-06 09:49:52.71 Server Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2009-11-06 09:49:53.73 Server Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2009-11-06 09:49:53.73 Server Database mirroring has been enabled on this instance of SQL Server.
2009-11-06 09:49:53.73 spid4s Starting up database 'master'.
2009-11-06 09:49:53.86 spid4s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2009-11-06 09:49:53.95 spid4s SQL Trace ID 1 was started by login "sa".
2009-11-06 09:49:53.97 spid4s Starting up database 'mssqlsystemresource'.
2009-11-06 09:49:53.99 spid4s The resource database build version is 9.00.4035. This is an informational message only. No user action is required.
2009-11-06 09:49:54.16 spid9s Starting up database 'model'.
2009-11-06 09:49:54.17 spid4s Server name is 'VIE-EU-ARC-02'. This is an informational message only. No user action is required.
2009-11-06 09:49:54.19 Server The certificate was successfully loaded for encryption.
2009-11-06 09:49:54.19 Server Server is listening on [ 'any' <ipv6> 1433].
2009-11-06 09:49:54.19 Server Server is listening on [ 'any' <ipv4> 1433].
2009-11-06 09:49:54.19 Server Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].
2009-11-06 09:49:54.19 Server Server local connection provider is ready to accept connection on [ \\.\pipe\sql\query ].
2009-11-06 09:49:54.19 Server Server is listening on [ ::1 <ipv6> 1434].
2009-11-06 09:49:54.19 Server Server is listening on [ 127.0.0.1 <ipv4> 1434].
2009-11-06 09:49:54.19 Server Dedicated admin connection support was established for listening locally on port 1434.
2009-11-06 09:49:54.31 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2009-11-06 09:49:54.33 spid15s Starting up database 'AdventureWorks'.
2009-11-06 09:49:54.33 spid16s Starting up database 'EnterpriseVaultDirectory'.
2009-11-06 09:49:54.33 spid14s Starting up database 'Test'.
2009-11-06 09:49:54.33 spid12s Starting up database 'AdventureWorksDW'.
2009-11-06 09:49:54.33 spid17s Starting up database 'EnterpriseVaultMonitoring'.
2009-11-06 09:49:54.33 spid13s Starting up database 'msdb'.
2009-11-06 09:49:54.33 spid23s Starting up database 'EVVSExchangeVaultStore_2'.
2009-11-06 09:49:54.33 spid22s Starting up database 'EVVSGVIE_2_2'.
2009-11-06 09:49:54.33 spid24s Starting up database 'EVVSJournalVaultStore_3'.
2009-11-06 09:49:54.33 spid19s Starting up database 'EVVSVIEIT_1'.
2009-11-06 09:49:54.33 spid21s Starting up database 'ReportServerTempDB'.
2009-11-06 09:49:54.33 spid20s Starting up database 'ReportServer'.
2009-11-06 09:49:54.33 spid18s Starting up database 'EVVSGVIEIT_1_1'.
2009-11-06 09:49:54.56 spid9s Clearing tempdb database.
2009-11-06 09:49:54.61 spid19s CHECKDB for database 'EVVSVIEIT_1' finished without errors on 2009-10-28 18:06:14.107 (local time). This is an informational message only; no user action is required.
2009-11-06 09:49:54.65 spid23s CHECKDB for database 'EVVSExchangeVaultStore_2' finished without errors on 2009-11-04 18:05:33.960 (local time). This is an informational message only; no user action is required.
2009-11-06 09:49:54.71 spid24s CHECKDB for database 'EVVSJournalVaultStore_3' finished without errors on 2009-11-04 18:05:51.793 (local time). This is an informational message only; no user action is required.
2009-11-06 09:49:54.75 spid16s CHECKDB for database 'EnterpriseVaultDirectory' finished without errors on 2009-11-04 18:06:38.103 (local time). This is an informational message only; no user action is required.
2009-11-06 09:49:54.83 spid17s CHECKDB for database 'EnterpriseVaultMonitoring' finished without errors on 2009-11-04 18:06:18.570 (local time). This is an informational message only; no user action is required.
2009-11-06 09:49:54.99 spid4s Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.
2009-11-06 09:49:55.55 spid9s Starting up database 'tempdb'.
2009-11-06 09:49:55.68 spid4s Recovery is complete. This is an informational message only. No user action is required.
2009-11-06 09:49:55.68 spid12s The Service Broker protocol transport is disabled or not configured.
2009-11-06 09:49:55.68 spid12s The Database Mirroring protocol transport is disabled or not configured.
2009-11-06 09:49:55.72 spid12s Service Broker manager has started.
Only the SQL Server Agent is unable to start,
Eventlog:
Log Name: Application
Source: SQLSERVERAGENT
Date: 06.11.2009 10:09:52
Event ID: 103
Task Category: Service Control
Level: Error
Keywords: Classic
User: N/A
Computer: vie-eu-arc-02.global.domain
Description:
SQLServerAgent could not be started (reason: Unable to connect to server '(local)'; SQLServerAgent cannot start).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="SQLSERVERAGENT" />
<EventID Qualifiers="16384">103</EventID>
<Level>2</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-11-06T09:09:52.000Z" />
<EventRecordID>8486</EventRecordID>
<Channel>Application</Channel>
<Computer>vie-eu-arc-02.global.domain</Computer>
<Security />
</System>
<EventData>
<Data>Unable to connect to server '(local)'; SQLServerAgent cannot start</Data>
</EventData>
</Event>
SQLAgent.out Logfile:
2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Shared Memory Provider: No process is on the other end of the pipe. [SQLSTATE 08001]
2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Client unable to establish connection [SQLSTATE 08001]
2009-11-06 10:09:52 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Shared Memory Provider: No process is on the other end of the pipe. [SQLSTATE 08001]
2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Client unable to establish connection [SQLSTATE 08001]
2009-11-06 10:09:52 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
2009-11-06 10:09:53 - ? [098] SQLServerAgent terminated (normally)
Additional the SQL Server Management Studio is unable to logon to the Server:
TITLE: Connect to Server
Cannot connect to vie-eu-arc-02.
ADDITIONAL INFORMATION:
A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476
The local Admin Password was reset to the "original" (after install) one.
Any ideas how to fix the problem?Dear all,
the encryption was NO on all protocols.
Because no additional ideas available, i uninstalled the SQL Server on friday.
At the Re-Install Process i got again an error:
[Microsoft][SQL Native Client]Shared Memory Provider: No process is on the
other end of the pipe .
The install process failed.
On google i found the same problem in an other thread:
http://groups.google.com/group/microsoft.public.sqlserver.connect/browse_thread/thread/dbec4a9a271f69a6/7cd22694da3a6062?lnk=st&q=%22Shared+Memory+Provider%3A+No+process+is+on+the+other+end+of+the+pipe%22&rnum=2&hl=en#7cd22694da3a6062
++++++
During the installation process of SQL Server 2005, Setup complains it cannot
connect to the database service for server configuration. The error was:
[Microsoft][SQL Native Client]Shared Memory Provider: No process is on the
other end of the pipe .
I have checked that the pipe exists (\\.\pipe\SQLLocal\MyInstance), but
everytime the installer attempts the connecting the pipe is closed by the
server and another is reopened. That's why the Client says there is no
process on the other end of the pipe.
I have re-installed 'everything', tried connections via TCP, but nothing
works.
I have made a small application to connect to the pipe and noticed that
there are 3 instances of the pipe running, one that I am connecting to, and 2
listening pipes. If I write to 'my' pipe SQL server disconnects the pipe and
reopens another too. The difference is that SQL server writes an error
message in the log file. No such luck when the Native client is doing the
same.
What more can I do?
++++++
and an answer
++++++
I finaly found the problem to be the certificate used.
I noticed that a certificate was added to the machinekeys just recently.
(in C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys)
I renamed it to another name and re-installed sql server.
I noticed that sql server ERRORLOG complained about certificate that it
couldn't load and the generation of a self-generaed certificate (see below)
"2005-12-10 21:01:02.30 Server The server could not load the
certificate it needs to initiate an SSL connection. It returned the following
error: 0x8009030d. Check certificates to make sure they are valid.
2005-12-10 21:01:02.49 Server A self-generated certificate was
successfully loaded for encryption."
Now the installation succeeded
++++++
With Windows 2008 it was really a challange to get access to this folder (!!!)
After clearing the folder the ReInstall of SQL Server works fine.
Now the SQL Server & the SQL Server Agent works again.
The problem was anything with encryption, old certs & files.
I don't think that everyone can afford reinstalling SQL server.
I finaly found the problem to be the certificate used.
I noticed that a certificate was added to the machinekeys just recently.
(in C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys)
I think this is what the following blog was saying , a problem with certification
http://blogs.msdn.com/sql_protocols/archive/2006/07/26/678596.aspx
Cheers
Please mark as answer if you think this answers your questions -
I have created a Linked Server to Access Database of 64 MB in Size located in Remote System to SQL Server 2012.In Start for Some time it works fine and after it is giving the Error
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST" returned message "Cannot open a database created with a previous version of your application.".
Msg 7303, Level 16, State 1, Procedure Insert_Records_Into_Actual_Calls_History, Line 29
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST".
Previously I thought it as Permission Issue. By trying some fixes proposed in forums it not fixed. But, after restarting the SQL Server Services without changes to the linked Server it works perfectly. How could i fix it. I don't want restart the SQL Server
Service it leads to Some other process failures.
RehaanKhan. MAfter all the Errors, When I am restarting the SQL Server its working correctly.
Whats the problem it is clearing itself after restarting of SQL Server. Why ?. I can't find anything regarding this in SQL Server .
The following are the Errors i got connecting to SQl Server.
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST" returned message "Cannot open a database created with a previous version of your application.".
Msg 7303, Level 16, State 1, Procedure Insert_Records_Into_Actual_Calls_History, Line 29
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST".
Error-2:
Executed as user: RMS\Administrator. Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST". [SQLSTATE 42000] (Error 7303) OLE DB provider
"Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST" returned message "Cannot open a database created with a previous version of your application.". [SQLSTATE 01000] (Error 7412). The step failed.
After unchecking the Allow In Process in OLEDB.ACE Provider Properties.
Msg 7399, Level 16, State 1, Procedure Insert_Records_Into_Actual_Calls_History, Line 29
The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST" reported an error. Access denied.
Msg 7301, Level 16, State 2, Procedure Insert_Records_Into_Actual_Calls_History, Line 29
Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LANDLINE_TEST".
for to fix above error i have followed the instructions in the following link,
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/08/19/permissions-needed-to-set-up-linked-server-with-out-of-process-provider.aspx
This also failed to work. I Restarted SQL Server and make the Linked Server Properties Default to my Configuration and it works fine.
Can you suggest me a solution for this issue. Every time i don't want to restart SQL Server Services as it effects other jobs and Processes.
Thank you.
RehaanKhan. M -
Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver
I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
SQLSTATE: NA000
Native Error Code:0
Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
Does anyone have any fixes, recomendations, or advice?
Thank you,
Eric Edwards
nullWhy are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
name.domain.subdomain
then you should try using this full name when configuring the ODBC data source.
null -
Unable to start SQL Agent SQL Server 2008 R2 RTM OS: Windows 2008 R2
Agent Log
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Registry information is corrupt or missing. Make sure the provider installed and registered correctly. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Client unable to establish connection [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [165] ODBC Error: 0, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to
allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Registry information is corrupt or missing. Make sure the provider installed and registered correctly. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Client unable to establish connection [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [165] ODBC Error: 0, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to
allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
2012-04-17 22:17:22 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
2012-04-17 22:17:23 - ? [098] SQLServerAgent terminated (normally)
EventLog:
SQLServerAgent could not be started (reason: Unable to connect to server '<ServerNAme>'; SQLServerAgent cannot start).
TITLE: Microsoft SQL Server Management Studio
Unable to start service SQLSERVERAGENT on server <Server Name>. (mscorlib)
ADDITIONAL INFORMATION:
The SQLSERVERAGENT service on <Server Name> started and then stopped. (ObjectExplorer)
BUTTONS:
OK
Uninstalled couple of times and Reinstall still getting the same Error and also tried below workarounds:
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO
[HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\SQLServerAgent] PATH is Correct
Can you please share with you if have any fix for this issue.
Note: Services are running under service account [Domain Account] and also has SA privilage.
Thanks
Nag
Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful ::Hi Nagpal,
Just thinking if you can try to Reparing the Native Client setup and see if it works.
Also if SQL Server Agent account is a domain account (and not as of SQL Server Engine) then try to check if it has below permissions (via Local Policies of the server) also does it has Local Machine Admin permission:
Act as part of the operating system
Adjust memory quotas for a process
Bypass traverse checking
Log on as a batch job
Log on as a service
Replace a process level token
Regards Gursethi Blog: http://gursethi.blogspot.com/ ++++ Please mark "Propose As Answer" if my answer helped ++++ -
Application unable to connect to databse after some time
The problem we are facing is that after some time the application seems to be unable to connect to the database. The only way we have been able to clear the issue is by re starting the application servers. Below is the information I see in my logs any help would be appreciated, thanks
####<Sep 6, 2007 12:08:24 PM CDT> <Info> <JDBC> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defaul
t'> <<anonymous>> <> <BEA-001068> <Connection for pool "SMARTPool" created.>
####<Sep 6, 2007 12:08:24 PM CDT> <Info> <JDBC> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defaul
t'> <<anonymous>> <> <BEA-001132> <Initialized statement cache of size "10" for connection in pool "SMARTPool".>
####<Sep 6, 2007 12:08:24 PM CDT> <Info> <Common> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defa
ult'> <<anonymous>> <> <BEA-000628> <Created "1" resources for pool "SMARTPool", out of which "1" are available and "0" are unavaila
ble.>
####<Sep 6, 2007 12:08:26 PM CDT> <Info> <JDBC> <plss1433> <SMART-1433-7025> <Thread-7> <<WLS Kernel>> <> <BEA-001128> <Connection f
or pool "SMARTPool" closed.>
####<Sep 6, 2007 12:16:41 PM CDT> <Error> <JDBC> <plss1433> <SMART-1433-7025> <ExecuteThread: '23' for queue: 'weblogic.kernel.Defau
lt'> <<anonymous>> <> <BEA-001131> <Received an exception when closing a cached statement for the pool "SMARTPool": java.sql.SQLExce
ption: Io exception: Broken pipe.>
####<Sep 6, 2007 12:17:14 PM CDT> <Error> <HTTP> <plss1433> <SMART-1433-7025> <ExecuteThread: '22' for queue: 'weblogic.kernel.Defau
lt'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=23265185,name=Smart,context-path=/Smart)] Servlet failed with Exception
java.lang.NullPointerException
at com.spcs.web.smart.dao.MSOBillFileDAO.fetchFileList(MSOBillFileDAO.java:35)
at jsp_servlet._jsp._ma._bfm.__releasearchive._jspService(__releasearchive.java:461)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
I also see this in jdbc.log
SQLException: SQLState(null) vendor code(17002)
java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2529)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
at com.spcs.web.smart.util.SmartDAO.authenticate(SmartDAO.java:381)
at com.spcs.web.smart.servlets.LoginServlet.doPost(LoginServlet.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)The following fixed this:
http://technet.microsoft.com/en-gb/library/bb932151.aspx
For some reason "sms admins" was no longer even showing in permissions, added it and gave it appropriate permissions (as per article above), including subfolders. After that worked perfectly.
Does anyone have any ideas why a reboot would cause permissions to be lost? -
I am unable to connect wifi on my phone 4s since last 2 weeks... I am living in shanghai and did not have this issue since 2 weeks... iPad works fine... Please suggest some measures... Tried the on off reset settings etc. but no luck ...
In fact after updating the software to the latest version I am having more of this... Sometimes the wifi button freezes an I can't even slide it to on / off...
ThanksNoooo! Actually I too had d same prob wit my iPhone 4S. When I connect to my wifi network it won't get connected or it wil be grey scaled! I took it to d istore and since I had warranty they replaced my IPhone. It iPad charger has high volt than ur iPhone charger so when u connect wit it, there is a chance where large amount of current passes thru ur iPhone. So for sure it wil damage ur motherboard and its parts! Many said that iOS 6 or 6.0.1 or 6.1 was d reason for tis wifi prob! But apple never made its mistake wit it's software. If and only if u hav hardware prob u wil hav these sort of wifi prob Bluetooth prob! So best way s to replace ur iPhone!
-
Published pdf form is unable to connect with database
Hi Guys!
I have created a PDF form using Adobe Live Cycle Designer which have some text fields namely RECORD and NAME. I have connected this form with a Database. When I enter a record in the RECORD number field the NAME field of this form has been populated with the help of XFA Script which is written on the exit event of the RECORD text field. When we publish this form, a new interactive PDF is created which works fine and populates the NAME field from the an SQL database but when I access this PDF form (which is located on a shared location) from some another location (not on the same machine where i designed this form) it is unable to connect to the database and does not work as expected.
I think there is some thing i am missing for the database connectivity.
If any body on this forum can help me out.
thanks
Here is the Script for the above form which i used to populate the NAME FIELD on the basis of enetered RECORD number.
----- Document.Page1.txt_MRN::exit: - (JavaScript, client) -----------------------------------------
/* This dropdown list object will populate two columns with data from a data connection.
sDataConnectionName - name of the data connection to get the data from. Note the data connection will appear in the Data View.
sColHiddenValue - this is the hidden value column of the dropdown. Specify the table column name used for populating.
sColDisplayText - this is the display text column of the dropdown. Specify the table column name used for populating.
These variables must be assigned for this script to run correctly. Replace <value> with the correct value.
var sDataConnectionName = "DataSource"; // example - var sDataConnectionName = "MyDataConnection";
var sColHiddenValue = "RecordNum"; // example - var sColHiddenValue = "MyIndexValue";
var sColDisplayText = "Name"; // example - var sColDisplayText = "MyDescription"
// Search for sourceSet node which matchs the DataConnection name
var nIndex = 0;
while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
nIndex++;
//var oDB = xfa.sourceSet.nodes.item(nIndex);
var oDB = xfa.sourceSet.nodes.item(nIndex).clone(1);
oDB.open();
oDB.first();
// Search node with the class name "command"
var nDBIndex = 0;
while(oDB.nodes.item(nDBIndex).className != "command")
nDBIndex++;
// Backup the original settings before assigning BOF and EOF to stay
var sBOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
var sEOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF", "bofAction");
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF", "eofAction");
// Clear the list
this.clearItems();
// Search for the record node with the matching Data Connection name
nIndex = 0;
while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
nIndex++;
var oRecord = xfa.record.nodes.item(nIndex);
// Find the value node
var oValueNode = null;
var oTextNode = null;
var sRecordNum = $.rawValue;
for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
oValueNode = oRecord.nodes.item(nColIndex);
else if(oRecord.nodes.item(nColIndex).name == sColDisplayText)
oTextNode = oRecord.nodes.item(nColIndex);
var found= 0;
while(!oDB.isEOF())
if (oValueNode.value== sRecordNum)
txt_FirstName.rawValue = oTextNode.value;
txt_LastName.rawValue = oTextNode.value;
found = 1;
break;
//this.addItem(oTextNode.value, oValueNode.value);
oDB.next();
if (found == 0)
txt_FirstName.rawValue = "";
txt_LastName.rawValue = "";
// Restore the original settings
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup, "bofAction");
oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup, "eofAction");
// Close connection
oDB.close();Finally achived the database connectivity for the published pdf form developed in the Adobe LiveCycle Designer 8.0.
There must be the same driver version of the DSN on both machines. The machine which published the form and the one accessing it.
Use the Admin account to add the DSN on both machines.
Get rid of the error: Connection for Source "DataConnectionName" failed because the environment is not trusted.
Thanks
AbdulHafeez
Maybe you are looking for
-
I used to have really good 3G connection in my area but ever since I updated to 6.1.3 from .2 I've struggled to get any 3G at all I've spoke to O2 about the problem and they are having no reports of any issues any ideas
-
Upload of Contracts and Pricing agreements from CRM to R/3 ?
Hi As per SAP we cannot upload contracts from CRM to R/3. However, has anyone uploaded contracts to R/3. If yes, can you please reply with the steps involved ? Your help is highly appreciated. Sandy
-
How to execute batch files in java
Hi, I am trying to execute a batch file using a java program(StopServer in sdm).But i am not able to execute it.
-
How do I configure to use X windows apps like "ssh -X" or Tk?
I am trying to configure my machine as an X windows server so that I can use X programs remotely via "ssh -X" or run local Python scripts that use Tk. I'm currently unable to do this an am not sure what I'm doing wrong. I have set my DISPLAY=".0". If
-
Search - is it possible to include "flagged" as a criteria?
I read in the online help for Mail.app that you can do boolean searches like: apples and from:frank I can get that to work but I would like to do a query like this: oranges and from:frank and status:flagged to find only messages that I have flagged (