Informatica工作流MS SQL SERVER数据源和目标失败,错误RR_4036“未找到数据源名称,未指定默认驱动程序”

问题描述

我安装了Windows 64位和32位informatica客户端,因此我使用32位ODBC管理员使用驱动程序本机客户端“ sql server”添加了DSN条目,以连接到另一台PC上的Mssql 2008 R2数据库。我在系统DSN选项卡中添加一个条目,因为informatica服务正在使用系统帐户。当我必须使用ODBC DSN 32位“ TARGET_DB_sciolto”(请参见下面的odbc.ini)条目在informatica中导入源和目标时,没有问题。我建立了映射,并在工作流会话属性中建立了比从mssql服务器更改为ODBC的连接。 worflow失败并出现相同的RR_4036错误。我认为我唯一要做的就是修改ODBC.ini文件,因为我读到我必须添加“ enablequotedidentifiers = 1”,所以我打开文件希望看到很多内容条目,但我只看到以下几行,不知道该怎么办,如果有人能提供帮助,我将不胜感激:

[ODBC 32 bit Data Sources]
test_infa=sql Server Native Client 10.0 (32 bit)
TARGET_DB_sciolto=sql Server (32 bit)
Target_DB=sql Server (32 bit)
[test_infa]
Driver32=C:\WINDOWS\SysWOW64\sqlncli10.dll
[TARGET_DB_sciolto]
Driver32=C:\WINDOWS\system32\sqlSRV32.dll
[Target_DB]
Driver32=C:\WINDOWS\system32\sqlSRV32.dll

解决方法

您需要使用很多参数进行设置。请确保您以以下格式添加连接信息。请至少提及主机,端口,数据库。还要确保informatica机器可以访问datbase。

[TARGET_DB_sciolto]
Driver32=C:\WINDOWS\system32\SQLSRV32.dll
Description=DataDirect 7.1 SQL Server Wire Protocol
AlternateServers=
AlwaysReportTriggerResults=0
AnsiNPW=1
ApplicationName=
ApplicationUsingThreads=1
AuthenticationMethod=1
BulkBinaryThreshold=32
BulkCharacterThreshold=-1
BulkLoadBatchSize=1024
BulkLoadOptions=2
ConnectionReset=0
ConnectionRetryCount=0
ConnectionRetryDelay=3
Database=<database_name>
EnableBulkLoad=0
EnableQuotedIdentifiers=0
EncryptionMethod=0
FailoverGranularity=0
FailoverMode=0
FailoverPreconnect=0
FetchTSWTZasTimestamp=0
FetchTWFSasTime=1
GSSClient=native
HostName=<SQL_Server_host>
HostNameInCertificate=
InitializationString=
Language=
LoadBalanceTimeout=0
LoadBalancing=0
LoginTimeout=15
LogonID=
MaxPoolSize=100
MinPoolSize=0
PacketSize=-1
Password=
Pooling=0
PortNumber=<SQL_Server_server_port>
QueryTimeout=0
ReportCodePageConversionErrors=0
SnapshotSerializable=0
TrustStore=
TrustStorePassword=
ValidateServerCertificate=1
WorkStationID=
XML Describe Type=-10