SQL 2005 datasource error--LoginModules
ColdFusionMX7 & SQL server 2005 running on T60p IBM
Thinkpad under Windows XP sp2....after ensuring sql confiq allows
TCP/IP and mixed auth chosen...Unable to create datasource in Admin
to SQL 2005 database, returning error: "No LoginModules configured
for JDBC_Driver_1"
I didn't see anything in either the forums or knowledgebase
about this. Any ideas?
charlie cousins out of NE Washington, where the skies are
finally blue
The TCP/IP is enabled and the server is set for mixed mode
auth. I believe this particular issue is java-related, since
LoginModule appears to be a function or method. And it may be
related to the arcane security built into my rig by IBM (embedded
security chip and all that). I've tried installing the sqljdbc.jar
driver from MS--but no luck with that, either.
One reply to Ben Forta's post in January did reference the
same problem, but I didn't see any followup on that.
I have no problem building ODBC or connecting to various SQL
2005 db's out of various parts of VS2005, but then I'm not using
TCP as the approach there or a java-based product as the connection
point.
Similar Messages
-
Hi Folks-
It has been a while and I hope this finds you all doing well.
I am working oin a customer application and we are experiencing intermitment MS SQL 2005 insert errors. We have isolated the cause as the use of the special character, the apostrophe (i.e. " " ") in a material/item description. The underlying MES application can accept the apostrophe along with the SAP MM back-end, but not MII, The MII version is 12.0.6 Build 14. The application also uses the Java Plug-in version 1.6.0_07, which is also the Java Runtime version. I am not sure of the SQL jdbc being used but was hoping that perhaps there was a version that could "handle" this special character issue or if there was a non-programmatic way to address this. At this point we are anxious about changing Master Data.
Any insights or suggestions would be appreciated. Thanks in advance and I look forward to your responses.
Kevin Fitzgerald
Invensys Operation ManagementHi Kedar-
This is great information and I thank you for your insights. I do have what I hope are 2 brief follow-on questions:
1. Does the single quote/apostrophe represent a general escape character that can be used in all cases? Are there others (i.e. \n, etc.)
2. Your special characters cited above do not include the asterik, *. My customer has also decided to use this special character in a new product description (go figure!!). Can this be "escaped out" via the same means?
I have been able to successfully use the java function stringreplace to alter the text as you suggest- even for a local and I hope transaction variable. Any additional comments per my questions above would certainly advance the cause.
Thanks again and I look forward to your comments. Take care and be safe.
Kevin -
Post Author: dmccahanpppa
CA Forum: General
We are migrating from JD Edwards on AS400 to Microsoft Dynamics GP on SQL 2005. I can create and refresh reports without problem using sa as the login account in Crystal. When I use any of the users created in Dynamics GP (as they have to for users to access GP) I get a login error from the SQL server. This is using the same ODBC connection and I have taken some of the users and elevated there permission on the GP database and/or overall sql server to even dbo and sysadmin and still cannot get any login other than sa to work. Any sql GURUs out there that can tell me what I'm missing?
ThanksPost Author: dmccahanpppa
CA Forum: General
I have tried creating ODBC connections (and also found a business objects article on OLE DB and tried that) with SQL Authentication and also with windows. I have made sure my users have usernames in GP that are all lower case name and password. The only thing that is getting me close is to use windows authentication on the odbc connection, set the odbc connection to a specific sql database, and give the users windows read permissions to that database. As a domain admin this gives complete access. With the users the login error goes away but I only see stored procedures and not the tables or views. I'm trying to find the minimum access to give the users in windows to allow windows authentication to work.
What I don't understand is why this should be so difficult to find the correct answer on. I have the same issue on a very plain install (everything on the server, sql, gp, and crystal) with just microsoft's test company and data as I do the production system (gp and sql on one server and citrix client and crystal on another). I setup the test server (a couple of times blew the whole thing away and rebuilt following gp procedures) and consultants built the production environment. You would think Microsoft (since they blow their marketing horn about how Crystal Reports works with GP) or Business Objects would have the user and odbc setup for this documented.
Ok...so I'm a bit delusional.... -
Sender CC for MS SQL 2005 Driver error invalid object name
Hello people,
can some one help me with the following problem?
I'm trying to implement a JDBC to IDoc XI/PI scenario with PI 7.1.
In RWB CC monitor i'm getting the following error : "Database-level error reported by JDBC driver while executing statement 'SELECT * FROM SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_SALES_TRANS_PAYMENTS'.'. For details, contact your database server vendor".
Communication channel configuration:
JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection: jdbc:sqlserver://<IP>:1433;databaseName=<DB Name>
Query SQL Statement is : "SELECT * FROM SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0'"
Update SQL Statement: "UPDATE SAP_SALES_TRANS_PAYMENTS SET TRANSFERRED_FLAG='1' WHERE TRANSFERRED_FLAG='0'"
The name of the database is 'SAP_SALES_TRANS_PAYMENTS', is checked. Are the table name and/or table fields names key sensitive?
The MT definition is identical with the data base table.
Thanks StefanosHello,
this issue is solved now.
The problem was in the name of the database table. The Database was created for more then one
company codes (by an other partner company ) and the full/right name in the query is
SELECT * FROM dbo.<company_code>$SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0'
Best regards
Stefanos -
SQL 2005 and Weblogic : JDBC configuration error
All.
What files do I need to modify with classpath, to use SQL 2005 drive. Is this the only I need to modify with classpath: startWebLogic.sh or do I need to modify other files?
Thanks for you help.
I am getting following error :
<Oct 29, 2008 10:34:37 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Oct 29, 2008 10:34:37 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Oct 29, 2008 10:45:02 AM EDT> <Error> <Console> <BEA-240003> <Console encountered the following error java.lang.ClassNotFoundException: Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:500)
at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java
Thank you
SayefIn old release, you should update CLASSPATH variable in setWLSEnv.sh or setWLSEnv.cmd.
In 9.x or 10.x, you should update setDomainEnv.sh or setDomainEnv.cmd.
Simon -
Error in Connecting to MS SQL 2005 via JDBC Driver
Here's the setup
CF MX7 resides on a centOS wid Apache 2.0 webserver box.
I need to established a datasource connection between the
Coldfusion server and a MSSQL 2005 Express+SP1 database sitting on
a remote XP wid SP2 setup.
I've also downloaded and installed on the /lib folder of the
CFMX7 server the corresponding JDBC drivers (versions 1.1 and 1.0)
for the MS SQL server.
The thing is, this problem always occurs:
Connection verification failed for data source:
datasourcename
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC]Error establishing socket.
The root cause was that: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing
socket.
The datasource connection info is as follows:
CF Datasource Name: datasourcename_JDBCdriver
JDBC URL:
jdbc:microsoft:sqlserver://192.168.0.47:1433;DatabaseName=nameofdatabase
Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver Name: mssql2005
Username: sa
Password: userdefinedpassword
I've already tried these settings:
* Enabled mix mode of authentication under the SQL server
* Affix a /MSSQLSERVER instance name on the jdbc url setting
"jdbc:microsoft:sqlserver://192.168.0.47\MSSQLSERVER:1433;DatabaseName=nameofdatabase"
but a different error had occured:
The root cause was that: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]The requested instance
is either invalid or not running.
so i remove it since its only an optional setting
* Configured the SQL 2005 Express, under the SQL Server
Configuration Manager, to listen to protocol TCP/IP under port 1433
(this is the ONLY ENABLE protocol)
I've checked using Telnet and netstat and the SQL service is
normally listening to the said port.
* Disabled windows firewall under XP (came with SP2)
and even tried using other JDBC drivers such as:
* macromedia drivers
* jtds driver
but to no avail.
Is the problem still within the MS SQL 2005 Express wid
XP+SP2 box or a connecting issue on the Cf server under the
centOS/Apache machine?
A little help would do wonders just about now.I had the same problem, but do not have express version. In
the configuration manger, I viewed the properties of the enabled
tcp/ip protocol. On the IP addresses tab, I found that though the
IPs were enabled, the drop down beside active was no. I changed all
to yes, applied it and restarted my instance. Then in the cf
datasource I left the port blank and everything worked. -
Cant get CFADmin to verify datasource w/ SQL 2005
OK I've been beating my head against the wall for a week
trying to figure out why could fusion wont recoginze my datasource.
I'm running vista, sql 2005 express and cf 8 devleopers
edition.
Heres the error:
* Connection verification failed for data source: TestDB
An exception occurred when executing method verifydatasource.
The cause of this exception was that:
coldfusion.sql.Executive$ConnectionVerificationFailedException:
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver][Macromedia][SQLServer JDBC Driver]The requested instance is
either invalid or not running..
SQLCritUpdPkg_ENU
What does this mean?...
Here's what I tried so far to resolve this:
1. enabled tcp/ip in sql config manager, verfied that it's
using port 1433 in IPALL
2. telnet 127.0.0.1 1433 - that works ok
3. dowloaded SQLCritUpdPkg_ENU.exe and installed it - I read
on a fourm somewhere that this disabled some ports due to a worm..
but i dont think that was the problem anyway since i ping'd 1433
and it was ok
4. And yes I've logged in directly to SQL server using the
u/p..
and I've changed the security settings in SQL to use both sql
server and windows authenticaion
Any help from anyone would be awesome..
PS: I've also gotten this same error when I had CFMX 7
installed...Interesting. I was extremely clear. Short & concise w/ minimal irritation as compared to how I feel.
My subject tells what's going on. The commentary states how I got there. Pretty straight forward.
Maybe if you do not understand the question, you shouldn't reply? -
SAP IDES ECC5.0 (SQL 2005 Database) installation Error at Database instan.
At the time IDES ECC 5.0 installation (SQL 2005 database), I was copy all DVD on Hard drive and start setup then at installation of database instance, following Errors are occured. so I cant continue with the installation, if anyone have installation guide/or solve the following error please mail me at [email protected]
from Log file SAPCLUST
Interface access functions from dynamic library dbmssslib.dll loaded.myCluster
(3.5.Imp): 613: error when retrieving table description for physical table AABLG.
myCluster (3.5.Imp): 614: return code received from nametab is 32
myCluster (3.5.Imp): 296: error when retrieving physical nametab for table AABLG.
(CNV) ERROR: code page conversion failed
rc = 2
from sappool.log
Interface access functions from dynamic library dbmssslib.dll loaded.failed to read short nametab of table ARCH_NUM (rc=32)conversion failed for row 0 of table VARKEY = ⁘
(CNV) ERROR: code page conversion failed
So please send me solution/ or any configuration need for SQL 2005 / installation guide thanksThis may be hard disk problem, some file not able to write on HDD.
Regards
Rajnish -
SQL 2005 SAP R/3 4.6C - DBSL error RC=99 on import of Basis 4.6C SP 39
Hi,
I have just built a R/3 4.6C system on SQL 2005 with 4.6D_EXT kernel. The build was done using R3load to export from the 4.6C/SQL 2000/32bit system and import to 4.6C/SQL 2005/64bit system. The source 4.6C system only had Basis support package 37 applied, and I am trying to apply Basis 4.6C 38-57 on the 4.6C/SQL 2005/64bit system (in preparation for an ECC6 upgrade) and I get the following error:
EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
[developertra,00000] ExecuteAndFlush return code: 0x80040e10 Stmt: [CREATE PROCEDURE ##Y8IBASAPDEIBD00000025600000000006164133 @P
99972 0.099972
[developertra,00000] MapHr:80040E10 DB_E_PARAMNOTOPTIONAL 43 0.100015
[developertra,00000] HandleOledbError [ExecuteAndFlush,line 33423]: Error/Message: (err 0, sev 0), No value given for one or more
96 0.100111
[developertra,00000] DbSlPrepare - Error 99 (dbcode -2147217904) on proc. creation
56 0.100167
[developertra,00000] DbSlPrepare - <CREATE PROCEDURE ##Y8IBASAPDEIBD00000025600000000006164133 @P000 varchar(3072) = ' ', @P001 v
105 0.100272
[developertra,00000] 1 times error (0,0) in sequence 30 0.100302
[developertra,00000] dbdsmss: DBSL99 SQL0 27 0.100329
[developertra,00000] No value given for one or more required parameters.
62 0.100391
[dbds ,00589] ***LOG BY2=>sql error 0 performing FET
66 0.100457
[dbds ,00589] ***LOG BY0=>No value given for one or more required parameters.
I have checked the collation setting in SQL 2005 and it is:
select serverproperty('collation')
SQL_Latin1_General_CP850_BIN2
There are 97000 odd entries in DOKIL, so I don't think that is the problem.
Would appreciate any assistance.
Kind regards,
Sheryl.Hi ,
Instead of doing the build with export import, you can try to do the same with backup restore,,
But remember your sql2000 should be on bin2... then you can take backup and restore.
Since it is from 2000 to 2005 the restore would happen and it will work fine.
Try this and check out, since the error you have pasted is not clearly giving any picture...
Regards,
Ravi. -
Hi team,
I got below error message in SQL Server 2005 reporting service.
''The report server is not responding. Verify that report server is running and can be accessed from this computer'
also in reports, i am getting below error:
"The encrypted value for the "LogonCred" configuration setting cannot be decrypted. (rsFailedToDecryptConfigInformation)
Get Online Help
The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError)
Get Online Help "
Please find below log:
<Header>
<Product>Microsoft SQL Server Reporting Services Version 9.00.4060.00</Product>
<Locale>en-US</Locale>
<TimeZone>Eastern Daylight Time</TimeZone>
<Path>F:\Program Files\Microsoft SQL Server\MSSQL.6\Reporting Services\LogFiles\ReportServer__07_28_2014_09_08_41.log</Path>
<SystemName>MFLDDDBS04</SystemName>
<OSName>Microsoft Windows NT 5.2.3790 Service Pack 2</OSName>
<OSVersion>5.2.3790.131072</OSVersion>
</Header>
w3wp!webserver!1!7/28/2014-09:08:41:: i INFO: Reporting Web Server started
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing ConnectionType to '1' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:41:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing ProcessRecycleOptions to '0' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' as specified in Configuration
file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
w3wp!library!1!7/28/2014-09:08:42:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
w3wp!resourceutilities!1!7/28/2014-09:08:42:: i INFO: Reporting Services starting SKU: Enterprise
w3wp!resourceutilities!1!7/28/2014-09:08:42:: i INFO: Evaluation copy: 0 days left
w3wp!library!1!7/28/2014-09:08:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information., CryptUnprotectData:
Win32 error:13;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
w3wp!library!1!7/28/2014-09:08:42:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.FailedToDecryptConfigInformationException: The encrypted value for the "LogonCred" configuration setting cannot be decrypted., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.FailedToDecryptConfigInformationException: The encrypted value for the "LogonCred" configuration setting cannot be decrypted. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. See the report server log files for more information.
at Microsoft.ReportingServices.Diagnostics.DataProtectionLocal.UnprotectData(Byte[] data, Int32 dwFlags, Boolean transitoryData)
at Microsoft.ReportingServices.Diagnostics.DataProtectionLocal.LocalUnprotectData(String data, Boolean transitoryData)
at Microsoft.ReportingServices.Diagnostics.RSConfiguration.DecryptCatalogData(String encryptedData, String element)
--- End of inner exception stack trace ---Hi Vivek,
In Reporting Services, values for LogonUser, LogonDomain, and LogonCred are created when the report server connection is configured to use a domain account. As to the error that “The encrypted value for the "LogonCred" configuration setting cannot be decrypted”,
we can know that it relates to the domain account for report server connection.
To fix this issue, we can refer to the following steps:
Log in to SQL Server Database Engine in SQL Server Management Studio.
Under Security folder, give sufficient permissions for your domain account.
Open your Reporting Services Configuration (go to Start -> All Programs -> Microsoft SQL Server 2005 -> Configuration Tools -> Reporting Services Configuration)
Navigate to the Database Setup tab, select ‘Service Credentials’ as the Credentials Type, then type your domain account and password in there. Press Apply.
Restart the Report Server services.
Reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2d05b404-83aa-4fb2-bba6-52b587e890ec/sql-2005-rs-configuration-tool-encryption-key-error
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Connecting to SQL 2005 from Oracle error
I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice.
I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works great. But each time I run the following query I get error:
SQL> select count(*) from BALANCES_HS@tse_archive;
select count(*) from BALANCES_HS@tse_archive
ERROR at line 1:
ORA-12154: TNS:could not resolve the connect identifier specified
Any suggestion and help will be greatly appreciated.
Edited by: azaza on Jan 28, 2010 6:32 AMHi,
Thanks for the files.
There are some problems with the configuration.
listener.ora -
LISTENERTSE_ARCHIVE =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=TSE_ARCHIVE)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
(PROGRAM=hsodbc)
(SID_DESC=
(SID_NAME=tpisdb06)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
This should be -
LISTENERTSE_ARCHIVE =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENERTSE_ARCHIVE =
(SID_LIST=
(SID_DESC=
(SID_NAME=TSE_ARCHIVE)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
(PROGRAM=dg4odbc)
(SID_DESC=
(SID_NAME=tpisdb06)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
The SID_LIST_LISTENER needs to match the actual listener name and the program for 11g DG4ODBC is called dg4odbc and not hsodbc.
tnsnames.ora -
TSE_ARCHIVE =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSE_ARCHIVE)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = TSE_ARCHIVE)
(HS=OK)
The HOST name - TSE_ARCHIVE does not match the HOST in the listener, so it should be -
TSE_ARCHIVE =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = TSE_ARCHIVE)
(HS=OK)
I've changed the actual name to xxxxx so replace that with the name in the original file.
Change the files, stop and start the listener then try again.
If you still have an ora-12154 error then send the output from the following SQL -
select db_link, host from user_db_links; <=== as the user getting the error
and
select db_link, host from dba_db_links; <===== as a DBA user
Regards,
Mike -
ODI 10.1.3.4.0 - Topology Manager Connection Error using SQL 2005 SP3
Hello All,
I am using the ODI repository in SQL 2005 SP3. I could create my master repository using the following parameters:
driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
URL:jdbc:microsoft:sqlserver://server_name:1433;SelectMethod=direct;DataBaseName=ODI
I needed to copy to the drivers directory all files of SQL 2000 (msutil.jar, msbase.jar,mssqlserver.jar) and SQL 2005 (sqljdbc.jar). I am using the JRE 1.4.2 and JDBC 2005 1.2 (http://msdn.microsoft.com/en-us/library/ms378422(SQL.90).aspx)
But when I try to connect in Topology Manager to create the work repository appears the following error:
using this driver string: com.microsoft.jdbc.sqlserver.SQLServerDriver
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC] Can't start a cloned connection while in manual transaction mode.
using this driver string: com.microsoft.sqlserver.jdbc.SQLServerDriver
java.sql.SQLException: No suitable driver
Does Somebody know what is happening?
Regards,
Wallace Galvao
Sao Paulo - BrazilHi,
If you plan on using the SQL Server 2005 drivers then you only need the 1.2 sqljdbc.jar file in the drivers directory.
The connection details for SQL Server 2005 should be like the following.
com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc:sqlserver://<sqls machine>:1433;databaseName=<db name>;integratedSecurity=false
I would try just with just the correct driver in place, remove the others, restart any ODI components and then make sure the connection information is correct like above.
Cheers
John
http://john-goodwin.blogspot.com/ -
Metric collection Error MS SQL 2005 Backup
Hi ,
become on all "german !!! ' ms sql 2005 Server a collection error for the backup. I have install the newest ms sql plug-in .I have Grid Control 10.2.0.5
the german error Message is :
WARN collector: <nmecmc.c> Error exit. Error message: Error Querying:Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs.
com.microsoft.sqlserver.jdbc.SQLServerException: Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
at oracle.sysman.mpi.jdbc.microsoft_sqlserver_database.SQLServerJDBCQuery.executeQuery(SQLServerJDBCQuery.java:263)
at oracle.sysman.mpi.jdbc.microsoft_sqlserver_database.SQLServerJDBCQuery.main(SQLServerJDBCQuery.java:1152)
this mean that he have problems to convert char to datetime . But why ?
On my English Server i habe no Problems with this collection.
And NO , i can't only install English MS SQL Server . This is a Company Policy .
Where the error of the collection ?
Thxand one more:
Cant find the key : SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Replication\\IsInstalled D:\OracleHomes\agent10g/sysman/admin/scripts/emx/microsoft_sqlserver_database\execmethod_32bit is_remote_login=0 namespace=root\default class=StdRegProv "sSubKeyName=SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Replication" sValueName=IsInstalled method=GetDWORDValue noprint=0 em_result=0 SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Replication IsInstalled -
Hi Guys,
When i am installing SQL 2005 SP4 in windows 2008r2 cluster i get following error message "your account information could not be verified. Press OK to return to Authentication Mode screen to determine reason for failure.For setup to verify your
credentials the services must be startable,connectable,and you must be a SQL Server Administrator"
I am a local admin on both the box,sql service account is also a domain a/c and has admin privileges also i have added my account as well as sql service account as sysadmin in sql server instance.I had installed SQL 2005 earlier using same accounts with
no issue.
Can anyone point out why the error.It doesn't make sense to me.
Regards,
VivHello,
Could you try installing the service pack on the passive node using the /passive switch? For example:
SQLServer2005SP4-KB955706-x86-ENU.exe /passive
If the above is successful, failover and do the same on the other node.
Are you logged in as a Windows account that has the sysadmin role on SQL Server?
Could you verify the authentication information provided to SQL Server setup is correct?
I have not installed a SQL Server 2005 in more than 5 years, I am sorry if I suggest things that not make sense to you.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Report error after update to SQL 2005
We revently updated our database server from SQL 2000 to SQL 2005. After the update we have a report getting the following error.
Failed to retrieve data from the database.
Details: 22018:[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the varchar value '96.48' to data type int. [Database Vendor Code: 245]
The report contains 2 views with one join and worked fine previously. The field referenced by the error will display fine as long as there are no fields from the other view on the report. As soon as I add a field from the second view, no data is displayed. I have not created any conversion to integer within the Crystal report for any field. Any help getting this to work again would be greatly appreciated.Hi,
What steps did you perform before upgrading? dont update. Try to back-up all your database and restore to SQL Server 2005 manually lets see if it have problems, seems to me a conflict datatypes.
Regards,
Clint
Maybe you are looking for
-
I bought music from iTunes and downloaded it to my iPad. I have enabled iTunes Match on my PC (where most of my music is stored). When I turned on iTunes Match on iPad it said "iTunes Match will replace the music library" on my iPad. All of my iPad m
-
High light and underline won't work
please help me me figure this out! The underline, highlight, and strike through features in edit mode won't work for me.... does anyone know the cause or solution to this issue?
-
I have a component like the following and it completely crashes the design view in flex builder
I have a component like the following and it completely crashes the design view in flex builder.I can see anything in the layout. Everything compliles fine and looks normal in the outline view. Any ideas whats wrong. If I remove the AdvancedDataGridC
-
Question about 4500X VSS management port
I have two standalone 4500X switches that I'm planning to convert to VSS. If I cable the management port on both switches to a management cloud, which management port should I put the management IP address? Is it the port on the active switch? if the
-
Regarding setCurrent method in j2me..
Hai all, I have created three classes like LoginScreen, TextBox and Button. These three classes are extends by Canvas.In LoginScreen class itself i drawn some images,Textbox class itself i drawn some Boxes and Button class itself drawn some butons. W